@gooddollar/goodcollective-contracts 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/README.md +1 -0
  2. package/contracts/DirectPayments/DirectPaymentsFactory.sol +108 -0
  3. package/contracts/DirectPayments/DirectPaymentsPool.sol +333 -0
  4. package/contracts/DirectPayments/ProvableNFT.sol +178 -0
  5. package/package.json +59 -0
  6. package/releases/deployment.json +7118 -0
  7. package/typechain-types/@openzeppelin/contracts/index.ts +7 -0
  8. package/typechain-types/@openzeppelin/contracts/interfaces/IERC1967.ts +115 -0
  9. package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.ts +87 -0
  10. package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +4 -0
  11. package/typechain-types/@openzeppelin/contracts/interfaces/index.ts +6 -0
  12. package/typechain-types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.ts +115 -0
  13. package/typechain-types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.ts +115 -0
  14. package/typechain-types/@openzeppelin/contracts/proxy/ERC1967/index.ts +5 -0
  15. package/typechain-types/@openzeppelin/contracts/proxy/Proxy.ts +55 -0
  16. package/typechain-types/@openzeppelin/contracts/proxy/beacon/IBeacon.ts +87 -0
  17. package/typechain-types/@openzeppelin/contracts/proxy/beacon/index.ts +4 -0
  18. package/typechain-types/@openzeppelin/contracts/proxy/index.ts +8 -0
  19. package/typechain-types/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.ts +410 -0
  20. package/typechain-types/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.ts +341 -0
  21. package/typechain-types/@openzeppelin/contracts-upgradeable/access/index.ts +5 -0
  22. package/typechain-types/@openzeppelin/contracts-upgradeable/index.ts +13 -0
  23. package/typechain-types/@openzeppelin/contracts-upgradeable/interfaces/IERC1967Upgradeable.ts +115 -0
  24. package/typechain-types/@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol/IERC1822ProxiableUpgradeable.ts +87 -0
  25. package/typechain-types/@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol/index.ts +4 -0
  26. package/typechain-types/@openzeppelin/contracts-upgradeable/interfaces/index.ts +6 -0
  27. package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.ts +127 -0
  28. package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/ERC1967/index.ts +4 -0
  29. package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable.ts +87 -0
  30. package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/beacon/index.ts +4 -0
  31. package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/index.ts +9 -0
  32. package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.ts +69 -0
  33. package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.ts +238 -0
  34. package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +5 -0
  35. package/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.ts +342 -0
  36. package/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20PermitUpgradeable.ts +193 -0
  37. package/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable.ts +193 -0
  38. package/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/index.ts +4 -0
  39. package/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/index.ts +5 -0
  40. package/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +6 -0
  41. package/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.ts +631 -0
  42. package/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC721/IERC721ReceiverUpgradeable.ts +126 -0
  43. package/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC721/IERC721Upgradeable.ts +559 -0
  44. package/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC721/extensions/IERC721MetadataUpgradeable.ts +619 -0
  45. package/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC721/extensions/index.ts +4 -0
  46. package/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC721/index.ts +8 -0
  47. package/typechain-types/@openzeppelin/contracts-upgradeable/token/index.ts +7 -0
  48. package/typechain-types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.ts +69 -0
  49. package/typechain-types/@openzeppelin/contracts-upgradeable/utils/index.ts +6 -0
  50. package/typechain-types/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.ts +121 -0
  51. package/typechain-types/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.ts +103 -0
  52. package/typechain-types/@openzeppelin/contracts-upgradeable/utils/introspection/index.ts +5 -0
  53. package/typechain-types/@openzeppelin/index.ts +7 -0
  54. package/typechain-types/common.ts +46 -0
  55. package/typechain-types/contracts/DirectPayments/DirectPaymentsFactory.ts +1034 -0
  56. package/typechain-types/contracts/DirectPayments/DirectPaymentsPool.sol/DirectPaymentsPool.ts +1381 -0
  57. package/typechain-types/contracts/DirectPayments/DirectPaymentsPool.sol/IIdentityV2.ts +105 -0
  58. package/typechain-types/contracts/DirectPayments/DirectPaymentsPool.sol/IMembersValidator.ts +125 -0
  59. package/typechain-types/contracts/DirectPayments/DirectPaymentsPool.sol/index.ts +6 -0
  60. package/typechain-types/contracts/DirectPayments/ProvableNFT.ts +1489 -0
  61. package/typechain-types/contracts/DirectPayments/index.ts +7 -0
  62. package/typechain-types/contracts/Lock.ts +148 -0
  63. package/typechain-types/contracts/index.ts +6 -0
  64. package/typechain-types/factories/@openzeppelin/contracts/index.ts +5 -0
  65. package/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.ts +71 -0
  66. package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.ts +39 -0
  67. package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +4 -0
  68. package/typechain-types/factories/@openzeppelin/contracts/interfaces/index.ts +5 -0
  69. package/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.ts +147 -0
  70. package/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade__factory.ts +71 -0
  71. package/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts +5 -0
  72. package/typechain-types/factories/@openzeppelin/contracts/proxy/Proxy__factory.ts +31 -0
  73. package/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.ts +39 -0
  74. package/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/index.ts +4 -0
  75. package/typechain-types/factories/@openzeppelin/contracts/proxy/index.ts +6 -0
  76. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable__factory.ts +247 -0
  77. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable__factory.ts +202 -0
  78. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/index.ts +5 -0
  79. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/index.ts +8 -0
  80. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/interfaces/IERC1967Upgradeable__factory.ts +71 -0
  81. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol/IERC1822ProxiableUpgradeable__factory.ts +43 -0
  82. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol/index.ts +4 -0
  83. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/interfaces/index.ts +5 -0
  84. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable__factory.ts +88 -0
  85. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/ERC1967/index.ts +4 -0
  86. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable__factory.ts +39 -0
  87. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/beacon/index.ts +4 -0
  88. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/index.ts +6 -0
  89. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.ts +39 -0
  90. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable__factory.ts +128 -0
  91. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +5 -0
  92. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable__factory.ts +209 -0
  93. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20PermitUpgradeable__factory.ts +105 -0
  94. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable__factory.ts +105 -0
  95. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/index.ts +4 -0
  96. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/index.ts +4 -0
  97. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +5 -0
  98. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable__factory.ts +406 -0
  99. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC721/IERC721ReceiverUpgradeable__factory.ts +64 -0
  100. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC721/IERC721Upgradeable__factory.ts +311 -0
  101. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC721/extensions/IERC721MetadataUpgradeable__factory.ts +360 -0
  102. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC721/extensions/index.ts +4 -0
  103. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC721/index.ts +7 -0
  104. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/index.ts +5 -0
  105. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.ts +39 -0
  106. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/index.ts +5 -0
  107. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable__factory.ts +58 -0
  108. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable__factory.ts +45 -0
  109. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/introspection/index.ts +5 -0
  110. package/typechain-types/factories/@openzeppelin/index.ts +5 -0
  111. package/typechain-types/factories/contracts/DirectPayments/DirectPaymentsFactory__factory.ts +707 -0
  112. package/typechain-types/factories/contracts/DirectPayments/DirectPaymentsPool.sol/DirectPaymentsPool__factory.ts +1094 -0
  113. package/typechain-types/factories/contracts/DirectPayments/DirectPaymentsPool.sol/IIdentityV2__factory.ts +45 -0
  114. package/typechain-types/factories/contracts/DirectPayments/DirectPaymentsPool.sol/IMembersValidator__factory.ts +60 -0
  115. package/typechain-types/factories/contracts/DirectPayments/DirectPaymentsPool.sol/index.ts +6 -0
  116. package/typechain-types/factories/contracts/DirectPayments/ProvableNFT__factory.ts +1184 -0
  117. package/typechain-types/factories/contracts/DirectPayments/index.ts +6 -0
  118. package/typechain-types/factories/contracts/Lock__factory.ts +129 -0
  119. package/typechain-types/factories/contracts/index.ts +5 -0
  120. package/typechain-types/factories/index.ts +5 -0
  121. package/typechain-types/hardhat.d.ts +294 -0
  122. package/typechain-types/index.ts +66 -0
