@gooddollar/goodcollective-contracts 1.0.1 → 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 +4 -1
  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,523 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import type {
5
+ BaseContract,
6
+ BigNumber,
7
+ BytesLike,
8
+ CallOverrides,
9
+ ContractTransaction,
10
+ Overrides,
11
+ PopulatedTransaction,
12
+ Signer,
13
+ utils,
14
+ } from "ethers";
15
+ import type { FunctionFragment, Result } from "@ethersproject/abi";
16
+ import type { Listener, Provider } from "@ethersproject/providers";
17
+ import type {
18
+ TypedEventFilter,
19
+ TypedEvent,
20
+ TypedListener,
21
+ OnEvent,
22
+ PromiseOrValue,
23
+ } from "../../common";
24
+
25
+ export interface SuperAppBaseFlowInterface extends utils.Interface {
26
+ functions: {
27
+ "CFAV1_TYPE()": FunctionFragment;
28
+ "afterAgreementCreated(address,address,bytes32,bytes,bytes,bytes)": FunctionFragment;
29
+ "afterAgreementTerminated(address,address,bytes32,bytes,bytes,bytes)": FunctionFragment;
30
+ "afterAgreementUpdated(address,address,bytes32,bytes,bytes,bytes)": FunctionFragment;
31
+ "beforeAgreementCreated(address,address,bytes32,bytes,bytes)": FunctionFragment;
32
+ "beforeAgreementTerminated(address,address,bytes32,bytes,bytes)": FunctionFragment;
33
+ "beforeAgreementUpdated(address,address,bytes32,bytes,bytes)": FunctionFragment;
34
+ "host()": FunctionFragment;
35
+ "isAcceptedSuperToken(address)": FunctionFragment;
36
+ };
37
+
38
+ getFunction(
39
+ nameOrSignatureOrTopic:
40
+ | "CFAV1_TYPE"
41
+ | "afterAgreementCreated"
42
+ | "afterAgreementTerminated"
43
+ | "afterAgreementUpdated"
44
+ | "beforeAgreementCreated"
45
+ | "beforeAgreementTerminated"
46
+ | "beforeAgreementUpdated"
47
+ | "host"
48
+ | "isAcceptedSuperToken"
49
+ ): FunctionFragment;
50
+
51
+ encodeFunctionData(
52
+ functionFragment: "CFAV1_TYPE",
53
+ values?: undefined
54
+ ): string;
55
+ encodeFunctionData(
56
+ functionFragment: "afterAgreementCreated",
57
+ values: [
58
+ PromiseOrValue<string>,
59
+ PromiseOrValue<string>,
60
+ PromiseOrValue<BytesLike>,
61
+ PromiseOrValue<BytesLike>,
62
+ PromiseOrValue<BytesLike>,
63
+ PromiseOrValue<BytesLike>
64
+ ]
65
+ ): string;
66
+ encodeFunctionData(
67
+ functionFragment: "afterAgreementTerminated",
68
+ values: [
69
+ PromiseOrValue<string>,
70
+ PromiseOrValue<string>,
71
+ PromiseOrValue<BytesLike>,
72
+ PromiseOrValue<BytesLike>,
73
+ PromiseOrValue<BytesLike>,
74
+ PromiseOrValue<BytesLike>
75
+ ]
76
+ ): string;
77
+ encodeFunctionData(
78
+ functionFragment: "afterAgreementUpdated",
79
+ values: [
80
+ PromiseOrValue<string>,
81
+ PromiseOrValue<string>,
82
+ PromiseOrValue<BytesLike>,
83
+ PromiseOrValue<BytesLike>,
84
+ PromiseOrValue<BytesLike>,
85
+ PromiseOrValue<BytesLike>
86
+ ]
87
+ ): string;
88
+ encodeFunctionData(
89
+ functionFragment: "beforeAgreementCreated",
90
+ values: [
91
+ PromiseOrValue<string>,
92
+ PromiseOrValue<string>,
93
+ PromiseOrValue<BytesLike>,
94
+ PromiseOrValue<BytesLike>,
95
+ PromiseOrValue<BytesLike>
96
+ ]
97
+ ): string;
98
+ encodeFunctionData(
99
+ functionFragment: "beforeAgreementTerminated",
100
+ values: [
101
+ PromiseOrValue<string>,
102
+ PromiseOrValue<string>,
103
+ PromiseOrValue<BytesLike>,
104
+ PromiseOrValue<BytesLike>,
105
+ PromiseOrValue<BytesLike>
106
+ ]
107
+ ): string;
108
+ encodeFunctionData(
109
+ functionFragment: "beforeAgreementUpdated",
110
+ values: [
111
+ PromiseOrValue<string>,
112
+ PromiseOrValue<string>,
113
+ PromiseOrValue<BytesLike>,
114
+ PromiseOrValue<BytesLike>,
115
+ PromiseOrValue<BytesLike>
116
+ ]
117
+ ): string;
118
+ encodeFunctionData(functionFragment: "host", values?: undefined): string;
119
+ encodeFunctionData(
120
+ functionFragment: "isAcceptedSuperToken",
121
+ values: [PromiseOrValue<string>]
122
+ ): string;
123
+
124
+ decodeFunctionResult(functionFragment: "CFAV1_TYPE", data: BytesLike): Result;
125
+ decodeFunctionResult(
126
+ functionFragment: "afterAgreementCreated",
127
+ data: BytesLike
128
+ ): Result;
129
+ decodeFunctionResult(
130
+ functionFragment: "afterAgreementTerminated",
131
+ data: BytesLike
132
+ ): Result;
133
+ decodeFunctionResult(
134
+ functionFragment: "afterAgreementUpdated",
135
+ data: BytesLike
136
+ ): Result;
137
+ decodeFunctionResult(
138
+ functionFragment: "beforeAgreementCreated",
139
+ data: BytesLike
140
+ ): Result;
141
+ decodeFunctionResult(
142
+ functionFragment: "beforeAgreementTerminated",
143
+ data: BytesLike
144
+ ): Result;
145
+ decodeFunctionResult(
146
+ functionFragment: "beforeAgreementUpdated",
147
+ data: BytesLike
148
+ ): Result;
149
+ decodeFunctionResult(functionFragment: "host", data: BytesLike): Result;
150
+ decodeFunctionResult(
151
+ functionFragment: "isAcceptedSuperToken",
152
+ data: BytesLike
153
+ ): Result;
154
+
155
+ events: {};
156
+ }
157
+
158
+ export interface SuperAppBaseFlow extends BaseContract {
159
+ connect(signerOrProvider: Signer | Provider | string): this;
160
+ attach(addressOrName: string): this;
161
+ deployed(): Promise<this>;
162
+
163
+ interface: SuperAppBaseFlowInterface;
164
+
165
+ queryFilter<TEvent extends TypedEvent>(
166
+ event: TypedEventFilter<TEvent>,
167
+ fromBlockOrBlockhash?: string | number | undefined,
168
+ toBlock?: string | number | undefined
169
+ ): Promise<Array<TEvent>>;
170
+
171
+ listeners<TEvent extends TypedEvent>(
172
+ eventFilter?: TypedEventFilter<TEvent>
173
+ ): Array<TypedListener<TEvent>>;
174
+ listeners(eventName?: string): Array<Listener>;
175
+ removeAllListeners<TEvent extends TypedEvent>(
176
+ eventFilter: TypedEventFilter<TEvent>
177
+ ): this;
178
+ removeAllListeners(eventName?: string): this;
179
+ off: OnEvent<this>;
180
+ on: OnEvent<this>;
181
+ once: OnEvent<this>;
182
+ removeListener: OnEvent<this>;
183
+
184
+ functions: {
185
+ CFAV1_TYPE(overrides?: CallOverrides): Promise<[string]>;
186
+
187
+ afterAgreementCreated(
188
+ superToken: PromiseOrValue<string>,
189
+ arg1: PromiseOrValue<string>,
190
+ arg2: PromiseOrValue<BytesLike>,
191
+ agreementData: PromiseOrValue<BytesLike>,
192
+ arg4: PromiseOrValue<BytesLike>,
193
+ ctx: PromiseOrValue<BytesLike>,
194
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
195
+ ): Promise<ContractTransaction>;
196
+
197
+ afterAgreementTerminated(
198
+ superToken: PromiseOrValue<string>,
199
+ agreementClass: PromiseOrValue<string>,
200
+ arg2: PromiseOrValue<BytesLike>,
201
+ agreementData: PromiseOrValue<BytesLike>,
202
+ cbdata: PromiseOrValue<BytesLike>,
203
+ ctx: PromiseOrValue<BytesLike>,
204
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
205
+ ): Promise<ContractTransaction>;
206
+
207
+ afterAgreementUpdated(
208
+ superToken: PromiseOrValue<string>,
209
+ arg1: PromiseOrValue<string>,
210
+ arg2: PromiseOrValue<BytesLike>,
211
+ agreementData: PromiseOrValue<BytesLike>,
212
+ cbdata: PromiseOrValue<BytesLike>,
213
+ ctx: PromiseOrValue<BytesLike>,
214
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
215
+ ): Promise<ContractTransaction>;
216
+
217
+ beforeAgreementCreated(
218
+ superToken: PromiseOrValue<string>,
219
+ agreementClass: PromiseOrValue<string>,
220
+ arg2: PromiseOrValue<BytesLike>,
221
+ arg3: PromiseOrValue<BytesLike>,
222
+ arg4: PromiseOrValue<BytesLike>,
223
+ overrides?: CallOverrides
224
+ ): Promise<[string]>;
225
+
226
+ beforeAgreementTerminated(
227
+ superToken: PromiseOrValue<string>,
228
+ agreementClass: PromiseOrValue<string>,
229
+ arg2: PromiseOrValue<BytesLike>,
230
+ agreementData: PromiseOrValue<BytesLike>,
231
+ arg4: PromiseOrValue<BytesLike>,
232
+ overrides?: CallOverrides
233
+ ): Promise<[string]>;
234
+
235
+ beforeAgreementUpdated(
236
+ superToken: PromiseOrValue<string>,
237
+ agreementClass: PromiseOrValue<string>,
238
+ arg2: PromiseOrValue<BytesLike>,
239
+ agreementData: PromiseOrValue<BytesLike>,
240
+ arg4: PromiseOrValue<BytesLike>,
241
+ overrides?: CallOverrides
242
+ ): Promise<[string]>;
243
+
244
+ host(overrides?: CallOverrides): Promise<[string]>;
245
+
246
+ isAcceptedSuperToken(
247
+ arg0: PromiseOrValue<string>,
248
+ overrides?: CallOverrides
249
+ ): Promise<[boolean]>;
250
+ };
251
+
252
+ CFAV1_TYPE(overrides?: CallOverrides): Promise<string>;
253
+
254
+ afterAgreementCreated(
255
+ superToken: PromiseOrValue<string>,
256
+ arg1: PromiseOrValue<string>,
257
+ arg2: PromiseOrValue<BytesLike>,
258
+ agreementData: PromiseOrValue<BytesLike>,
259
+ arg4: PromiseOrValue<BytesLike>,
260
+ ctx: PromiseOrValue<BytesLike>,
261
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
262
+ ): Promise<ContractTransaction>;
263
+
264
+ afterAgreementTerminated(
265
+ superToken: PromiseOrValue<string>,
266
+ agreementClass: PromiseOrValue<string>,
267
+ arg2: PromiseOrValue<BytesLike>,
268
+ agreementData: PromiseOrValue<BytesLike>,
269
+ cbdata: PromiseOrValue<BytesLike>,
270
+ ctx: PromiseOrValue<BytesLike>,
271
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
272
+ ): Promise<ContractTransaction>;
273
+
274
+ afterAgreementUpdated(
275
+ superToken: PromiseOrValue<string>,
276
+ arg1: PromiseOrValue<string>,
277
+ arg2: PromiseOrValue<BytesLike>,
278
+ agreementData: PromiseOrValue<BytesLike>,
279
+ cbdata: PromiseOrValue<BytesLike>,
280
+ ctx: PromiseOrValue<BytesLike>,
281
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
282
+ ): Promise<ContractTransaction>;
283
+
284
+ beforeAgreementCreated(
285
+ superToken: PromiseOrValue<string>,
286
+ agreementClass: PromiseOrValue<string>,
287
+ arg2: PromiseOrValue<BytesLike>,
288
+ arg3: PromiseOrValue<BytesLike>,
289
+ arg4: PromiseOrValue<BytesLike>,
290
+ overrides?: CallOverrides
291
+ ): Promise<string>;
292
+
293
+ beforeAgreementTerminated(
294
+ superToken: PromiseOrValue<string>,
295
+ agreementClass: PromiseOrValue<string>,
296
+ arg2: PromiseOrValue<BytesLike>,
297
+ agreementData: PromiseOrValue<BytesLike>,
298
+ arg4: PromiseOrValue<BytesLike>,
299
+ overrides?: CallOverrides
300
+ ): Promise<string>;
301
+
302
+ beforeAgreementUpdated(
303
+ superToken: PromiseOrValue<string>,
304
+ agreementClass: PromiseOrValue<string>,
305
+ arg2: PromiseOrValue<BytesLike>,
306
+ agreementData: PromiseOrValue<BytesLike>,
307
+ arg4: PromiseOrValue<BytesLike>,
308
+ overrides?: CallOverrides
309
+ ): Promise<string>;
310
+
311
+ host(overrides?: CallOverrides): Promise<string>;
312
+
313
+ isAcceptedSuperToken(
314
+ arg0: PromiseOrValue<string>,
315
+ overrides?: CallOverrides
316
+ ): Promise<boolean>;
317
+
318
+ callStatic: {
319
+ CFAV1_TYPE(overrides?: CallOverrides): Promise<string>;
320
+
321
+ afterAgreementCreated(
322
+ superToken: PromiseOrValue<string>,
323
+ arg1: PromiseOrValue<string>,
324
+ arg2: PromiseOrValue<BytesLike>,
325
+ agreementData: PromiseOrValue<BytesLike>,
326
+ arg4: PromiseOrValue<BytesLike>,
327
+ ctx: PromiseOrValue<BytesLike>,
328
+ overrides?: CallOverrides
329
+ ): Promise<string>;
330
+
331
+ afterAgreementTerminated(
332
+ superToken: PromiseOrValue<string>,
333
+ agreementClass: PromiseOrValue<string>,
334
+ arg2: PromiseOrValue<BytesLike>,
335
+ agreementData: PromiseOrValue<BytesLike>,
336
+ cbdata: PromiseOrValue<BytesLike>,
337
+ ctx: PromiseOrValue<BytesLike>,
338
+ overrides?: CallOverrides
339
+ ): Promise<string>;
340
+
341
+ afterAgreementUpdated(
342
+ superToken: PromiseOrValue<string>,
343
+ arg1: PromiseOrValue<string>,
344
+ arg2: PromiseOrValue<BytesLike>,
345
+ agreementData: PromiseOrValue<BytesLike>,
346
+ cbdata: PromiseOrValue<BytesLike>,
347
+ ctx: PromiseOrValue<BytesLike>,
348
+ overrides?: CallOverrides
349
+ ): Promise<string>;
350
+
351
+ beforeAgreementCreated(
352
+ superToken: PromiseOrValue<string>,
353
+ agreementClass: PromiseOrValue<string>,
354
+ arg2: PromiseOrValue<BytesLike>,
355
+ arg3: PromiseOrValue<BytesLike>,
356
+ arg4: PromiseOrValue<BytesLike>,
357
+ overrides?: CallOverrides
358
+ ): Promise<string>;
359
+
360
+ beforeAgreementTerminated(
361
+ superToken: PromiseOrValue<string>,
362
+ agreementClass: PromiseOrValue<string>,
363
+ arg2: PromiseOrValue<BytesLike>,
364
+ agreementData: PromiseOrValue<BytesLike>,
365
+ arg4: PromiseOrValue<BytesLike>,
366
+ overrides?: CallOverrides
367
+ ): Promise<string>;
368
+
369
+ beforeAgreementUpdated(
370
+ superToken: PromiseOrValue<string>,
371
+ agreementClass: PromiseOrValue<string>,
372
+ arg2: PromiseOrValue<BytesLike>,
373
+ agreementData: PromiseOrValue<BytesLike>,
374
+ arg4: PromiseOrValue<BytesLike>,
375
+ overrides?: CallOverrides
376
+ ): Promise<string>;
377
+
378
+ host(overrides?: CallOverrides): Promise<string>;
379
+
380
+ isAcceptedSuperToken(
381
+ arg0: PromiseOrValue<string>,
382
+ overrides?: CallOverrides
383
+ ): Promise<boolean>;
384
+ };
385
+
386
+ filters: {};
387
+
388
+ estimateGas: {
389
+ CFAV1_TYPE(overrides?: CallOverrides): Promise<BigNumber>;
390
+
391
+ afterAgreementCreated(
392
+ superToken: PromiseOrValue<string>,
393
+ arg1: PromiseOrValue<string>,
394
+ arg2: PromiseOrValue<BytesLike>,
395
+ agreementData: PromiseOrValue<BytesLike>,
396
+ arg4: PromiseOrValue<BytesLike>,
397
+ ctx: PromiseOrValue<BytesLike>,
398
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
399
+ ): Promise<BigNumber>;
400
+
401
+ afterAgreementTerminated(
402
+ superToken: PromiseOrValue<string>,
403
+ agreementClass: PromiseOrValue<string>,
404
+ arg2: PromiseOrValue<BytesLike>,
405
+ agreementData: PromiseOrValue<BytesLike>,
406
+ cbdata: PromiseOrValue<BytesLike>,
407
+ ctx: PromiseOrValue<BytesLike>,
408
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
409
+ ): Promise<BigNumber>;
410
+
411
+ afterAgreementUpdated(
412
+ superToken: PromiseOrValue<string>,
413
+ arg1: PromiseOrValue<string>,
414
+ arg2: PromiseOrValue<BytesLike>,
415
+ agreementData: PromiseOrValue<BytesLike>,
416
+ cbdata: PromiseOrValue<BytesLike>,
417
+ ctx: PromiseOrValue<BytesLike>,
418
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
419
+ ): Promise<BigNumber>;
420
+
421
+ beforeAgreementCreated(
422
+ superToken: PromiseOrValue<string>,
423
+ agreementClass: PromiseOrValue<string>,
424
+ arg2: PromiseOrValue<BytesLike>,
425
+ arg3: PromiseOrValue<BytesLike>,
426
+ arg4: PromiseOrValue<BytesLike>,
427
+ overrides?: CallOverrides
428
+ ): Promise<BigNumber>;
429
+
430
+ beforeAgreementTerminated(
431
+ superToken: PromiseOrValue<string>,
432
+ agreementClass: PromiseOrValue<string>,
433
+ arg2: PromiseOrValue<BytesLike>,
434
+ agreementData: PromiseOrValue<BytesLike>,
435
+ arg4: PromiseOrValue<BytesLike>,
436
+ overrides?: CallOverrides
437
+ ): Promise<BigNumber>;
438
+
439
+ beforeAgreementUpdated(
440
+ superToken: PromiseOrValue<string>,
441
+ agreementClass: PromiseOrValue<string>,
442
+ arg2: PromiseOrValue<BytesLike>,
443
+ agreementData: PromiseOrValue<BytesLike>,
444
+ arg4: PromiseOrValue<BytesLike>,
445
+ overrides?: CallOverrides
446
+ ): Promise<BigNumber>;
447
+
448
+ host(overrides?: CallOverrides): Promise<BigNumber>;
449
+
450
+ isAcceptedSuperToken(
451
+ arg0: PromiseOrValue<string>,
452
+ overrides?: CallOverrides
453
+ ): Promise<BigNumber>;
454
+ };
455
+
456
+ populateTransaction: {
457
+ CFAV1_TYPE(overrides?: CallOverrides): Promise<PopulatedTransaction>;
458
+
459
+ afterAgreementCreated(
460
+ superToken: PromiseOrValue<string>,
461
+ arg1: PromiseOrValue<string>,
462
+ arg2: PromiseOrValue<BytesLike>,
463
+ agreementData: PromiseOrValue<BytesLike>,
464
+ arg4: PromiseOrValue<BytesLike>,
465
+ ctx: PromiseOrValue<BytesLike>,
466
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
467
+ ): Promise<PopulatedTransaction>;
468
+
469
+ afterAgreementTerminated(
470
+ superToken: PromiseOrValue<string>,
471
+ agreementClass: PromiseOrValue<string>,
472
+ arg2: PromiseOrValue<BytesLike>,
473
+ agreementData: PromiseOrValue<BytesLike>,
474
+ cbdata: PromiseOrValue<BytesLike>,
475
+ ctx: PromiseOrValue<BytesLike>,
476
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
477
+ ): Promise<PopulatedTransaction>;
478
+
479
+ afterAgreementUpdated(
480
+ superToken: PromiseOrValue<string>,
481
+ arg1: PromiseOrValue<string>,
482
+ arg2: PromiseOrValue<BytesLike>,
483
+ agreementData: PromiseOrValue<BytesLike>,
484
+ cbdata: PromiseOrValue<BytesLike>,
485
+ ctx: PromiseOrValue<BytesLike>,
486
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
487
+ ): Promise<PopulatedTransaction>;
488
+
489
+ beforeAgreementCreated(
490
+ superToken: PromiseOrValue<string>,
491
+ agreementClass: PromiseOrValue<string>,
492
+ arg2: PromiseOrValue<BytesLike>,
493
+ arg3: PromiseOrValue<BytesLike>,
494
+ arg4: PromiseOrValue<BytesLike>,
495
+ overrides?: CallOverrides
496
+ ): Promise<PopulatedTransaction>;
497
+
498
+ beforeAgreementTerminated(
499
+ superToken: PromiseOrValue<string>,
500
+ agreementClass: PromiseOrValue<string>,
501
+ arg2: PromiseOrValue<BytesLike>,
502
+ agreementData: PromiseOrValue<BytesLike>,
503
+ arg4: PromiseOrValue<BytesLike>,
504
+ overrides?: CallOverrides
505
+ ): Promise<PopulatedTransaction>;
506
+
507
+ beforeAgreementUpdated(
508
+ superToken: PromiseOrValue<string>,
509
+ agreementClass: PromiseOrValue<string>,
510
+ arg2: PromiseOrValue<BytesLike>,
511
+ agreementData: PromiseOrValue<BytesLike>,
512
+ arg4: PromiseOrValue<BytesLike>,
513
+ overrides?: CallOverrides
514
+ ): Promise<PopulatedTransaction>;
515
+
516
+ host(overrides?: CallOverrides): Promise<PopulatedTransaction>;
517
+
518
+ isAcceptedSuperToken(
519
+ arg0: PromiseOrValue<string>,
520
+ overrides?: CallOverrides
521
+ ): Promise<PopulatedTransaction>;
522
+ };
523
+ }
@@ -0,0 +1,5 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export type { GoodCollectiveSuperApp } from "./GoodCollectiveSuperApp";
5
+ export type { SuperAppBaseFlow } from "./SuperAppBaseFlow";
@@ -3,4 +3,7 @@
3
3
  /* eslint-disable */
4
4
  import type * as directPayments from "./DirectPayments";
5
5
  export type { directPayments };
6
- export type { Lock } from "./Lock";
6
+ import type * as goodCollective from "./GoodCollective";
7
+ export type { goodCollective };
8
+ import type * as utils from "./utils";
9
+ export type { utils };