@superfluid-finance/sdk-core 0.5.7-dev.e18f4b3.0 → 0.5.8-dev.b990476.0

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