@superfluid-finance/sdk-core 0.1.1-dev.8caff13.0 → 0.1.1-dev.b8d3bbf.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 (440) hide show
  1. package/README.md +37 -11
  2. package/dist/index.umd.js +45852 -0
  3. package/dist/main/BatchCall.d.ts +1 -0
  4. package/dist/main/BatchCall.d.ts.map +1 -0
  5. package/dist/main/BatchCall.js +128 -0
  6. package/dist/main/BatchCall.js.map +1 -0
  7. package/dist/main/ConstantFlowAgreementV1.d.ts +7 -3
  8. package/dist/main/ConstantFlowAgreementV1.d.ts.map +1 -0
  9. package/dist/main/ConstantFlowAgreementV1.js +178 -0
  10. package/dist/main/ConstantFlowAgreementV1.js.map +1 -0
  11. package/dist/main/Framework.d.ts +7 -2
  12. package/dist/main/Framework.d.ts.map +1 -0
  13. package/dist/main/Framework.js +177 -0
  14. package/dist/main/Framework.js.map +1 -0
  15. package/dist/main/Host.d.ts +6 -1
  16. package/dist/main/Host.d.ts.map +1 -0
  17. package/dist/main/Host.js +31 -0
  18. package/dist/main/Host.js.map +1 -0
  19. package/dist/main/InstantDistributionAgreementV1.d.ts +18 -9
  20. package/dist/main/InstantDistributionAgreementV1.d.ts.map +1 -0
  21. package/dist/main/InstantDistributionAgreementV1.js +249 -0
  22. package/dist/main/InstantDistributionAgreementV1.js.map +1 -0
  23. package/dist/main/Operation.d.ts +1 -0
  24. package/dist/main/Operation.d.ts.map +1 -0
  25. package/dist/main/Operation.js +86 -0
  26. package/dist/main/Operation.js.map +1 -0
  27. package/dist/main/Query.d.ts +1 -0
  28. package/dist/main/Query.d.ts.map +1 -0
  29. package/dist/main/Query.js +310 -0
  30. package/dist/main/Query.js.map +1 -0
  31. package/dist/main/SFError.d.ts +1 -0
  32. package/dist/main/SFError.d.ts.map +1 -0
  33. package/dist/main/SFError.js +36 -0
  34. package/dist/main/SFError.js.map +1 -0
  35. package/dist/main/SuperToken.d.ts +34 -14
  36. package/dist/main/SuperToken.d.ts.map +1 -0
  37. package/dist/main/SuperToken.js +396 -0
  38. package/dist/main/SuperToken.js.map +1 -0
  39. package/dist/main/Token.d.ts +7 -3
  40. package/dist/main/Token.d.ts.map +1 -0
  41. package/dist/main/Token.js +166 -0
  42. package/dist/main/Token.js.map +1 -0
  43. package/dist/main/abi/ERC20WithTokenInfo.json +224 -0
  44. package/dist/main/abi/IConstantFlowAgreementV1.json +406 -0
  45. package/dist/main/abi/IInstantDistributionAgreementV1.json +947 -0
  46. package/dist/main/abi/IResolver.json +58 -0
  47. package/dist/main/abi/SuperToken.json +1549 -0
  48. package/dist/main/abi/Superfluid.json +1159 -0
  49. package/dist/main/abi/SuperfluidLoader.json +54 -0
  50. package/dist/main/constants.d.ts +2 -1
  51. package/dist/main/constants.d.ts.map +1 -0
  52. package/dist/main/constants.js +134 -0
  53. package/dist/main/constants.js.map +1 -0
  54. package/dist/main/events.d.ts +1 -0
  55. package/dist/main/events.d.ts.map +1 -0
  56. package/dist/main/events.js +3 -0
  57. package/dist/main/events.js.map +1 -0
  58. package/dist/main/frameworkHelpers.d.ts +1 -0
  59. package/dist/main/frameworkHelpers.d.ts.map +1 -0
  60. package/dist/main/frameworkHelpers.js +89 -0
  61. package/dist/main/frameworkHelpers.js.map +1 -0
  62. package/dist/main/index.d.ts +6 -0
  63. package/dist/main/index.d.ts.map +1 -0
  64. package/dist/main/index.js +38 -7597
  65. package/dist/main/index.js.map +1 -0
  66. package/dist/main/interfaces.d.ts +100 -10
  67. package/dist/main/interfaces.d.ts.map +1 -0
  68. package/dist/main/interfaces.js +3 -0
  69. package/dist/main/interfaces.js.map +1 -0
  70. package/dist/main/mapGetAllEventsQueryEvents.d.ts +1 -0
  71. package/dist/main/mapGetAllEventsQueryEvents.d.ts.map +1 -0
  72. package/dist/main/mapGetAllEventsQueryEvents.js +432 -0
  73. package/dist/main/mapGetAllEventsQueryEvents.js.map +1 -0
  74. package/dist/main/ordering.d.ts +1 -0
  75. package/dist/main/ordering.d.ts.map +1 -0
  76. package/dist/main/ordering.js +3 -0
  77. package/dist/main/ordering.js.map +1 -0
  78. package/dist/main/pagination.d.ts +1 -0
  79. package/dist/main/pagination.d.ts.map +1 -0
  80. package/dist/main/pagination.js +60 -0
  81. package/dist/main/pagination.js.map +1 -0
  82. package/dist/main/subgraph/SubgraphClient.d.ts +1 -0
  83. package/dist/main/subgraph/SubgraphClient.d.ts.map +1 -0
  84. package/dist/main/subgraph/SubgraphClient.js +51 -0
  85. package/dist/main/subgraph/SubgraphClient.js.map +1 -0
  86. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.d.ts +1 -0
  87. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.d.ts.map +1 -0
  88. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.js +5 -0
  89. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.js.map +1 -0
  90. package/dist/main/subgraph/queries/getAllEvents.generated.d.ts +1 -0
  91. package/dist/main/subgraph/queries/getAllEvents.generated.d.ts.map +1 -0
  92. package/dist/main/subgraph/queries/getAllEvents.generated.js +6 -0
  93. package/dist/main/subgraph/queries/getAllEvents.generated.js.map +1 -0
  94. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.d.ts +1 -0
  95. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.d.ts.map +1 -0
  96. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.js +5 -0
  97. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.js.map +1 -0
  98. package/dist/main/subgraph/queries/getIndexes.generated.d.ts +1 -0
  99. package/dist/main/subgraph/queries/getIndexes.generated.d.ts.map +1 -0
  100. package/dist/main/subgraph/queries/getIndexes.generated.js +5 -0
  101. package/dist/main/subgraph/queries/getIndexes.generated.js.map +1 -0
  102. package/dist/main/subgraph/queries/getStreams.generated.d.ts +1 -0
  103. package/dist/main/subgraph/queries/getStreams.generated.d.ts.map +1 -0
  104. package/dist/main/subgraph/queries/getStreams.generated.js +5 -0
  105. package/dist/main/subgraph/queries/getStreams.generated.js.map +1 -0
  106. package/dist/main/subgraph/queries/getTokens.generated.d.ts +1 -0
  107. package/dist/main/subgraph/queries/getTokens.generated.d.ts.map +1 -0
  108. package/dist/main/subgraph/queries/getTokens.generated.js +5 -0
  109. package/dist/main/subgraph/queries/getTokens.generated.js.map +1 -0
  110. package/dist/main/subgraph/schema.generated.d.ts +1 -0
  111. package/dist/main/subgraph/schema.generated.d.ts.map +1 -0
  112. package/dist/main/subgraph/schema.generated.js +3 -0
  113. package/dist/main/subgraph/schema.generated.js.map +1 -0
  114. package/dist/main/typechain/ERC20WithTokenInfo.d.ts +1 -0
  115. package/dist/main/typechain/ERC20WithTokenInfo.d.ts.map +1 -0
  116. package/dist/main/typechain/ERC20WithTokenInfo.js +3 -0
  117. package/dist/main/typechain/ERC20WithTokenInfo.js.map +1 -0
  118. package/dist/main/typechain/IConstantFlowAgreementV1.d.ts +1 -0
  119. package/dist/main/typechain/IConstantFlowAgreementV1.d.ts.map +1 -0
  120. package/dist/main/typechain/IConstantFlowAgreementV1.js +3 -0
  121. package/dist/main/typechain/IConstantFlowAgreementV1.js.map +1 -0
  122. package/dist/main/typechain/IInstantDistributionAgreementV1.d.ts +1 -0
  123. package/dist/main/typechain/IInstantDistributionAgreementV1.d.ts.map +1 -0
  124. package/dist/main/typechain/IInstantDistributionAgreementV1.js +3 -0
  125. package/dist/main/typechain/IInstantDistributionAgreementV1.js.map +1 -0
  126. package/dist/main/typechain/IResolver.d.ts +7 -6
  127. package/dist/main/typechain/IResolver.d.ts.map +1 -0
  128. package/dist/main/typechain/IResolver.js +3 -0
  129. package/dist/main/typechain/IResolver.js.map +1 -0
  130. package/dist/main/typechain/SuperToken.d.ts +1 -0
  131. package/dist/main/typechain/SuperToken.d.ts.map +1 -0
  132. package/dist/main/typechain/SuperToken.js +3 -0
  133. package/dist/main/typechain/SuperToken.js.map +1 -0
  134. package/dist/main/typechain/Superfluid.d.ts +1 -0
  135. package/dist/main/typechain/Superfluid.d.ts.map +1 -0
  136. package/dist/main/typechain/Superfluid.js +3 -0
  137. package/dist/main/typechain/Superfluid.js.map +1 -0
  138. package/dist/main/typechain/SuperfluidLoader.d.ts +1 -0
  139. package/dist/main/typechain/SuperfluidLoader.d.ts.map +1 -0
  140. package/dist/main/typechain/SuperfluidLoader.js +3 -0
  141. package/dist/main/typechain/SuperfluidLoader.js.map +1 -0
  142. package/dist/main/typechain/TestToken.d.ts +1 -0
  143. package/dist/main/typechain/TestToken.d.ts.map +1 -0
  144. package/dist/main/typechain/TestToken.js +3 -0
  145. package/dist/main/typechain/TestToken.js.map +1 -0
  146. package/dist/main/typechain/common.d.ts +1 -0
  147. package/dist/main/typechain/common.d.ts.map +1 -0
  148. package/dist/main/typechain/common.js +3 -0
  149. package/dist/main/typechain/common.js.map +1 -0
  150. package/dist/main/typechain/factories/ERC20WithTokenInfo__factory.d.ts +1 -0
  151. package/dist/main/typechain/factories/ERC20WithTokenInfo__factory.d.ts.map +1 -0
  152. package/dist/main/typechain/factories/ERC20WithTokenInfo__factory.js +242 -0
  153. package/dist/main/typechain/factories/ERC20WithTokenInfo__factory.js.map +1 -0
  154. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.d.ts +1 -0
  155. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.d.ts.map +1 -0
  156. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.js +424 -0
  157. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.js.map +1 -0
  158. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts +1 -0
  159. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts.map +1 -0
  160. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.js +965 -0
  161. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.js.map +1 -0
  162. package/dist/main/typechain/factories/IResolver__factory.d.ts +1 -0
  163. package/dist/main/typechain/factories/IResolver__factory.d.ts.map +1 -0
  164. package/dist/main/typechain/factories/IResolver__factory.js +76 -0
  165. package/dist/main/typechain/factories/IResolver__factory.js.map +1 -0
  166. package/dist/main/typechain/factories/SuperToken__factory.d.ts +1 -0
  167. package/dist/main/typechain/factories/SuperToken__factory.d.ts.map +1 -0
  168. package/dist/main/typechain/factories/SuperToken__factory.js +1567 -0
  169. package/dist/main/typechain/factories/SuperToken__factory.js.map +1 -0
  170. package/dist/main/typechain/factories/SuperfluidLoader__factory.d.ts +1 -0
  171. package/dist/main/typechain/factories/SuperfluidLoader__factory.d.ts.map +1 -0
  172. package/dist/main/typechain/factories/SuperfluidLoader__factory.js +72 -0
  173. package/dist/main/typechain/factories/SuperfluidLoader__factory.js.map +1 -0
  174. package/dist/main/typechain/factories/Superfluid__factory.d.ts +1 -0
  175. package/dist/main/typechain/factories/Superfluid__factory.d.ts.map +1 -0
  176. package/dist/main/typechain/factories/Superfluid__factory.js +1177 -0
  177. package/dist/main/typechain/factories/Superfluid__factory.js.map +1 -0
  178. package/dist/main/typechain/factories/TestToken__factory.d.ts +1 -0
  179. package/dist/main/typechain/factories/TestToken__factory.d.ts.map +1 -0
  180. package/dist/main/typechain/factories/TestToken__factory.js +348 -0
  181. package/dist/main/typechain/factories/TestToken__factory.js.map +1 -0
  182. package/dist/main/typechain/index.d.ts +1 -0
  183. package/dist/main/typechain/index.d.ts.map +1 -0
  184. package/dist/main/typechain/index.js +20 -0
  185. package/dist/main/typechain/index.js.map +1 -0
  186. package/dist/main/types.d.ts +1 -0
  187. package/dist/main/types.d.ts.map +1 -0
  188. package/dist/main/types.js +3 -0
  189. package/dist/main/types.js.map +1 -0
  190. package/dist/main/utils.d.ts +6 -0
  191. package/dist/main/utils.d.ts.map +1 -0
  192. package/dist/main/utils.js +178 -0
  193. package/dist/main/utils.js.map +1 -0
  194. package/dist/main/validation.d.ts +1 -0
  195. package/dist/main/validation.d.ts.map +1 -0
  196. package/dist/main/validation.js +98 -0
  197. package/dist/main/validation.js.map +1 -0
  198. package/dist/module/BatchCall.d.ts +1 -0
  199. package/dist/module/BatchCall.d.ts.map +1 -0
  200. package/dist/module/BatchCall.js +122 -0
  201. package/dist/module/BatchCall.js.map +1 -0
  202. package/dist/module/ConstantFlowAgreementV1.d.ts +7 -3
  203. package/dist/module/ConstantFlowAgreementV1.d.ts.map +1 -0
  204. package/dist/module/ConstantFlowAgreementV1.js +172 -0
  205. package/dist/module/ConstantFlowAgreementV1.js.map +1 -0
  206. package/dist/module/Framework.d.ts +7 -2
  207. package/dist/module/Framework.d.ts.map +1 -0
  208. package/dist/module/Framework.js +171 -0
  209. package/dist/module/Framework.js.map +1 -0
  210. package/dist/module/Host.d.ts +6 -1
  211. package/dist/module/Host.d.ts.map +1 -0
  212. package/dist/module/Host.js +25 -0
  213. package/dist/module/Host.js.map +1 -0
  214. package/dist/module/InstantDistributionAgreementV1.d.ts +18 -9
  215. package/dist/module/InstantDistributionAgreementV1.d.ts.map +1 -0
  216. package/dist/module/InstantDistributionAgreementV1.js +243 -0
  217. package/dist/module/InstantDistributionAgreementV1.js.map +1 -0
  218. package/dist/module/Operation.d.ts +1 -0
  219. package/dist/module/Operation.d.ts.map +1 -0
  220. package/dist/module/Operation.js +80 -0
  221. package/dist/module/Operation.js.map +1 -0
  222. package/dist/module/Query.d.ts +1 -0
  223. package/dist/module/Query.d.ts.map +1 -0
  224. package/dist/module/Query.js +304 -0
  225. package/dist/module/Query.js.map +1 -0
  226. package/dist/module/SFError.d.ts +1 -0
  227. package/dist/module/SFError.d.ts.map +1 -0
  228. package/dist/module/SFError.js +33 -0
  229. package/dist/module/SFError.js.map +1 -0
  230. package/dist/module/SuperToken.d.ts +34 -14
  231. package/dist/module/SuperToken.d.ts.map +1 -0
  232. package/dist/module/SuperToken.js +390 -0
  233. package/dist/module/SuperToken.js.map +1 -0
  234. package/dist/module/Token.d.ts +7 -3
  235. package/dist/module/Token.d.ts.map +1 -0
  236. package/dist/module/Token.js +160 -0
  237. package/dist/module/Token.js.map +1 -0
  238. package/dist/module/abi/ERC20WithTokenInfo.json +224 -0
  239. package/dist/module/abi/IConstantFlowAgreementV1.json +406 -0
  240. package/dist/module/abi/IInstantDistributionAgreementV1.json +947 -0
  241. package/dist/module/abi/IResolver.json +58 -0
  242. package/dist/module/abi/SuperToken.json +1549 -0
  243. package/dist/module/abi/Superfluid.json +1159 -0
  244. package/dist/module/abi/SuperfluidLoader.json +54 -0
  245. package/dist/module/constants.d.ts +2 -1
  246. package/dist/module/constants.d.ts.map +1 -0
  247. package/dist/module/constants.js +131 -0
  248. package/dist/module/constants.js.map +1 -0
  249. package/dist/module/events.d.ts +1 -0
  250. package/dist/module/events.d.ts.map +1 -0
  251. package/dist/module/events.js +2 -0
  252. package/dist/module/events.js.map +1 -0
  253. package/dist/module/frameworkHelpers.d.ts +1 -0
  254. package/dist/module/frameworkHelpers.d.ts.map +1 -0
  255. package/dist/module/frameworkHelpers.js +80 -0
  256. package/dist/module/frameworkHelpers.js.map +1 -0
  257. package/dist/module/index.d.ts +6 -0
  258. package/dist/module/index.d.ts.map +1 -0
  259. package/dist/module/index.js +25 -7561
  260. package/dist/module/index.js.map +1 -0
  261. package/dist/module/interfaces.d.ts +100 -10
  262. package/dist/module/interfaces.d.ts.map +1 -0
  263. package/dist/module/interfaces.js +2 -0
  264. package/dist/module/interfaces.js.map +1 -0
  265. package/dist/module/mapGetAllEventsQueryEvents.d.ts +1 -0
  266. package/dist/module/mapGetAllEventsQueryEvents.d.ts.map +1 -0
  267. package/dist/module/mapGetAllEventsQueryEvents.js +428 -0
  268. package/dist/module/mapGetAllEventsQueryEvents.js.map +1 -0
  269. package/dist/module/ordering.d.ts +1 -0
  270. package/dist/module/ordering.d.ts.map +1 -0
  271. package/dist/module/ordering.js +2 -0
  272. package/dist/module/ordering.js.map +1 -0
  273. package/dist/module/pagination.d.ts +1 -0
  274. package/dist/module/pagination.d.ts.map +1 -0
  275. package/dist/module/pagination.js +51 -0
  276. package/dist/module/pagination.js.map +1 -0
  277. package/dist/module/subgraph/SubgraphClient.d.ts +1 -0
  278. package/dist/module/subgraph/SubgraphClient.d.ts.map +1 -0
  279. package/dist/module/subgraph/SubgraphClient.js +44 -0
  280. package/dist/module/subgraph/SubgraphClient.js.map +1 -0
  281. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.d.ts +1 -0
  282. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.d.ts.map +1 -0
  283. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.js +2 -0
  284. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.js.map +1 -0
  285. package/dist/module/subgraph/queries/getAllEvents.generated.d.ts +1 -0
  286. package/dist/module/subgraph/queries/getAllEvents.generated.d.ts.map +1 -0
  287. package/dist/module/subgraph/queries/getAllEvents.generated.js +3 -0
  288. package/dist/module/subgraph/queries/getAllEvents.generated.js.map +1 -0
  289. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.d.ts +1 -0
  290. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.d.ts.map +1 -0
  291. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.js +2 -0
  292. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.js.map +1 -0
  293. package/dist/module/subgraph/queries/getIndexes.generated.d.ts +1 -0
  294. package/dist/module/subgraph/queries/getIndexes.generated.d.ts.map +1 -0
  295. package/dist/module/subgraph/queries/getIndexes.generated.js +2 -0
  296. package/dist/module/subgraph/queries/getIndexes.generated.js.map +1 -0
  297. package/dist/module/subgraph/queries/getStreams.generated.d.ts +1 -0
  298. package/dist/module/subgraph/queries/getStreams.generated.d.ts.map +1 -0
  299. package/dist/module/subgraph/queries/getStreams.generated.js +2 -0
  300. package/dist/module/subgraph/queries/getStreams.generated.js.map +1 -0
  301. package/dist/module/subgraph/queries/getTokens.generated.d.ts +1 -0
  302. package/dist/module/subgraph/queries/getTokens.generated.d.ts.map +1 -0
  303. package/dist/module/subgraph/queries/getTokens.generated.js +2 -0
  304. package/dist/module/subgraph/queries/getTokens.generated.js.map +1 -0
  305. package/dist/module/subgraph/schema.generated.d.ts +1 -0
  306. package/dist/module/subgraph/schema.generated.d.ts.map +1 -0
  307. package/dist/module/subgraph/schema.generated.js +2 -0
  308. package/dist/module/subgraph/schema.generated.js.map +1 -0
  309. package/dist/module/typechain/ERC20WithTokenInfo.d.ts +1 -0
  310. package/dist/module/typechain/ERC20WithTokenInfo.d.ts.map +1 -0
  311. package/dist/module/typechain/ERC20WithTokenInfo.js +2 -0
  312. package/dist/module/typechain/ERC20WithTokenInfo.js.map +1 -0
  313. package/dist/module/typechain/IConstantFlowAgreementV1.d.ts +1 -0
  314. package/dist/module/typechain/IConstantFlowAgreementV1.d.ts.map +1 -0
  315. package/dist/module/typechain/IConstantFlowAgreementV1.js +2 -0
  316. package/dist/module/typechain/IConstantFlowAgreementV1.js.map +1 -0
  317. package/dist/module/typechain/IInstantDistributionAgreementV1.d.ts +1 -0
  318. package/dist/module/typechain/IInstantDistributionAgreementV1.d.ts.map +1 -0
  319. package/dist/module/typechain/IInstantDistributionAgreementV1.js +2 -0
  320. package/dist/module/typechain/IInstantDistributionAgreementV1.js.map +1 -0
  321. package/dist/module/typechain/IResolver.d.ts +7 -6
  322. package/dist/module/typechain/IResolver.d.ts.map +1 -0
  323. package/dist/module/typechain/IResolver.js +2 -0
  324. package/dist/module/typechain/IResolver.js.map +1 -0
  325. package/dist/module/typechain/SuperToken.d.ts +1 -0
  326. package/dist/module/typechain/SuperToken.d.ts.map +1 -0
  327. package/dist/module/typechain/SuperToken.js +2 -0
  328. package/dist/module/typechain/SuperToken.js.map +1 -0
  329. package/dist/module/typechain/Superfluid.d.ts +1 -0
  330. package/dist/module/typechain/Superfluid.d.ts.map +1 -0
  331. package/dist/module/typechain/Superfluid.js +2 -0
  332. package/dist/module/typechain/Superfluid.js.map +1 -0
  333. package/dist/module/typechain/SuperfluidLoader.d.ts +1 -0
  334. package/dist/module/typechain/SuperfluidLoader.d.ts.map +1 -0
  335. package/dist/module/typechain/SuperfluidLoader.js +2 -0
  336. package/dist/module/typechain/SuperfluidLoader.js.map +1 -0
  337. package/dist/module/typechain/TestToken.d.ts +1 -0
  338. package/dist/module/typechain/TestToken.d.ts.map +1 -0
  339. package/dist/module/typechain/TestToken.js +2 -0
  340. package/dist/module/typechain/TestToken.js.map +1 -0
  341. package/dist/module/typechain/common.d.ts +1 -0
  342. package/dist/module/typechain/common.d.ts.map +1 -0
  343. package/dist/module/typechain/common.js +2 -0
  344. package/dist/module/typechain/common.js.map +1 -0
  345. package/dist/module/typechain/factories/ERC20WithTokenInfo__factory.d.ts +1 -0
  346. package/dist/module/typechain/factories/ERC20WithTokenInfo__factory.d.ts.map +1 -0
  347. package/dist/module/typechain/factories/ERC20WithTokenInfo__factory.js +238 -0
  348. package/dist/module/typechain/factories/ERC20WithTokenInfo__factory.js.map +1 -0
  349. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.d.ts +1 -0
  350. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.d.ts.map +1 -0
  351. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.js +420 -0
  352. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.js.map +1 -0
  353. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts +1 -0
  354. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts.map +1 -0
  355. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.js +961 -0
  356. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.js.map +1 -0
  357. package/dist/module/typechain/factories/IResolver__factory.d.ts +1 -0
  358. package/dist/module/typechain/factories/IResolver__factory.d.ts.map +1 -0
  359. package/dist/module/typechain/factories/IResolver__factory.js +72 -0
  360. package/dist/module/typechain/factories/IResolver__factory.js.map +1 -0
  361. package/dist/module/typechain/factories/SuperToken__factory.d.ts +1 -0
  362. package/dist/module/typechain/factories/SuperToken__factory.d.ts.map +1 -0
  363. package/dist/module/typechain/factories/SuperToken__factory.js +1563 -0
  364. package/dist/module/typechain/factories/SuperToken__factory.js.map +1 -0
  365. package/dist/module/typechain/factories/SuperfluidLoader__factory.d.ts +1 -0
  366. package/dist/module/typechain/factories/SuperfluidLoader__factory.d.ts.map +1 -0
  367. package/dist/module/typechain/factories/SuperfluidLoader__factory.js +68 -0
  368. package/dist/module/typechain/factories/SuperfluidLoader__factory.js.map +1 -0
  369. package/dist/module/typechain/factories/Superfluid__factory.d.ts +1 -0
  370. package/dist/module/typechain/factories/Superfluid__factory.d.ts.map +1 -0
  371. package/dist/module/typechain/factories/Superfluid__factory.js +1173 -0
  372. package/dist/module/typechain/factories/Superfluid__factory.js.map +1 -0
  373. package/dist/module/typechain/factories/TestToken__factory.d.ts +1 -0
  374. package/dist/module/typechain/factories/TestToken__factory.d.ts.map +1 -0
  375. package/dist/module/typechain/factories/TestToken__factory.js +344 -0
  376. package/dist/module/typechain/factories/TestToken__factory.js.map +1 -0
  377. package/dist/module/typechain/index.d.ts +1 -0
  378. package/dist/module/typechain/index.d.ts.map +1 -0
  379. package/dist/{umd/typechain/index.d.ts → module/typechain/index.js} +1 -8
  380. package/dist/module/typechain/index.js.map +1 -0
  381. package/dist/module/types.d.ts +1 -0
  382. package/dist/module/types.d.ts.map +1 -0
  383. package/dist/module/types.js +2 -0
  384. package/dist/module/types.js.map +1 -0
  385. package/dist/module/utils.d.ts +6 -0
  386. package/dist/module/utils.d.ts.map +1 -0
  387. package/dist/module/utils.js +153 -0
  388. package/dist/module/utils.js.map +1 -0
  389. package/dist/module/validation.d.ts +1 -0
  390. package/dist/module/validation.d.ts.map +1 -0
  391. package/dist/module/validation.js +92 -0
  392. package/dist/module/validation.js.map +1 -0
  393. package/package.json +29 -15
  394. package/dist/umd/BatchCall.d.ts +0 -53
  395. package/dist/umd/ConstantFlowAgreementV1.d.ts +0 -74
  396. package/dist/umd/Framework.d.ts +0 -75
  397. package/dist/umd/Host.d.ts +0 -18
  398. package/dist/umd/InstantDistributionAgreementV1.d.ts +0 -107
  399. package/dist/umd/Operation.d.ts +0 -38
  400. package/dist/umd/Query.d.ts +0 -31
  401. package/dist/umd/SFError.d.ts +0 -13
  402. package/dist/umd/SuperToken.d.ts +0 -191
  403. package/dist/umd/Token.d.ts +0 -76
  404. package/dist/umd/constants.d.ts +0 -17
  405. package/dist/umd/events.d.ts +0 -255
  406. package/dist/umd/frameworkHelpers.d.ts +0 -20
  407. package/dist/umd/index.d.ts +0 -19
  408. package/dist/umd/index.js +0 -7599
  409. package/dist/umd/interfaces.d.ts +0 -304
  410. package/dist/umd/mapGetAllEventsQueryEvents.d.ts +0 -3
  411. package/dist/umd/ordering.d.ts +0 -13
  412. package/dist/umd/pagination.d.ts +0 -65
  413. package/dist/umd/subgraph/SubgraphClient.d.ts +0 -16
  414. package/dist/umd/subgraph/queries/getAccountTokenSnapshots.generated.d.ts +0 -45
  415. package/dist/umd/subgraph/queries/getAllEvents.generated.d.ts +0 -651
  416. package/dist/umd/subgraph/queries/getIndexSubscriptions.generated.d.ts +0 -46
  417. package/dist/umd/subgraph/queries/getIndexes.generated.d.ts +0 -44
  418. package/dist/umd/subgraph/queries/getStreams.generated.d.ts +0 -58
  419. package/dist/umd/subgraph/queries/getTokens.generated.d.ts +0 -27
  420. package/dist/umd/subgraph/schema.generated.d.ts +0 -6478
  421. package/dist/umd/typechain/ERC20WithTokenInfo.d.ts +0 -159
  422. package/dist/umd/typechain/IConstantFlowAgreementV1.d.ts +0 -305
  423. package/dist/umd/typechain/IInstantDistributionAgreementV1.d.ts +0 -585
  424. package/dist/umd/typechain/IResolver.d.ts +0 -71
  425. package/dist/umd/typechain/SuperToken.d.ts +0 -1011
  426. package/dist/umd/typechain/Superfluid.d.ts +0 -780
  427. package/dist/umd/typechain/SuperfluidLoader.d.ts +0 -55
  428. package/dist/umd/typechain/TestToken.d.ts +0 -215
  429. package/dist/umd/typechain/common.d.ts +0 -21
  430. package/dist/umd/typechain/factories/ERC20WithTokenInfo__factory.d.ts +0 -35
  431. package/dist/umd/typechain/factories/IConstantFlowAgreementV1__factory.d.ts +0 -35
  432. package/dist/umd/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts +0 -35
  433. package/dist/umd/typechain/factories/IResolver__factory.d.ts +0 -35
  434. package/dist/umd/typechain/factories/SuperToken__factory.d.ts +0 -46
  435. package/dist/umd/typechain/factories/SuperfluidLoader__factory.d.ts +0 -37
  436. package/dist/umd/typechain/factories/Superfluid__factory.d.ts +0 -82
  437. package/dist/umd/typechain/factories/TestToken__factory.d.ts +0 -46
  438. package/dist/umd/types.d.ts +0 -2
  439. package/dist/umd/utils.d.ts +0 -106
  440. package/dist/umd/validation.d.ts +0 -8