@@ -0,0 +1,311 @@
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
+ IERC721Upgradeable,
9
+ IERC721UpgradeableInterface,
10
+ } from "../../../../../@openzeppelin/contracts-upgradeable/token/ERC721/IERC721Upgradeable";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "address",
19
+ name: "owner",
20
+ type: "address",
21
+ },
22
+ {
23
+ indexed: true,
24
+ internalType: "address",
25
+ name: "approved",
26
+ type: "address",
27
+ },
28
+ {
29
+ indexed: true,
30
+ internalType: "uint256",
31
+ name: "tokenId",
32
+ type: "uint256",
33
+ },
34
+ ],
35
+ name: "Approval",
36
+ type: "event",
37
+ },
38
+ {
39
+ anonymous: false,
40
+ inputs: [
41
+ {
42
+ indexed: true,
43
+ internalType: "address",
44
+ name: "owner",
45
+ type: "address",
46
+ },
47
+ {
48
+ indexed: true,
49
+ internalType: "address",
50
+ name: "operator",
51
+ type: "address",
52
+ },
53
+ {
54
+ indexed: false,
55
+ internalType: "bool",
56
+ name: "approved",
57
+ type: "bool",
58
+ },
59
+ ],
60
+ name: "ApprovalForAll",
61
+ type: "event",
62
+ },
63
+ {
64
+ anonymous: false,
65
+ inputs: [
66
+ {
67
+ indexed: true,
68
+ internalType: "address",
69
+ name: "from",
70
+ type: "address",
71
+ },
72
+ {
73
+ indexed: true,
74
+ internalType: "address",
75
+ name: "to",
76
+ type: "address",
77
+ },
78
+ {
79
+ indexed: true,
80
+ internalType: "uint256",
81
+ name: "tokenId",
82
+ type: "uint256",
83
+ },
84
+ ],
85
+ name: "Transfer",
86
+ type: "event",
87
+ },
88
+ {
89
+ inputs: [
90
+ {
91
+ internalType: "address",
92
+ name: "to",
93
+ type: "address",
94
+ },
95
+ {
96
+ internalType: "uint256",
97
+ name: "tokenId",
98
+ type: "uint256",
99
+ },
100
+ ],
101
+ name: "approve",
102
+ outputs: [],
103
+ stateMutability: "nonpayable",
104
+ type: "function",
105
+ },
106
+ {
107
+ inputs: [
108
+ {
109
+ internalType: "address",
110
+ name: "owner",
111
+ type: "address",
112
+ },
113
+ ],
114
+ name: "balanceOf",
115
+ outputs: [
116
+ {
117
+ internalType: "uint256",
118
+ name: "balance",
119
+ type: "uint256",
120
+ },
121
+ ],
122
+ stateMutability: "view",
123
+ type: "function",
124
+ },
125
+ {
126
+ inputs: [
127
+ {
128
+ internalType: "uint256",
129
+ name: "tokenId",
130
+ type: "uint256",
131
+ },
132
+ ],
133
+ name: "getApproved",
134
+ outputs: [
135
+ {
136
+ internalType: "address",
137
+ name: "operator",
138
+ type: "address",
139
+ },
140
+ ],
141
+ stateMutability: "view",
142
+ type: "function",
143
+ },
144
+ {
145
+ inputs: [
146
+ {
147
+ internalType: "address",
148
+ name: "owner",
149
+ type: "address",
150
+ },
151
+ {
152
+ internalType: "address",
153
+ name: "operator",
154
+ type: "address",
155
+ },
156
+ ],
157
+ name: "isApprovedForAll",
158
+ outputs: [
159
+ {
160
+ internalType: "bool",
161
+ name: "",
162
+ type: "bool",
163
+ },
164
+ ],
165
+ stateMutability: "view",
166
+ type: "function",
167
+ },
168
+ {
169
+ inputs: [
170
+ {
171
+ internalType: "uint256",
172
+ name: "tokenId",
173
+ type: "uint256",
174
+ },
175
+ ],
176
+ name: "ownerOf",
177
+ outputs: [
178
+ {
179
+ internalType: "address",
180
+ name: "owner",
181
+ type: "address",
182
+ },
183
+ ],
184
+ stateMutability: "view",
185
+ type: "function",
186
+ },
187
+ {
188
+ inputs: [
189
+ {
190
+ internalType: "address",
191
+ name: "from",
192
+ type: "address",
193
+ },
194
+ {
195
+ internalType: "address",
196
+ name: "to",
197
+ type: "address",
198
+ },
199
+ {
200
+ internalType: "uint256",
201
+ name: "tokenId",
202
+ type: "uint256",
203
+ },
204
+ ],
205
+ name: "safeTransferFrom",
206
+ outputs: [],
207
+ stateMutability: "nonpayable",
208
+ type: "function",
209
+ },
210
+ {
211
+ inputs: [
212
+ {
213
+ internalType: "address",
214
+ name: "from",
215
+ type: "address",
216
+ },
217
+ {
218
+ internalType: "address",
219
+ name: "to",
220
+ type: "address",
221
+ },
222
+ {
223
+ internalType: "uint256",
224
+ name: "tokenId",
225
+ type: "uint256",
226
+ },
227
+ {
228
+ internalType: "bytes",
229
+ name: "data",
230
+ type: "bytes",
231
+ },
232
+ ],
233
+ name: "safeTransferFrom",
234
+ outputs: [],
235
+ stateMutability: "nonpayable",
236
+ type: "function",
237
+ },
238
+ {
239
+ inputs: [
240
+ {
241
+ internalType: "address",
242
+ name: "operator",
243
+ type: "address",
244
+ },
245
+ {
246
+ internalType: "bool",
247
+ name: "_approved",
248
+ type: "bool",
249
+ },
250
+ ],
251
+ name: "setApprovalForAll",
252
+ outputs: [],
253
+ stateMutability: "nonpayable",
254
+ type: "function",
255
+ },
256
+ {
257
+ inputs: [
258
+ {
259
+ internalType: "bytes4",
260
+ name: "interfaceId",
261
+ type: "bytes4",
262
+ },
263
+ ],
264
+ name: "supportsInterface",
265
+ outputs: [
266
+ {
267
+ internalType: "bool",
268
+ name: "",
269
+ type: "bool",
270
+ },
271
+ ],
272
+ stateMutability: "view",
273
+ type: "function",
274
+ },
275
+ {
276
+ inputs: [
277
+ {
278
+ internalType: "address",
279
+ name: "from",
280
+ type: "address",
281
+ },
282
+ {
283
+ internalType: "address",
284
+ name: "to",
285
+ type: "address",
286
+ },
287
+ {
288
+ internalType: "uint256",
289
+ name: "tokenId",
290
+ type: "uint256",
291
+ },
292
+ ],
293
+ name: "transferFrom",
294
+ outputs: [],
295
+ stateMutability: "nonpayable",
296
+ type: "function",
297
+ },
298
+ ] as const;
299
+
300
+ export class IERC721Upgradeable__factory {
301
+ static readonly abi = _abi;
302
+ static createInterface(): IERC721UpgradeableInterface {
303
+ return new utils.Interface(_abi) as IERC721UpgradeableInterface;
304
+ }
305
+ static connect(
306
+ address: string,
307
+ signerOrProvider: Signer | Provider
308
+ ): IERC721Upgradeable {
309
+ return new Contract(address, _abi, signerOrProvider) as IERC721Upgradeable;
310
+ }
311
+ }
@@ -0,0 +1,360 @@
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
+ IERC721MetadataUpgradeable,
9
+ IERC721MetadataUpgradeableInterface,
10
+ } from "../../../../../../@openzeppelin/contracts-upgradeable/token/ERC721/extensions/IERC721MetadataUpgradeable";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "address",
19
+ name: "owner",
20
+ type: "address",
21
+ },
22
+ {
23
+ indexed: true,
24
+ internalType: "address",
25
+ name: "approved",
26
+ type: "address",
27
+ },
28
+ {
29
+ indexed: true,
30
+ internalType: "uint256",
31
+ name: "tokenId",
32
+ type: "uint256",
33
+ },
34
+ ],
35
+ name: "Approval",
36
+ type: "event",
37
+ },
38
+ {
39
+ anonymous: false,
40
+ inputs: [
41
+ {
42
+ indexed: true,
43
+ internalType: "address",
44
+ name: "owner",
45
+ type: "address",
46
+ },
47
+ {
48
+ indexed: true,
49
+ internalType: "address",
50
+ name: "operator",
51
+ type: "address",
52
+ },
53
+ {
54
+ indexed: false,
55
+ internalType: "bool",
56
+ name: "approved",
57
+ type: "bool",
58
+ },
59
+ ],
60
+ name: "ApprovalForAll",
61
+ type: "event",
62
+ },
63
+ {
64
+ anonymous: false,
65
+ inputs: [
66
+ {
67
+ indexed: true,
68
+ internalType: "address",
69
+ name: "from",
70
+ type: "address",
71
+ },
72
+ {
73
+ indexed: true,
74
+ internalType: "address",
75
+ name: "to",
76
+ type: "address",
77
+ },
78
+ {
79
+ indexed: true,
80
+ internalType: "uint256",
81
+ name: "tokenId",
82
+ type: "uint256",
83
+ },
84
+ ],
85
+ name: "Transfer",
86
+ type: "event",
87
+ },
88
+ {
89
+ inputs: [
90
+ {
91
+ internalType: "address",
92
+ name: "to",
93
+ type: "address",
94
+ },
95
+ {
96
+ internalType: "uint256",
97
+ name: "tokenId",
98
+ type: "uint256",
99
+ },
100
+ ],
101
+ name: "approve",
102
+ outputs: [],
103
+ stateMutability: "nonpayable",
104
+ type: "function",
105
+ },
106
+ {
107
+ inputs: [
108
+ {
109
+ internalType: "address",
110
+ name: "owner",
111
+ type: "address",
112
+ },
113
+ ],
114
+ name: "balanceOf",
115
+ outputs: [
116
+ {
117
+ internalType: "uint256",
118
+ name: "balance",
119
+ type: "uint256",
120
+ },
121
+ ],
122
+ stateMutability: "view",
123
+ type: "function",
124
+ },
125
+ {
126
+ inputs: [
127
+ {
128
+ internalType: "uint256",
129
+ name: "tokenId",
130
+ type: "uint256",
131
+ },
132
+ ],
133
+ name: "getApproved",
134
+ outputs: [
135
+ {
136
+ internalType: "address",
137
+ name: "operator",
138
+ type: "address",
139
+ },
140
+ ],
141
+ stateMutability: "view",
142
+ type: "function",
143
+ },
144
+ {
145
+ inputs: [
146
+ {
147
+ internalType: "address",
148
+ name: "owner",
149
+ type: "address",
150
+ },
151
+ {
152
+ internalType: "address",
153
+ name: "operator",
154
+ type: "address",
155
+ },
156
+ ],
157
+ name: "isApprovedForAll",
158
+ outputs: [
159
+ {
160
+ internalType: "bool",
161
+ name: "",
162
+ type: "bool",
163
+ },
164
+ ],
165
+ stateMutability: "view",
166
+ type: "function",
167
+ },
168
+ {
169
+ inputs: [],
170
+ name: "name",
171
+ outputs: [
172
+ {
173
+ internalType: "string",
174
+ name: "",
175
+ type: "string",
176
+ },
177
+ ],
178
+ stateMutability: "view",
179
+ type: "function",
180
+ },
181
+ {
182
+ inputs: [
183
+ {
184
+ internalType: "uint256",
185
+ name: "tokenId",
186
+ type: "uint256",
187
+ },
188
+ ],
189
+ name: "ownerOf",
190
+ outputs: [
191
+ {
192
+ internalType: "address",
193
+ name: "owner",
194
+ type: "address",
195
+ },
196
+ ],
197
+ stateMutability: "view",
198
+ type: "function",
199
+ },
200
+ {
201
+ inputs: [
202
+ {
203
+ internalType: "address",
204
+ name: "from",
205
+ type: "address",
206
+ },
207
+ {
208
+ internalType: "address",
209
+ name: "to",
210
+ type: "address",
211
+ },
212
+ {
213
+ internalType: "uint256",
214
+ name: "tokenId",
215
+ type: "uint256",
216
+ },
217
+ ],
218
+ name: "safeTransferFrom",
219
+ outputs: [],
220
+ stateMutability: "nonpayable",
221
+ type: "function",
222
+ },
223
+ {
224
+ inputs: [
225
+ {
226
+ internalType: "address",
227
+ name: "from",
228
+ type: "address",
229
+ },
230
+ {
231
+ internalType: "address",
232
+ name: "to",
233
+ type: "address",
234
+ },
235
+ {
236
+ internalType: "uint256",
237
+ name: "tokenId",
238
+ type: "uint256",
239
+ },
240
+ {
241
+ internalType: "bytes",
242
+ name: "data",
243
+ type: "bytes",
244
+ },
245
+ ],
246
+ name: "safeTransferFrom",
247
+ outputs: [],
248
+ stateMutability: "nonpayable",
249
+ type: "function",
250
+ },
251
+ {
252
+ inputs: [
253
+ {
254
+ internalType: "address",
255
+ name: "operator",
256
+ type: "address",
257
+ },
258
+ {
259
+ internalType: "bool",
260
+ name: "_approved",
261
+ type: "bool",
262
+ },
263
+ ],
264
+ name: "setApprovalForAll",
265
+ outputs: [],
266
+ stateMutability: "nonpayable",
267
+ type: "function",
268
+ },
269
+ {
270
+ inputs: [
271
+ {
272
+ internalType: "bytes4",
273
+ name: "interfaceId",
274
+ type: "bytes4",
275
+ },
276
+ ],
277
+ name: "supportsInterface",
278
+ outputs: [
279
+ {
280
+ internalType: "bool",
281
+ name: "",
282
+ type: "bool",
283
+ },
284
+ ],
285
+ stateMutability: "view",
286
+ type: "function",
287
+ },
288
+ {
289
+ inputs: [],
290
+ name: "symbol",
291
+ outputs: [
292
+ {
293
+ internalType: "string",
294
+ name: "",
295
+ type: "string",
296
+ },
297
+ ],
298
+ stateMutability: "view",
299
+ type: "function",
300
+ },
301
+ {
302
+ inputs: [
303
+ {
304
+ internalType: "uint256",
305
+ name: "tokenId",
306
+ type: "uint256",
307
+ },
308
+ ],
309
+ name: "tokenURI",
310
+ outputs: [
311
+ {
312
+ internalType: "string",
313
+ name: "",
314
+ type: "string",
315
+ },
316
+ ],
317
+ stateMutability: "view",
318
+ type: "function",
319
+ },
320
+ {
321
+ inputs: [
322
+ {
323
+ internalType: "address",
324
+ name: "from",
325
+ type: "address",
326
+ },
327
+ {
328
+ internalType: "address",
329
+ name: "to",
330
+ type: "address",
331
+ },
332
+ {
333
+ internalType: "uint256",
334
+ name: "tokenId",
335
+ type: "uint256",
336
+ },
337
+ ],
338
+ name: "transferFrom",
339
+ outputs: [],
340
+ stateMutability: "nonpayable",
341
+ type: "function",
342
+ },
343
+ ] as const;
344
+
345
+ export class IERC721MetadataUpgradeable__factory {
346
+ static readonly abi = _abi;
347
+ static createInterface(): IERC721MetadataUpgradeableInterface {
348
+ return new utils.Interface(_abi) as IERC721MetadataUpgradeableInterface;
349
+ }
350
+ static connect(
351
+ address: string,
352
+ signerOrProvider: Signer | Provider
353
+ ): IERC721MetadataUpgradeable {
354
+ return new Contract(
355
+ address,
356
+ _abi,
357
+ signerOrProvider
358
+ ) as IERC721MetadataUpgradeable;
359
+ }
360
+ }
@@ -0,0 +1,4 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export { IERC721MetadataUpgradeable__factory } from "./IERC721MetadataUpgradeable__factory";
@@ -0,0 +1,7 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export * as extensions from "./extensions";
5
+ export { ERC721Upgradeable__factory } from "./ERC721Upgradeable__factory";
6
+ export { IERC721ReceiverUpgradeable__factory } from "./IERC721ReceiverUpgradeable__factory";
7
+ export { IERC721Upgradeable__factory } from "./IERC721Upgradeable__factory";
@@ -0,0 +1,5 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export * as erc20 from "./ERC20";
5
+ export * as erc721 from "./ERC721";