@superfluid-finance/sdk-core 0.5.7-dev.6448c71.0 → 0.5.7-dev.722df77.0

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