@gooddollar/goodcollective-contracts 1.0.0 → 1.0.2

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