@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,614 @@
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
+ IConstantOutflowNFT,
9
+ IConstantOutflowNFTInterface,
10
+ } from "../../../../../../@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/IConstantOutflowNFT";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [],
15
+ name: "CFA_NFT_APPROVE_CALLER_NOT_OWNER_OR_APPROVED_FOR_ALL",
16
+ type: "error",
17
+ },
18
+ {
19
+ inputs: [],
20
+ name: "CFA_NFT_APPROVE_TO_CALLER",
21
+ type: "error",
22
+ },
23
+ {
24
+ inputs: [],
25
+ name: "CFA_NFT_APPROVE_TO_CURRENT_OWNER",
26
+ type: "error",
27
+ },
28
+ {
29
+ inputs: [],
30
+ name: "CFA_NFT_INVALID_TOKEN_ID",
31
+ type: "error",
32
+ },
33
+ {
34
+ inputs: [],
35
+ name: "CFA_NFT_ONLY_SUPER_TOKEN_FACTORY",
36
+ type: "error",
37
+ },
38
+ {
39
+ inputs: [],
40
+ name: "CFA_NFT_TRANSFER_CALLER_NOT_OWNER_OR_APPROVED_FOR_ALL",
41
+ type: "error",
42
+ },
43
+ {
44
+ inputs: [],
45
+ name: "CFA_NFT_TRANSFER_FROM_INCORRECT_OWNER",
46
+ type: "error",
47
+ },
48
+ {
49
+ inputs: [],
50
+ name: "CFA_NFT_TRANSFER_IS_NOT_ALLOWED",
51
+ type: "error",
52
+ },
53
+ {
54
+ inputs: [],
55
+ name: "CFA_NFT_TRANSFER_TO_ZERO_ADDRESS",
56
+ type: "error",
57
+ },
58
+ {
59
+ inputs: [],
60
+ name: "COF_NFT_INVALID_SUPER_TOKEN",
61
+ type: "error",
62
+ },
63
+ {
64
+ inputs: [],
65
+ name: "COF_NFT_MINT_TO_AND_FLOW_RECEIVER_SAME",
66
+ type: "error",
67
+ },
68
+ {
69
+ inputs: [],
70
+ name: "COF_NFT_MINT_TO_ZERO_ADDRESS",
71
+ type: "error",
72
+ },
73
+ {
74
+ inputs: [],
75
+ name: "COF_NFT_ONLY_CONSTANT_INFLOW",
76
+ type: "error",
77
+ },
78
+ {
79
+ inputs: [],
80
+ name: "COF_NFT_ONLY_FLOW_AGREEMENTS",
81
+ type: "error",
82
+ },
83
+ {
84
+ inputs: [],
85
+ name: "COF_NFT_TOKEN_ALREADY_EXISTS",
86
+ type: "error",
87
+ },
88
+ {
89
+ anonymous: false,
90
+ inputs: [
91
+ {
92
+ indexed: true,
93
+ internalType: "address",
94
+ name: "owner",
95
+ type: "address",
96
+ },
97
+ {
98
+ indexed: true,
99
+ internalType: "address",
100
+ name: "approved",
101
+ type: "address",
102
+ },
103
+ {
104
+ indexed: true,
105
+ internalType: "uint256",
106
+ name: "tokenId",
107
+ type: "uint256",
108
+ },
109
+ ],
110
+ name: "Approval",
111
+ type: "event",
112
+ },
113
+ {
114
+ anonymous: false,
115
+ inputs: [
116
+ {
117
+ indexed: true,
118
+ internalType: "address",
119
+ name: "owner",
120
+ type: "address",
121
+ },
122
+ {
123
+ indexed: true,
124
+ internalType: "address",
125
+ name: "operator",
126
+ type: "address",
127
+ },
128
+ {
129
+ indexed: false,
130
+ internalType: "bool",
131
+ name: "approved",
132
+ type: "bool",
133
+ },
134
+ ],
135
+ name: "ApprovalForAll",
136
+ type: "event",
137
+ },
138
+ {
139
+ anonymous: false,
140
+ inputs: [
141
+ {
142
+ indexed: false,
143
+ internalType: "uint256",
144
+ name: "tokenId",
145
+ type: "uint256",
146
+ },
147
+ ],
148
+ name: "MetadataUpdate",
149
+ type: "event",
150
+ },
151
+ {
152
+ anonymous: false,
153
+ inputs: [
154
+ {
155
+ indexed: true,
156
+ internalType: "address",
157
+ name: "from",
158
+ type: "address",
159
+ },
160
+ {
161
+ indexed: true,
162
+ internalType: "address",
163
+ name: "to",
164
+ type: "address",
165
+ },
166
+ {
167
+ indexed: true,
168
+ internalType: "uint256",
169
+ name: "tokenId",
170
+ type: "uint256",
171
+ },
172
+ ],
173
+ name: "Transfer",
174
+ type: "event",
175
+ },
176
+ {
177
+ inputs: [
178
+ {
179
+ internalType: "address",
180
+ name: "to",
181
+ type: "address",
182
+ },
183
+ {
184
+ internalType: "uint256",
185
+ name: "tokenId",
186
+ type: "uint256",
187
+ },
188
+ ],
189
+ name: "approve",
190
+ outputs: [],
191
+ stateMutability: "nonpayable",
192
+ type: "function",
193
+ },
194
+ {
195
+ inputs: [
196
+ {
197
+ internalType: "address",
198
+ name: "owner",
199
+ type: "address",
200
+ },
201
+ ],
202
+ name: "balanceOf",
203
+ outputs: [
204
+ {
205
+ internalType: "uint256",
206
+ name: "balance",
207
+ type: "uint256",
208
+ },
209
+ ],
210
+ stateMutability: "view",
211
+ type: "function",
212
+ },
213
+ {
214
+ inputs: [
215
+ {
216
+ internalType: "uint256",
217
+ name: "tokenId",
218
+ type: "uint256",
219
+ },
220
+ ],
221
+ name: "flowDataByTokenId",
222
+ outputs: [
223
+ {
224
+ components: [
225
+ {
226
+ internalType: "address",
227
+ name: "superToken",
228
+ type: "address",
229
+ },
230
+ {
231
+ internalType: "address",
232
+ name: "flowSender",
233
+ type: "address",
234
+ },
235
+ {
236
+ internalType: "address",
237
+ name: "flowReceiver",
238
+ type: "address",
239
+ },
240
+ {
241
+ internalType: "uint32",
242
+ name: "flowStartDate",
243
+ type: "uint32",
244
+ },
245
+ ],
246
+ internalType: "struct IFlowNFTBase.FlowNFTData",
247
+ name: "flowData",
248
+ type: "tuple",
249
+ },
250
+ ],
251
+ stateMutability: "view",
252
+ type: "function",
253
+ },
254
+ {
255
+ inputs: [
256
+ {
257
+ internalType: "uint256",
258
+ name: "tokenId",
259
+ type: "uint256",
260
+ },
261
+ ],
262
+ name: "getApproved",
263
+ outputs: [
264
+ {
265
+ internalType: "address",
266
+ name: "operator",
267
+ type: "address",
268
+ },
269
+ ],
270
+ stateMutability: "view",
271
+ type: "function",
272
+ },
273
+ {
274
+ inputs: [
275
+ {
276
+ internalType: "address",
277
+ name: "superToken",
278
+ type: "address",
279
+ },
280
+ {
281
+ internalType: "address",
282
+ name: "flowSender",
283
+ type: "address",
284
+ },
285
+ {
286
+ internalType: "address",
287
+ name: "flowReceiver",
288
+ type: "address",
289
+ },
290
+ ],
291
+ name: "getTokenId",
292
+ outputs: [
293
+ {
294
+ internalType: "uint256",
295
+ name: "",
296
+ type: "uint256",
297
+ },
298
+ ],
299
+ stateMutability: "view",
300
+ type: "function",
301
+ },
302
+ {
303
+ inputs: [
304
+ {
305
+ internalType: "string",
306
+ name: "nftName",
307
+ type: "string",
308
+ },
309
+ {
310
+ internalType: "string",
311
+ name: "nftSymbol",
312
+ type: "string",
313
+ },
314
+ ],
315
+ name: "initialize",
316
+ outputs: [],
317
+ stateMutability: "nonpayable",
318
+ type: "function",
319
+ },
320
+ {
321
+ inputs: [
322
+ {
323
+ internalType: "address",
324
+ name: "owner",
325
+ type: "address",
326
+ },
327
+ {
328
+ internalType: "address",
329
+ name: "operator",
330
+ type: "address",
331
+ },
332
+ ],
333
+ name: "isApprovedForAll",
334
+ outputs: [
335
+ {
336
+ internalType: "bool",
337
+ name: "",
338
+ type: "bool",
339
+ },
340
+ ],
341
+ stateMutability: "view",
342
+ type: "function",
343
+ },
344
+ {
345
+ inputs: [],
346
+ name: "name",
347
+ outputs: [
348
+ {
349
+ internalType: "string",
350
+ name: "",
351
+ type: "string",
352
+ },
353
+ ],
354
+ stateMutability: "view",
355
+ type: "function",
356
+ },
357
+ {
358
+ inputs: [
359
+ {
360
+ internalType: "contract ISuperfluidToken",
361
+ name: "token",
362
+ type: "address",
363
+ },
364
+ {
365
+ internalType: "address",
366
+ name: "flowSender",
367
+ type: "address",
368
+ },
369
+ {
370
+ internalType: "address",
371
+ name: "flowReceiver",
372
+ type: "address",
373
+ },
374
+ ],
375
+ name: "onCreate",
376
+ outputs: [],
377
+ stateMutability: "nonpayable",
378
+ type: "function",
379
+ },
380
+ {
381
+ inputs: [
382
+ {
383
+ internalType: "contract ISuperfluidToken",
384
+ name: "token",
385
+ type: "address",
386
+ },
387
+ {
388
+ internalType: "address",
389
+ name: "flowSender",
390
+ type: "address",
391
+ },
392
+ {
393
+ internalType: "address",
394
+ name: "flowReceiver",
395
+ type: "address",
396
+ },
397
+ ],
398
+ name: "onDelete",
399
+ outputs: [],
400
+ stateMutability: "nonpayable",
401
+ type: "function",
402
+ },
403
+ {
404
+ inputs: [
405
+ {
406
+ internalType: "contract ISuperfluidToken",
407
+ name: "token",
408
+ type: "address",
409
+ },
410
+ {
411
+ internalType: "address",
412
+ name: "flowSender",
413
+ type: "address",
414
+ },
415
+ {
416
+ internalType: "address",
417
+ name: "flowReceiver",
418
+ type: "address",
419
+ },
420
+ ],
421
+ name: "onUpdate",
422
+ outputs: [],
423
+ stateMutability: "nonpayable",
424
+ type: "function",
425
+ },
426
+ {
427
+ inputs: [
428
+ {
429
+ internalType: "uint256",
430
+ name: "tokenId",
431
+ type: "uint256",
432
+ },
433
+ ],
434
+ name: "ownerOf",
435
+ outputs: [
436
+ {
437
+ internalType: "address",
438
+ name: "owner",
439
+ type: "address",
440
+ },
441
+ ],
442
+ stateMutability: "view",
443
+ type: "function",
444
+ },
445
+ {
446
+ inputs: [
447
+ {
448
+ internalType: "address",
449
+ name: "from",
450
+ type: "address",
451
+ },
452
+ {
453
+ internalType: "address",
454
+ name: "to",
455
+ type: "address",
456
+ },
457
+ {
458
+ internalType: "uint256",
459
+ name: "tokenId",
460
+ type: "uint256",
461
+ },
462
+ ],
463
+ name: "safeTransferFrom",
464
+ outputs: [],
465
+ stateMutability: "nonpayable",
466
+ type: "function",
467
+ },
468
+ {
469
+ inputs: [
470
+ {
471
+ internalType: "address",
472
+ name: "from",
473
+ type: "address",
474
+ },
475
+ {
476
+ internalType: "address",
477
+ name: "to",
478
+ type: "address",
479
+ },
480
+ {
481
+ internalType: "uint256",
482
+ name: "tokenId",
483
+ type: "uint256",
484
+ },
485
+ {
486
+ internalType: "bytes",
487
+ name: "data",
488
+ type: "bytes",
489
+ },
490
+ ],
491
+ name: "safeTransferFrom",
492
+ outputs: [],
493
+ stateMutability: "nonpayable",
494
+ type: "function",
495
+ },
496
+ {
497
+ inputs: [
498
+ {
499
+ internalType: "address",
500
+ name: "operator",
501
+ type: "address",
502
+ },
503
+ {
504
+ internalType: "bool",
505
+ name: "approved",
506
+ type: "bool",
507
+ },
508
+ ],
509
+ name: "setApprovalForAll",
510
+ outputs: [],
511
+ stateMutability: "nonpayable",
512
+ type: "function",
513
+ },
514
+ {
515
+ inputs: [
516
+ {
517
+ internalType: "bytes4",
518
+ name: "interfaceId",
519
+ type: "bytes4",
520
+ },
521
+ ],
522
+ name: "supportsInterface",
523
+ outputs: [
524
+ {
525
+ internalType: "bool",
526
+ name: "",
527
+ type: "bool",
528
+ },
529
+ ],
530
+ stateMutability: "view",
531
+ type: "function",
532
+ },
533
+ {
534
+ inputs: [],
535
+ name: "symbol",
536
+ outputs: [
537
+ {
538
+ internalType: "string",
539
+ name: "",
540
+ type: "string",
541
+ },
542
+ ],
543
+ stateMutability: "view",
544
+ type: "function",
545
+ },
546
+ {
547
+ inputs: [
548
+ {
549
+ internalType: "uint256",
550
+ name: "tokenId",
551
+ type: "uint256",
552
+ },
553
+ ],
554
+ name: "tokenURI",
555
+ outputs: [
556
+ {
557
+ internalType: "string",
558
+ name: "",
559
+ type: "string",
560
+ },
561
+ ],
562
+ stateMutability: "view",
563
+ type: "function",
564
+ },
565
+ {
566
+ inputs: [
567
+ {
568
+ internalType: "address",
569
+ name: "from",
570
+ type: "address",
571
+ },
572
+ {
573
+ internalType: "address",
574
+ name: "to",
575
+ type: "address",
576
+ },
577
+ {
578
+ internalType: "uint256",
579
+ name: "tokenId",
580
+ type: "uint256",
581
+ },
582
+ ],
583
+ name: "transferFrom",
584
+ outputs: [],
585
+ stateMutability: "nonpayable",
586
+ type: "function",
587
+ },
588
+ {
589
+ inputs: [
590
+ {
591
+ internalType: "uint256",
592
+ name: "tokenId",
593
+ type: "uint256",
594
+ },
595
+ ],
596
+ name: "triggerMetadataUpdate",
597
+ outputs: [],
598
+ stateMutability: "nonpayable",
599
+ type: "function",
600
+ },
601
+ ] as const;
602
+
603
+ export class IConstantOutflowNFT__factory {
604
+ static readonly abi = _abi;
605
+ static createInterface(): IConstantOutflowNFTInterface {
606
+ return new utils.Interface(_abi) as IConstantOutflowNFTInterface;
607
+ }
608
+ static connect(
609
+ address: string,
610
+ signerOrProvider: Signer | Provider
611
+ ): IConstantOutflowNFT {
612
+ return new Contract(address, _abi, signerOrProvider) as IConstantOutflowNFT;
613
+ }
614
+ }