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

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