@@ -0,0 +1,1177 @@
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.Superfluid__factory = void 0;
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "bool",
13
+ name: "nonUpgradable",
14
+ type: "bool",
15
+ },
16
+ {
17
+ internalType: "bool",
18
+ name: "appWhiteListingEnabled",
19
+ type: "bool",
20
+ },
21
+ ],
22
+ stateMutability: "nonpayable",
23
+ type: "constructor",
24
+ },
25
+ {
26
+ anonymous: false,
27
+ inputs: [
28
+ {
29
+ indexed: false,
30
+ internalType: "bytes32",
31
+ name: "agreementType",
32
+ type: "bytes32",
33
+ },
34
+ {
35
+ indexed: false,
36
+ internalType: "address",
37
+ name: "code",
38
+ type: "address",
39
+ },
40
+ ],
41
+ name: "AgreementClassRegistered",
42
+ type: "event",
43
+ },
44
+ {
45
+ anonymous: false,
46
+ inputs: [
47
+ {
48
+ indexed: false,
49
+ internalType: "bytes32",
50
+ name: "agreementType",
51
+ type: "bytes32",
52
+ },
53
+ {
54
+ indexed: false,
55
+ internalType: "address",
56
+ name: "code",
57
+ type: "address",
58
+ },
59
+ ],
60
+ name: "AgreementClassUpdated",
61
+ type: "event",
62
+ },
63
+ {
64
+ anonymous: false,
65
+ inputs: [
66
+ {
67
+ indexed: true,
68
+ internalType: "contract ISuperApp",
69
+ name: "app",
70
+ type: "address",
71
+ },
72
+ ],
73
+ name: "AppRegistered",
74
+ type: "event",
75
+ },
76
+ {
77
+ anonymous: false,
78
+ inputs: [
79
+ {
80
+ indexed: false,
81
+ internalType: "bytes32",
82
+ name: "uuid",
83
+ type: "bytes32",
84
+ },
85
+ {
86
+ indexed: false,
87
+ internalType: "address",
88
+ name: "codeAddress",
89
+ type: "address",
90
+ },
91
+ ],
92
+ name: "CodeUpdated",
93
+ type: "event",
94
+ },
95
+ {
96
+ anonymous: false,
97
+ inputs: [
98
+ {
99
+ indexed: false,
100
+ internalType: "contract ISuperfluidGovernance",
101
+ name: "oldGov",
102
+ type: "address",
103
+ },
104
+ {
105
+ indexed: false,
106
+ internalType: "contract ISuperfluidGovernance",
107
+ name: "newGov",
108
+ type: "address",
109
+ },
110
+ ],
111
+ name: "GovernanceReplaced",
112
+ type: "event",
113
+ },
114
+ {
115
+ anonymous: false,
116
+ inputs: [
117
+ {
118
+ indexed: true,
119
+ internalType: "contract ISuperApp",
120
+ name: "app",
121
+ type: "address",
122
+ },
123
+ {
124
+ indexed: false,
125
+ internalType: "uint256",
126
+ name: "reason",
127
+ type: "uint256",
128
+ },
129
+ ],
130
+ name: "Jail",
131
+ type: "event",
132
+ },
133
+ {
134
+ anonymous: false,
135
+ inputs: [
136
+ {
137
+ indexed: false,
138
+ internalType: "contract ISuperTokenFactory",
139
+ name: "newFactory",
140
+ type: "address",
141
+ },
142
+ ],
143
+ name: "SuperTokenFactoryUpdated",
144
+ type: "event",
145
+ },
146
+ {
147
+ anonymous: false,
148
+ inputs: [
149
+ {
150
+ indexed: true,
151
+ internalType: "contract ISuperToken",
152
+ name: "token",
153
+ type: "address",
154
+ },
155
+ {
156
+ indexed: false,
157
+ internalType: "address",
158
+ name: "code",
159
+ type: "address",
160
+ },
161
+ ],
162
+ name: "SuperTokenLogicUpdated",
163
+ type: "event",
164
+ },
165
+ {
166
+ inputs: [],
167
+ name: "APP_WHITE_LISTING_ENABLED",
168
+ outputs: [
169
+ {
170
+ internalType: "bool",
171
+ name: "",
172
+ type: "bool",
173
+ },
174
+ ],
175
+ stateMutability: "view",
176
+ type: "function",
177
+ },
178
+ {
179
+ inputs: [],
180
+ name: "CALLBACK_GAS_LIMIT",
181
+ outputs: [
182
+ {
183
+ internalType: "uint64",
184
+ name: "",
185
+ type: "uint64",
186
+ },
187
+ ],
188
+ stateMutability: "view",
189
+ type: "function",
190
+ },
191
+ {
192
+ inputs: [],
193
+ name: "MAX_APP_LEVEL",
194
+ outputs: [
195
+ {
196
+ internalType: "uint256",
197
+ name: "",
198
+ type: "uint256",
199
+ },
200
+ ],
201
+ stateMutability: "view",
202
+ type: "function",
203
+ },
204
+ {
205
+ inputs: [],
206
+ name: "NON_UPGRADABLE_DEPLOYMENT",
207
+ outputs: [
208
+ {
209
+ internalType: "bool",
210
+ name: "",
211
+ type: "bool",
212
+ },
213
+ ],
214
+ stateMutability: "view",
215
+ type: "function",
216
+ },
217
+ {
218
+ inputs: [],
219
+ name: "getCodeAddress",
220
+ outputs: [
221
+ {
222
+ internalType: "address",
223
+ name: "codeAddress",
224
+ type: "address",
225
+ },
226
+ ],
227
+ stateMutability: "view",
228
+ type: "function",
229
+ },
230
+ {
231
+ inputs: [
232
+ {
233
+ internalType: "contract ISuperfluidGovernance",
234
+ name: "gov",
235
+ type: "address",
236
+ },
237
+ ],
238
+ name: "initialize",
239
+ outputs: [],
240
+ stateMutability: "nonpayable",
241
+ type: "function",
242
+ },
243
+ {
244
+ inputs: [],
245
+ name: "proxiableUUID",
246
+ outputs: [
247
+ {
248
+ internalType: "bytes32",
249
+ name: "",
250
+ type: "bytes32",
251
+ },
252
+ ],
253
+ stateMutability: "pure",
254
+ type: "function",
255
+ },
256
+ {
257
+ inputs: [
258
+ {
259
+ internalType: "address",
260
+ name: "newAddress",
261
+ type: "address",
262
+ },
263
+ ],
264
+ name: "updateCode",
265
+ outputs: [],
266
+ stateMutability: "nonpayable",
267
+ type: "function",
268
+ },
269
+ {
270
+ inputs: [],
271
+ name: "getGovernance",
272
+ outputs: [
273
+ {
274
+ internalType: "contract ISuperfluidGovernance",
275
+ name: "",
276
+ type: "address",
277
+ },
278
+ ],
279
+ stateMutability: "view",
280
+ type: "function",
281
+ },
282
+ {
283
+ inputs: [
284
+ {
285
+ internalType: "contract ISuperfluidGovernance",
286
+ name: "newGov",
287
+ type: "address",
288
+ },
289
+ ],
290
+ name: "replaceGovernance",
291
+ outputs: [],
292
+ stateMutability: "nonpayable",
293
+ type: "function",
294
+ },
295
+ {
296
+ inputs: [
297
+ {
298
+ internalType: "contract ISuperAgreement",
299
+ name: "agreementClassLogic",
300
+ type: "address",
301
+ },
302
+ ],
303
+ name: "registerAgreementClass",
304
+ outputs: [],
305
+ stateMutability: "nonpayable",
306
+ type: "function",
307
+ },
308
+ {
309
+ inputs: [
310
+ {
311
+ internalType: "contract ISuperAgreement",
312
+ name: "agreementClassLogic",
313
+ type: "address",
314
+ },
315
+ ],
316
+ name: "updateAgreementClass",
317
+ outputs: [],
318
+ stateMutability: "nonpayable",
319
+ type: "function",
320
+ },
321
+ {
322
+ inputs: [
323
+ {
324
+ internalType: "bytes32",
325
+ name: "agreementType",
326
+ type: "bytes32",
327
+ },
328
+ ],
329
+ name: "isAgreementTypeListed",
330
+ outputs: [
331
+ {
332
+ internalType: "bool",
333
+ name: "yes",
334
+ type: "bool",
335
+ },
336
+ ],
337
+ stateMutability: "view",
338
+ type: "function",
339
+ },
340
+ {
341
+ inputs: [
342
+ {
343
+ internalType: "contract ISuperAgreement",
344
+ name: "agreementClass",
345
+ type: "address",
346
+ },
347
+ ],
348
+ name: "isAgreementClassListed",
349
+ outputs: [
350
+ {
351
+ internalType: "bool",
352
+ name: "yes",
353
+ type: "bool",
354
+ },
355
+ ],
356
+ stateMutability: "view",
357
+ type: "function",
358
+ },
359
+ {
360
+ inputs: [
361
+ {
362
+ internalType: "bytes32",
363
+ name: "agreementType",
364
+ type: "bytes32",
365
+ },
366
+ ],
367
+ name: "getAgreementClass",
368
+ outputs: [
369
+ {
370
+ internalType: "contract ISuperAgreement",
371
+ name: "agreementClass",
372
+ type: "address",
373
+ },
374
+ ],
375
+ stateMutability: "view",
376
+ type: "function",
377
+ },
378
+ {
379
+ inputs: [
380
+ {
381
+ internalType: "uint256",
382
+ name: "bitmap",
383
+ type: "uint256",
384
+ },
385
+ ],
386
+ name: "mapAgreementClasses",
387
+ outputs: [
388
+ {
389
+ internalType: "contract ISuperAgreement[]",
390
+ name: "agreementClasses",
391
+ type: "address[]",
392
+ },
393
+ ],
394
+ stateMutability: "view",
395
+ type: "function",
396
+ },
397
+ {
398
+ inputs: [
399
+ {
400
+ internalType: "uint256",
401
+ name: "bitmap",
402
+ type: "uint256",
403
+ },
404
+ {
405
+ internalType: "bytes32",
406
+ name: "agreementType",
407
+ type: "bytes32",
408
+ },
409
+ ],
410
+ name: "addToAgreementClassesBitmap",
411
+ outputs: [
412
+ {
413
+ internalType: "uint256",
414
+ name: "newBitmap",
415
+ type: "uint256",
416
+ },
417
+ ],
418
+ stateMutability: "view",
419
+ type: "function",
420
+ },
421
+ {
422
+ inputs: [
423
+ {
424
+ internalType: "uint256",
425
+ name: "bitmap",
426
+ type: "uint256",
427
+ },
428
+ {
429
+ internalType: "bytes32",
430
+ name: "agreementType",
431
+ type: "bytes32",
432
+ },
433
+ ],
434
+ name: "removeFromAgreementClassesBitmap",
435
+ outputs: [
436
+ {
437
+ internalType: "uint256",
438
+ name: "newBitmap",
439
+ type: "uint256",
440
+ },
441
+ ],
442
+ stateMutability: "view",
443
+ type: "function",
444
+ },
445
+ {
446
+ inputs: [],
447
+ name: "getSuperTokenFactory",
448
+ outputs: [
449
+ {
450
+ internalType: "contract ISuperTokenFactory",
451
+ name: "factory",
452
+ type: "address",
453
+ },
454
+ ],
455
+ stateMutability: "view",
456
+ type: "function",
457
+ },
458
+ {
459
+ inputs: [],
460
+ name: "getSuperTokenFactoryLogic",
461
+ outputs: [
462
+ {
463
+ internalType: "address",
464
+ name: "logic",
465
+ type: "address",
466
+ },
467
+ ],
468
+ stateMutability: "view",
469
+ type: "function",
470
+ },
471
+ {
472
+ inputs: [
473
+ {
474
+ internalType: "contract ISuperTokenFactory",
475
+ name: "newFactory",
476
+ type: "address",
477
+ },
478
+ ],
479
+ name: "updateSuperTokenFactory",
480
+ outputs: [],
481
+ stateMutability: "nonpayable",
482
+ type: "function",
483
+ },
484
+ {
485
+ inputs: [
486
+ {
487
+ internalType: "contract ISuperToken",
488
+ name: "token",
489
+ type: "address",
490
+ },
491
+ ],
492
+ name: "updateSuperTokenLogic",
493
+ outputs: [],
494
+ stateMutability: "nonpayable",
495
+ type: "function",
496
+ },
497
+ {
498
+ inputs: [
499
+ {
500
+ internalType: "uint256",
501
+ name: "configWord",
502
+ type: "uint256",
503
+ },
504
+ ],
505
+ name: "registerApp",
506
+ outputs: [],
507
+ stateMutability: "nonpayable",
508
+ type: "function",
509
+ },
510
+ {
511
+ inputs: [
512
+ {
513
+ internalType: "uint256",
514
+ name: "configWord",
515
+ type: "uint256",
516
+ },
517
+ {
518
+ internalType: "string",
519
+ name: "registrationKey",
520
+ type: "string",
521
+ },
522
+ ],
523
+ name: "registerAppWithKey",
524
+ outputs: [],
525
+ stateMutability: "nonpayable",
526
+ type: "function",
527
+ },
528
+ {
529
+ inputs: [
530
+ {
531
+ internalType: "contract ISuperApp",
532
+ name: "app",
533
+ type: "address",
534
+ },
535
+ {
536
+ internalType: "uint256",
537
+ name: "configWord",
538
+ type: "uint256",
539
+ },
540
+ ],
541
+ name: "registerAppByFactory",
542
+ outputs: [],
543
+ stateMutability: "nonpayable",
544
+ type: "function",
545
+ },
546
+ {
547
+ inputs: [
548
+ {
549
+ internalType: "contract ISuperApp",
550
+ name: "app",
551
+ type: "address",
552
+ },
553
+ ],
554
+ name: "isApp",
555
+ outputs: [
556
+ {
557
+ internalType: "bool",
558
+ name: "",
559
+ type: "bool",
560
+ },
561
+ ],
562
+ stateMutability: "view",
563
+ type: "function",
564
+ },
565
+ {
566
+ inputs: [
567
+ {
568
+ internalType: "contract ISuperApp",
569
+ name: "appAddr",
570
+ type: "address",
571
+ },
572
+ ],
573
+ name: "getAppLevel",
574
+ outputs: [
575
+ {
576
+ internalType: "uint8",
577
+ name: "",
578
+ type: "uint8",
579
+ },
580
+ ],
581
+ stateMutability: "view",
582
+ type: "function",
583
+ },
584
+ {
585
+ inputs: [
586
+ {
587
+ internalType: "contract ISuperApp",
588
+ name: "app",
589
+ type: "address",
590
+ },
591
+ ],
592
+ name: "getAppManifest",
593
+ outputs: [
594
+ {
595
+ internalType: "bool",
596
+ name: "isSuperApp",
597
+ type: "bool",
598
+ },
599
+ {
600
+ internalType: "bool",
601
+ name: "isJailed",
602
+ type: "bool",
603
+ },
604
+ {
605
+ internalType: "uint256",
606
+ name: "noopMask",
607
+ type: "uint256",
608
+ },
609
+ ],
610
+ stateMutability: "view",
611
+ type: "function",
612
+ },
613
+ {
614
+ inputs: [
615
+ {
616
+ internalType: "contract ISuperApp",
617
+ name: "app",
618
+ type: "address",
619
+ },
620
+ ],
621
+ name: "isAppJailed",
622
+ outputs: [
623
+ {
624
+ internalType: "bool",
625
+ name: "",
626
+ type: "bool",
627
+ },
628
+ ],
629
+ stateMutability: "view",
630
+ type: "function",
631
+ },
632
+ {
633
+ inputs: [
634
+ {
635
+ internalType: "contract ISuperApp",
636
+ name: "targetApp",
637
+ type: "address",
638
+ },
639
+ ],
640
+ name: "allowCompositeApp",
641
+ outputs: [],
642
+ stateMutability: "nonpayable",
643
+ type: "function",
644
+ },
645
+ {
646
+ inputs: [
647
+ {
648
+ internalType: "contract ISuperApp",
649
+ name: "app",
650
+ type: "address",
651
+ },
652
+ {
653
+ internalType: "contract ISuperApp",
654
+ name: "targetApp",
655
+ type: "address",
656
+ },
657
+ ],
658
+ name: "isCompositeAppAllowed",
659
+ outputs: [
660
+ {
661
+ internalType: "bool",
662
+ name: "",
663
+ type: "bool",
664
+ },
665
+ ],
666
+ stateMutability: "view",
667
+ type: "function",
668
+ },
669
+ {
670
+ inputs: [
671
+ {
672
+ internalType: "contract ISuperApp",
673
+ name: "app",
674
+ type: "address",
675
+ },
676
+ {
677
+ internalType: "bytes",
678
+ name: "callData",
679
+ type: "bytes",
680
+ },
681
+ {
682
+ internalType: "bool",
683
+ name: "isTermination",
684
+ type: "bool",
685
+ },
686
+ {
687
+ internalType: "bytes",
688
+ name: "ctx",
689
+ type: "bytes",
690
+ },
691
+ ],
692
+ name: "callAppBeforeCallback",
693
+ outputs: [
694
+ {
695
+ internalType: "bytes",
696
+ name: "cbdata",
697
+ type: "bytes",
698
+ },
699
+ ],
700
+ stateMutability: "nonpayable",
701
+ type: "function",
702
+ },
703
+ {
704
+ inputs: [
705
+ {
706
+ internalType: "contract ISuperApp",
707
+ name: "app",
708
+ type: "address",
709
+ },
710
+ {
711
+ internalType: "bytes",
712
+ name: "callData",
713
+ type: "bytes",
714
+ },
715
+ {
716
+ internalType: "bool",
717
+ name: "isTermination",
718
+ type: "bool",
719
+ },
720
+ {
721
+ internalType: "bytes",
722
+ name: "ctx",
723
+ type: "bytes",
724
+ },
725
+ ],
726
+ name: "callAppAfterCallback",
727
+ outputs: [
728
+ {
729
+ internalType: "bytes",
730
+ name: "newCtx",
731
+ type: "bytes",
732
+ },
733
+ ],
734
+ stateMutability: "nonpayable",
735
+ type: "function",
736
+ },
737
+ {
738
+ inputs: [
739
+ {
740
+ internalType: "bytes",
741
+ name: "ctx",
742
+ type: "bytes",
743
+ },
744
+ {
745
+ internalType: "contract ISuperApp",
746
+ name: "app",
747
+ type: "address",
748
+ },
749
+ {
750
+ internalType: "uint256",
751
+ name: "appAllowanceGranted",
752
+ type: "uint256",
753
+ },
754
+ {
755
+ internalType: "int256",
756
+ name: "appAllowanceUsed",
757
+ type: "int256",
758
+ },
759
+ {
760
+ internalType: "contract ISuperfluidToken",
761
+ name: "appAllowanceToken",
762
+ type: "address",
763
+ },
764
+ ],
765
+ name: "appCallbackPush",
766
+ outputs: [
767
+ {
768
+ internalType: "bytes",
769
+ name: "appCtx",
770
+ type: "bytes",
771
+ },
772
+ ],
773
+ stateMutability: "nonpayable",
774
+ type: "function",
775
+ },
776
+ {
777
+ inputs: [
778
+ {
779
+ internalType: "bytes",
780
+ name: "ctx",
781
+ type: "bytes",
782
+ },
783
+ {
784
+ internalType: "int256",
785
+ name: "appAllowanceUsedDelta",
786
+ type: "int256",
787
+ },
788
+ ],
789
+ name: "appCallbackPop",
790
+ outputs: [
791
+ {
792
+ internalType: "bytes",
793
+ name: "newCtx",
794
+ type: "bytes",
795
+ },
796
+ ],
797
+ stateMutability: "nonpayable",
798
+ type: "function",
799
+ },
800
+ {
801
+ inputs: [
802
+ {
803
+ internalType: "bytes",
804
+ name: "ctx",
805
+ type: "bytes",
806
+ },
807
+ {
808
+ internalType: "uint256",
809
+ name: "appAllowanceWantedMore",
810
+ type: "uint256",
811
+ },
812
+ {
813
+ internalType: "int256",
814
+ name: "appAllowanceUsedDelta",
815
+ type: "int256",
816
+ },
817
+ ],
818
+ name: "ctxUseAllowance",
819
+ outputs: [
820
+ {
821
+ internalType: "bytes",
822
+ name: "newCtx",
823
+ type: "bytes",
824
+ },
825
+ ],
826
+ stateMutability: "nonpayable",
827
+ type: "function",
828
+ },
829
+ {
830
+ inputs: [
831
+ {
832
+ internalType: "bytes",
833
+ name: "ctx",
834
+ type: "bytes",
835
+ },
836
+ {
837
+ internalType: "contract ISuperApp",
838
+ name: "app",
839
+ type: "address",
840
+ },
841
+ {
842
+ internalType: "uint256",
843
+ name: "reason",
844
+ type: "uint256",
845
+ },
846
+ ],
847
+ name: "jailApp",
848
+ outputs: [
849
+ {
850
+ internalType: "bytes",
851
+ name: "newCtx",
852
+ type: "bytes",
853
+ },
854
+ ],
855
+ stateMutability: "nonpayable",
856
+ type: "function",
857
+ },
858
+ {
859
+ inputs: [
860
+ {
861
+ internalType: "contract ISuperAgreement",
862
+ name: "agreementClass",
863
+ type: "address",
864
+ },
865
+ {
866
+ internalType: "bytes",
867
+ name: "callData",
868
+ type: "bytes",
869
+ },
870
+ {
871
+ internalType: "bytes",
872
+ name: "userData",
873
+ type: "bytes",
874
+ },
875
+ ],
876
+ name: "callAgreement",
877
+ outputs: [
878
+ {
879
+ internalType: "bytes",
880
+ name: "returnedData",
881
+ type: "bytes",
882
+ },
883
+ ],
884
+ stateMutability: "nonpayable",
885
+ type: "function",
886
+ },
887
+ {
888
+ inputs: [
889
+ {
890
+ internalType: "contract ISuperApp",
891
+ name: "app",
892
+ type: "address",
893
+ },
894
+ {
895
+ internalType: "bytes",
896
+ name: "callData",
897
+ type: "bytes",
898
+ },
899
+ ],
900
+ name: "callAppAction",
901
+ outputs: [
902
+ {
903
+ internalType: "bytes",
904
+ name: "returnedData",
905
+ type: "bytes",
906
+ },
907
+ ],
908
+ stateMutability: "nonpayable",
909
+ type: "function",
910
+ },
911
+ {
912
+ inputs: [
913
+ {
914
+ internalType: "contract ISuperAgreement",
915
+ name: "agreementClass",
916
+ type: "address",
917
+ },
918
+ {
919
+ internalType: "bytes",
920
+ name: "callData",
921
+ type: "bytes",
922
+ },
923
+ {
924
+ internalType: "bytes",
925
+ name: "userData",
926
+ type: "bytes",
927
+ },
928
+ {
929
+ internalType: "bytes",
930
+ name: "ctx",
931
+ type: "bytes",
932
+ },
933
+ ],
934
+ name: "callAgreementWithContext",
935
+ outputs: [
936
+ {
937
+ internalType: "bytes",
938
+ name: "newCtx",
939
+ type: "bytes",
940
+ },
941
+ {
942
+ internalType: "bytes",
943
+ name: "returnedData",
944
+ type: "bytes",
945
+ },
946
+ ],
947
+ stateMutability: "nonpayable",
948
+ type: "function",
949
+ },
950
+ {
951
+ inputs: [
952
+ {
953
+ internalType: "contract ISuperApp",
954
+ name: "app",
955
+ type: "address",
956
+ },
957
+ {
958
+ internalType: "bytes",
959
+ name: "callData",
960
+ type: "bytes",
961
+ },
962
+ {
963
+ internalType: "bytes",
964
+ name: "ctx",
965
+ type: "bytes",
966
+ },
967
+ ],
968
+ name: "callAppActionWithContext",
969
+ outputs: [
970
+ {
971
+ internalType: "bytes",
972
+ name: "newCtx",
973
+ type: "bytes",
974
+ },
975
+ ],
976
+ stateMutability: "nonpayable",
977
+ type: "function",
978
+ },
979
+ {
980
+ inputs: [
981
+ {
982
+ internalType: "bytes",
983
+ name: "ctx",
984
+ type: "bytes",
985
+ },
986
+ ],
987
+ name: "decodeCtx",
988
+ outputs: [
989
+ {
990
+ components: [
991
+ {
992
+ internalType: "uint8",
993
+ name: "appLevel",
994
+ type: "uint8",
995
+ },
996
+ {
997
+ internalType: "uint8",
998
+ name: "callType",
999
+ type: "uint8",
1000
+ },
1001
+ {
1002
+ internalType: "uint256",
1003
+ name: "timestamp",
1004
+ type: "uint256",
1005
+ },
1006
+ {
1007
+ internalType: "address",
1008
+ name: "msgSender",
1009
+ type: "address",
1010
+ },
1011
+ {
1012
+ internalType: "bytes4",
1013
+ name: "agreementSelector",
1014
+ type: "bytes4",
1015
+ },
1016
+ {
1017
+ internalType: "bytes",
1018
+ name: "userData",
1019
+ type: "bytes",
1020
+ },
1021
+ {
1022
+ internalType: "uint256",
1023
+ name: "appAllowanceGranted",
1024
+ type: "uint256",
1025
+ },
1026
+ {
1027
+ internalType: "uint256",
1028
+ name: "appAllowanceWanted",
1029
+ type: "uint256",
1030
+ },
1031
+ {
1032
+ internalType: "int256",
1033
+ name: "appAllowanceUsed",
1034
+ type: "int256",
1035
+ },
1036
+ {
1037
+ internalType: "address",
1038
+ name: "appAddress",
1039
+ type: "address",
1040
+ },
1041
+ {
1042
+ internalType: "contract ISuperfluidToken",
1043
+ name: "appAllowanceToken",
1044
+ type: "address",
1045
+ },
1046
+ ],
1047
+ internalType: "struct ISuperfluid.Context",
1048
+ name: "context",
1049
+ type: "tuple",
1050
+ },
1051
+ ],
1052
+ stateMutability: "pure",
1053
+ type: "function",
1054
+ },
1055
+ {
1056
+ inputs: [
1057
+ {
1058
+ internalType: "bytes",
1059
+ name: "ctx",
1060
+ type: "bytes",
1061
+ },
1062
+ ],
1063
+ name: "isCtxValid",
1064
+ outputs: [
1065
+ {
1066
+ internalType: "bool",
1067
+ name: "",
1068
+ type: "bool",
1069
+ },
1070
+ ],
1071
+ stateMutability: "view",
1072
+ type: "function",
1073
+ },
1074
+ {
1075
+ inputs: [
1076
+ {
1077
+ components: [
1078
+ {
1079
+ internalType: "uint32",
1080
+ name: "operationType",
1081
+ type: "uint32",
1082
+ },
1083
+ {
1084
+ internalType: "address",
1085
+ name: "target",
1086
+ type: "address",
1087
+ },
1088
+ {
1089
+ internalType: "bytes",
1090
+ name: "data",
1091
+ type: "bytes",
1092
+ },
1093
+ ],
1094
+ internalType: "struct ISuperfluid.Operation[]",
1095
+ name: "operations",
1096
+ type: "tuple[]",
1097
+ },
1098
+ ],
1099
+ name: "batchCall",
1100
+ outputs: [],
1101
+ stateMutability: "nonpayable",
1102
+ type: "function",
1103
+ },
1104
+ {
1105
+ inputs: [
1106
+ {
1107
+ components: [
1108
+ {
1109
+ internalType: "uint32",
1110
+ name: "operationType",
1111
+ type: "uint32",
1112
+ },
1113
+ {
1114
+ internalType: "address",
1115
+ name: "target",
1116
+ type: "address",
1117
+ },
1118
+ {
1119
+ internalType: "bytes",
1120
+ name: "data",
1121
+ type: "bytes",
1122
+ },
1123
+ ],
1124
+ internalType: "struct ISuperfluid.Operation[]",
1125
+ name: "operations",
1126
+ type: "tuple[]",
1127
+ },
1128
+ ],
1129
+ name: "forwardBatchCall",
1130
+ outputs: [],
1131
+ stateMutability: "nonpayable",
1132
+ type: "function",
1133
+ },
1134
+ {
1135
+ inputs: [
1136
+ {
1137
+ internalType: "address",
1138
+ name: "forwarder",
1139
+ type: "address",
1140
+ },
1141
+ ],
1142
+ name: "isTrustedForwarder",
1143
+ outputs: [
1144
+ {
1145
+ internalType: "bool",
1146
+ name: "",
1147
+ type: "bool",
1148
+ },
1149
+ ],
1150
+ stateMutability: "view",
1151
+ type: "function",
1152
+ },
1153
+ {
1154
+ inputs: [],
1155
+ name: "versionRecipient",
1156
+ outputs: [
1157
+ {
1158
+ internalType: "string",
1159
+ name: "",
1160
+ type: "string",
1161
+ },
1162
+ ],
1163
+ stateMutability: "pure",
1164
+ type: "function",
1165
+ },
1166
+ ];
1167
+ class Superfluid__factory {
1168
+ static createInterface() {
1169
+ return new ethers_1.utils.Interface(_abi);
1170
+ }
1171
+ static connect(address, signerOrProvider) {
1172
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
1173
+ }
1174
+ }
1175
+ exports.Superfluid__factory = Superfluid__factory;
1176
+ Superfluid__factory.abi = _abi;
1177
+ //# sourceMappingURL=Superfluid__factory.js.map