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