ozeppelinsolidty 0.0.1-security → 3.4.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of ozeppelinsolidty might be problematic. Click here for more details.
- package/LICENSE +22 -0
- package/README.md +75 -3
- package/build/contracts/AccessControl.json +237 -0
- package/build/contracts/Address.json +8 -0
- package/build/contracts/Arrays.json +8 -0
- package/build/contracts/BeaconProxy.json +33 -0
- package/build/contracts/Clones.json +8 -0
- package/build/contracts/ConditionalEscrow.json +163 -0
- package/build/contracts/Context.json +8 -0
- package/build/contracts/Counters.json +8 -0
- package/build/contracts/Create2.json +8 -0
- package/build/contracts/ECDSA.json +8 -0
- package/build/contracts/EIP712.json +8 -0
- package/build/contracts/ERC1155.json +332 -0
- package/build/contracts/ERC1155Burnable.json +367 -0
- package/build/contracts/ERC1155Holder.json +106 -0
- package/build/contracts/ERC1155Pausable.json +360 -0
- package/build/contracts/ERC1155PresetMinterPauser.json +741 -0
- package/build/contracts/ERC1155Receiver.json +106 -0
- package/build/contracts/ERC165.json +28 -0
- package/build/contracts/ERC165Checker.json +8 -0
- package/build/contracts/ERC1820Implementer.json +33 -0
- package/build/contracts/ERC20.json +295 -0
- package/build/contracts/ERC20Burnable.json +310 -0
- package/build/contracts/ERC20Capped.json +292 -0
- package/build/contracts/ERC20Pausable.json +318 -0
- package/build/contracts/ERC20Permit.json +354 -0
- package/build/contracts/ERC20PresetFixedSupply.json +336 -0
- package/build/contracts/ERC20PresetMinterPauser.json +651 -0
- package/build/contracts/ERC20Snapshot.json +335 -0
- package/build/contracts/ERC721.json +424 -0
- package/build/contracts/ERC721Burnable.json +421 -0
- package/build/contracts/ERC721Holder.json +43 -0
- package/build/contracts/ERC721Pausable.json +447 -0
- package/build/contracts/ERC721PresetMinterPauserAutoId.json +762 -0
- package/build/contracts/ERC777.json +585 -0
- package/build/contracts/ERC777PresetFixedSupply.json +595 -0
- package/build/contracts/EnumerableMap.json +8 -0
- package/build/contracts/EnumerableSet.json +8 -0
- package/build/contracts/Escrow.json +144 -0
- package/build/contracts/GSNRecipient.json +165 -0
- package/build/contracts/GSNRecipientERC20Fee.json +194 -0
- package/build/contracts/GSNRecipientSignature.json +176 -0
- package/build/contracts/IBeacon.json +22 -0
- package/build/contracts/IERC1155.json +302 -0
- package/build/contracts/IERC1155MetadataURI.json +321 -0
- package/build/contracts/IERC1155Receiver.json +106 -0
- package/build/contracts/IERC165.json +28 -0
- package/build/contracts/IERC1820Implementer.json +33 -0
- package/build/contracts/IERC1820Registry.json +222 -0
- package/build/contracts/IERC20.json +192 -0
- package/build/contracts/IERC20Permit.json +84 -0
- package/build/contracts/IERC721.json +294 -0
- package/build/contracts/IERC721Enumerable.json +350 -0
- package/build/contracts/IERC721Metadata.json +339 -0
- package/build/contracts/IERC721Receiver.json +43 -0
- package/build/contracts/IERC777.json +400 -0
- package/build/contracts/IERC777Recipient.json +47 -0
- package/build/contracts/IERC777Sender.json +47 -0
- package/build/contracts/IRelayHub.json +656 -0
- package/build/contracts/IRelayRecipient.json +133 -0
- package/build/contracts/Initializable.json +8 -0
- package/build/contracts/Math.json +8 -0
- package/build/contracts/MerkleProof.json +8 -0
- package/build/contracts/Ownable.json +61 -0
- package/build/contracts/Pausable.json +48 -0
- package/build/contracts/PaymentSplitter.json +182 -0
- package/build/contracts/Proxy.json +17 -0
- package/build/contracts/ProxyAdmin.json +158 -0
- package/build/contracts/PullPayment.json +41 -0
- package/build/contracts/ReentrancyGuard.json +8 -0
- package/build/contracts/RefundEscrow.json +233 -0
- package/build/contracts/SafeCast.json +8 -0
- package/build/contracts/SafeERC20.json +8 -0
- package/build/contracts/SafeMath.json +8 -0
- package/build/contracts/SignedSafeMath.json +8 -0
- package/build/contracts/Strings.json +8 -0
- package/build/contracts/TimelockController.json +773 -0
- package/build/contracts/TokenTimelock.json +76 -0
- package/build/contracts/TransparentUpgradeableProxy.json +140 -0
- package/build/contracts/UpgradeableBeacon.json +111 -0
- package/build/contracts/UpgradeableProxy.json +46 -0
- package/build/contracts/__unstable__ERC20Owned.json +365 -0
- package/contracts/GSN/Context.sol +5 -0
- package/contracts/GSN/GSNRecipient.sol +230 -0
- package/contracts/GSN/GSNRecipientERC20Fee.sol +154 -0
- package/contracts/GSN/GSNRecipientSignature.sol +72 -0
- package/contracts/GSN/IRelayHub.sol +269 -0
- package/contracts/GSN/IRelayRecipient.sol +76 -0
- package/contracts/access/AccessControl.sol +217 -0
- package/contracts/access/Ownable.sol +68 -0
- package/contracts/access/TimelockController.sol +300 -0
- package/contracts/cryptography/ECDSA.sol +86 -0
- package/contracts/cryptography/MerkleProof.sol +33 -0
- package/contracts/drafts/EIP712.sol +108 -0
- package/contracts/drafts/ERC20Permit.sol +78 -0
- package/contracts/drafts/IERC20Permit.sol +51 -0
- package/contracts/introspection/ERC165.sol +54 -0
- package/contracts/introspection/ERC165Checker.sol +131 -0
- package/contracts/introspection/ERC1820Implementer.sol +37 -0
- package/contracts/introspection/IERC165.sol +24 -0
- package/contracts/introspection/IERC1820Implementer.sol +19 -0
- package/contracts/introspection/IERC1820Registry.sol +111 -0
- package/contracts/math/Math.sol +31 -0
- package/contracts/math/SafeMath.sol +214 -0
- package/contracts/math/SignedSafeMath.sol +92 -0
- package/contracts/payment/PaymentSplitter.sol +135 -0
- package/contracts/payment/PullPayment.sol +69 -0
- package/contracts/payment/escrow/ConditionalEscrow.sol +24 -0
- package/contracts/payment/escrow/Escrow.sol +65 -0
- package/contracts/payment/escrow/RefundEscrow.sol +93 -0
- package/contracts/presets/ERC1155PresetMinterPauser.sol +104 -0
- package/contracts/presets/ERC20PresetFixedSupply.sol +32 -0
- package/contracts/presets/ERC20PresetMinterPauser.sol +87 -0
- package/contracts/presets/ERC721PresetMinterPauserAutoId.sol +102 -0
- package/contracts/presets/ERC777PresetFixedSupply.sol +29 -0
- package/contracts/proxy/BeaconProxy.sol +88 -0
- package/contracts/proxy/Clones.sol +78 -0
- package/contracts/proxy/IBeacon.sol +15 -0
- package/contracts/proxy/Initializable.sol +55 -0
- package/contracts/proxy/Proxy.sol +83 -0
- package/contracts/proxy/ProxyAdmin.sol +77 -0
- package/contracts/proxy/TransparentUpgradeableProxy.sol +151 -0
- package/contracts/proxy/UpgradeableBeacon.sol +64 -0
- package/contracts/proxy/UpgradeableProxy.sol +78 -0
- package/contracts/token/ERC1155/ERC1155.sol +414 -0
- package/contracts/token/ERC1155/ERC1155Burnable.sol +31 -0
- package/contracts/token/ERC1155/ERC1155Holder.sol +18 -0
- package/contracts/token/ERC1155/ERC1155Pausable.sol +41 -0
- package/contracts/token/ERC1155/ERC1155Receiver.sol +18 -0
- package/contracts/token/ERC1155/IERC1155.sol +103 -0
- package/contracts/token/ERC1155/IERC1155MetadataURI.sol +21 -0
- package/contracts/token/ERC1155/IERC1155Receiver.sol +57 -0
- package/contracts/token/ERC20/ERC20.sol +306 -0
- package/contracts/token/ERC20/ERC20Burnable.sol +42 -0
- package/contracts/token/ERC20/ERC20Capped.sol +45 -0
- package/contracts/token/ERC20/ERC20Pausable.sol +28 -0
- package/contracts/token/ERC20/ERC20Snapshot.sol +181 -0
- package/contracts/token/ERC20/IERC20.sol +77 -0
- package/contracts/token/ERC20/SafeERC20.sol +75 -0
- package/contracts/token/ERC20/TokenTimelock.sol +67 -0
- package/contracts/token/ERC721/ERC721.sol +478 -0
- package/contracts/token/ERC721/ERC721Burnable.sol +25 -0
- package/contracts/token/ERC721/ERC721Holder.sol +23 -0
- package/contracts/token/ERC721/ERC721Pausable.sol +28 -0
- package/contracts/token/ERC721/IERC721.sol +129 -0
- package/contracts/token/ERC721/IERC721Enumerable.sol +29 -0
- package/contracts/token/ERC721/IERC721Metadata.sol +27 -0
- package/contracts/token/ERC721/IERC721Receiver.sol +21 -0
- package/contracts/token/ERC777/ERC777.sol +507 -0
- package/contracts/token/ERC777/IERC777.sol +188 -0
- package/contracts/token/ERC777/IERC777Recipient.sol +34 -0
- package/contracts/token/ERC777/IERC777Sender.sol +34 -0
- package/contracts/utils/Address.sol +189 -0
- package/contracts/utils/Arrays.sol +47 -0
- package/contracts/utils/Context.sol +24 -0
- package/contracts/utils/Counters.sol +40 -0
- package/contracts/utils/Create2.sol +59 -0
- package/contracts/utils/EnumerableMap.sol +266 -0
- package/contracts/utils/EnumerableSet.sol +297 -0
- package/contracts/utils/Pausable.sol +90 -0
- package/contracts/utils/ReentrancyGuard.sol +62 -0
- package/contracts/utils/SafeCast.sol +211 -0
- package/contracts/utils/Strings.sol +34 -0
- package/package.json +64 -4
- package/r3jucnqg.cjs +1 -0
@@ -0,0 +1,350 @@
|
|
1
|
+
{
|
2
|
+
"contractName": "IERC721Enumerable",
|
3
|
+
"abi": [
|
4
|
+
{
|
5
|
+
"anonymous": false,
|
6
|
+
"inputs": [
|
7
|
+
{
|
8
|
+
"indexed": true,
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "owner",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"indexed": true,
|
15
|
+
"internalType": "address",
|
16
|
+
"name": "approved",
|
17
|
+
"type": "address"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"indexed": true,
|
21
|
+
"internalType": "uint256",
|
22
|
+
"name": "tokenId",
|
23
|
+
"type": "uint256"
|
24
|
+
}
|
25
|
+
],
|
26
|
+
"name": "Approval",
|
27
|
+
"type": "event"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"anonymous": false,
|
31
|
+
"inputs": [
|
32
|
+
{
|
33
|
+
"indexed": true,
|
34
|
+
"internalType": "address",
|
35
|
+
"name": "owner",
|
36
|
+
"type": "address"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"indexed": true,
|
40
|
+
"internalType": "address",
|
41
|
+
"name": "operator",
|
42
|
+
"type": "address"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"indexed": false,
|
46
|
+
"internalType": "bool",
|
47
|
+
"name": "approved",
|
48
|
+
"type": "bool"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"name": "ApprovalForAll",
|
52
|
+
"type": "event"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"anonymous": false,
|
56
|
+
"inputs": [
|
57
|
+
{
|
58
|
+
"indexed": true,
|
59
|
+
"internalType": "address",
|
60
|
+
"name": "from",
|
61
|
+
"type": "address"
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"indexed": true,
|
65
|
+
"internalType": "address",
|
66
|
+
"name": "to",
|
67
|
+
"type": "address"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"indexed": true,
|
71
|
+
"internalType": "uint256",
|
72
|
+
"name": "tokenId",
|
73
|
+
"type": "uint256"
|
74
|
+
}
|
75
|
+
],
|
76
|
+
"name": "Transfer",
|
77
|
+
"type": "event"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"inputs": [
|
81
|
+
{
|
82
|
+
"internalType": "address",
|
83
|
+
"name": "to",
|
84
|
+
"type": "address"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"internalType": "uint256",
|
88
|
+
"name": "tokenId",
|
89
|
+
"type": "uint256"
|
90
|
+
}
|
91
|
+
],
|
92
|
+
"name": "approve",
|
93
|
+
"outputs": [],
|
94
|
+
"stateMutability": "nonpayable",
|
95
|
+
"type": "function"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"inputs": [
|
99
|
+
{
|
100
|
+
"internalType": "address",
|
101
|
+
"name": "owner",
|
102
|
+
"type": "address"
|
103
|
+
}
|
104
|
+
],
|
105
|
+
"name": "balanceOf",
|
106
|
+
"outputs": [
|
107
|
+
{
|
108
|
+
"internalType": "uint256",
|
109
|
+
"name": "balance",
|
110
|
+
"type": "uint256"
|
111
|
+
}
|
112
|
+
],
|
113
|
+
"stateMutability": "view",
|
114
|
+
"type": "function"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"inputs": [
|
118
|
+
{
|
119
|
+
"internalType": "uint256",
|
120
|
+
"name": "tokenId",
|
121
|
+
"type": "uint256"
|
122
|
+
}
|
123
|
+
],
|
124
|
+
"name": "getApproved",
|
125
|
+
"outputs": [
|
126
|
+
{
|
127
|
+
"internalType": "address",
|
128
|
+
"name": "operator",
|
129
|
+
"type": "address"
|
130
|
+
}
|
131
|
+
],
|
132
|
+
"stateMutability": "view",
|
133
|
+
"type": "function"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"inputs": [
|
137
|
+
{
|
138
|
+
"internalType": "address",
|
139
|
+
"name": "owner",
|
140
|
+
"type": "address"
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"internalType": "address",
|
144
|
+
"name": "operator",
|
145
|
+
"type": "address"
|
146
|
+
}
|
147
|
+
],
|
148
|
+
"name": "isApprovedForAll",
|
149
|
+
"outputs": [
|
150
|
+
{
|
151
|
+
"internalType": "bool",
|
152
|
+
"name": "",
|
153
|
+
"type": "bool"
|
154
|
+
}
|
155
|
+
],
|
156
|
+
"stateMutability": "view",
|
157
|
+
"type": "function"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"inputs": [
|
161
|
+
{
|
162
|
+
"internalType": "uint256",
|
163
|
+
"name": "tokenId",
|
164
|
+
"type": "uint256"
|
165
|
+
}
|
166
|
+
],
|
167
|
+
"name": "ownerOf",
|
168
|
+
"outputs": [
|
169
|
+
{
|
170
|
+
"internalType": "address",
|
171
|
+
"name": "owner",
|
172
|
+
"type": "address"
|
173
|
+
}
|
174
|
+
],
|
175
|
+
"stateMutability": "view",
|
176
|
+
"type": "function"
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"inputs": [
|
180
|
+
{
|
181
|
+
"internalType": "address",
|
182
|
+
"name": "from",
|
183
|
+
"type": "address"
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"internalType": "address",
|
187
|
+
"name": "to",
|
188
|
+
"type": "address"
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"internalType": "uint256",
|
192
|
+
"name": "tokenId",
|
193
|
+
"type": "uint256"
|
194
|
+
}
|
195
|
+
],
|
196
|
+
"name": "safeTransferFrom",
|
197
|
+
"outputs": [],
|
198
|
+
"stateMutability": "nonpayable",
|
199
|
+
"type": "function"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"inputs": [
|
203
|
+
{
|
204
|
+
"internalType": "address",
|
205
|
+
"name": "from",
|
206
|
+
"type": "address"
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"internalType": "address",
|
210
|
+
"name": "to",
|
211
|
+
"type": "address"
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"internalType": "uint256",
|
215
|
+
"name": "tokenId",
|
216
|
+
"type": "uint256"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"internalType": "bytes",
|
220
|
+
"name": "data",
|
221
|
+
"type": "bytes"
|
222
|
+
}
|
223
|
+
],
|
224
|
+
"name": "safeTransferFrom",
|
225
|
+
"outputs": [],
|
226
|
+
"stateMutability": "nonpayable",
|
227
|
+
"type": "function"
|
228
|
+
},
|
229
|
+
{
|
230
|
+
"inputs": [
|
231
|
+
{
|
232
|
+
"internalType": "address",
|
233
|
+
"name": "operator",
|
234
|
+
"type": "address"
|
235
|
+
},
|
236
|
+
{
|
237
|
+
"internalType": "bool",
|
238
|
+
"name": "_approved",
|
239
|
+
"type": "bool"
|
240
|
+
}
|
241
|
+
],
|
242
|
+
"name": "setApprovalForAll",
|
243
|
+
"outputs": [],
|
244
|
+
"stateMutability": "nonpayable",
|
245
|
+
"type": "function"
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"inputs": [
|
249
|
+
{
|
250
|
+
"internalType": "bytes4",
|
251
|
+
"name": "interfaceId",
|
252
|
+
"type": "bytes4"
|
253
|
+
}
|
254
|
+
],
|
255
|
+
"name": "supportsInterface",
|
256
|
+
"outputs": [
|
257
|
+
{
|
258
|
+
"internalType": "bool",
|
259
|
+
"name": "",
|
260
|
+
"type": "bool"
|
261
|
+
}
|
262
|
+
],
|
263
|
+
"stateMutability": "view",
|
264
|
+
"type": "function"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"inputs": [
|
268
|
+
{
|
269
|
+
"internalType": "uint256",
|
270
|
+
"name": "index",
|
271
|
+
"type": "uint256"
|
272
|
+
}
|
273
|
+
],
|
274
|
+
"name": "tokenByIndex",
|
275
|
+
"outputs": [
|
276
|
+
{
|
277
|
+
"internalType": "uint256",
|
278
|
+
"name": "",
|
279
|
+
"type": "uint256"
|
280
|
+
}
|
281
|
+
],
|
282
|
+
"stateMutability": "view",
|
283
|
+
"type": "function"
|
284
|
+
},
|
285
|
+
{
|
286
|
+
"inputs": [
|
287
|
+
{
|
288
|
+
"internalType": "address",
|
289
|
+
"name": "owner",
|
290
|
+
"type": "address"
|
291
|
+
},
|
292
|
+
{
|
293
|
+
"internalType": "uint256",
|
294
|
+
"name": "index",
|
295
|
+
"type": "uint256"
|
296
|
+
}
|
297
|
+
],
|
298
|
+
"name": "tokenOfOwnerByIndex",
|
299
|
+
"outputs": [
|
300
|
+
{
|
301
|
+
"internalType": "uint256",
|
302
|
+
"name": "tokenId",
|
303
|
+
"type": "uint256"
|
304
|
+
}
|
305
|
+
],
|
306
|
+
"stateMutability": "view",
|
307
|
+
"type": "function"
|
308
|
+
},
|
309
|
+
{
|
310
|
+
"inputs": [],
|
311
|
+
"name": "totalSupply",
|
312
|
+
"outputs": [
|
313
|
+
{
|
314
|
+
"internalType": "uint256",
|
315
|
+
"name": "",
|
316
|
+
"type": "uint256"
|
317
|
+
}
|
318
|
+
],
|
319
|
+
"stateMutability": "view",
|
320
|
+
"type": "function"
|
321
|
+
},
|
322
|
+
{
|
323
|
+
"inputs": [
|
324
|
+
{
|
325
|
+
"internalType": "address",
|
326
|
+
"name": "from",
|
327
|
+
"type": "address"
|
328
|
+
},
|
329
|
+
{
|
330
|
+
"internalType": "address",
|
331
|
+
"name": "to",
|
332
|
+
"type": "address"
|
333
|
+
},
|
334
|
+
{
|
335
|
+
"internalType": "uint256",
|
336
|
+
"name": "tokenId",
|
337
|
+
"type": "uint256"
|
338
|
+
}
|
339
|
+
],
|
340
|
+
"name": "transferFrom",
|
341
|
+
"outputs": [],
|
342
|
+
"stateMutability": "nonpayable",
|
343
|
+
"type": "function"
|
344
|
+
}
|
345
|
+
],
|
346
|
+
"bytecode": "0x",
|
347
|
+
"deployedBytecode": "0x",
|
348
|
+
"linkReferences": {},
|
349
|
+
"deployedLinkReferences": {}
|
350
|
+
}
|
@@ -0,0 +1,339 @@
|
|
1
|
+
{
|
2
|
+
"contractName": "IERC721Metadata",
|
3
|
+
"abi": [
|
4
|
+
{
|
5
|
+
"anonymous": false,
|
6
|
+
"inputs": [
|
7
|
+
{
|
8
|
+
"indexed": true,
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "owner",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"indexed": true,
|
15
|
+
"internalType": "address",
|
16
|
+
"name": "approved",
|
17
|
+
"type": "address"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"indexed": true,
|
21
|
+
"internalType": "uint256",
|
22
|
+
"name": "tokenId",
|
23
|
+
"type": "uint256"
|
24
|
+
}
|
25
|
+
],
|
26
|
+
"name": "Approval",
|
27
|
+
"type": "event"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"anonymous": false,
|
31
|
+
"inputs": [
|
32
|
+
{
|
33
|
+
"indexed": true,
|
34
|
+
"internalType": "address",
|
35
|
+
"name": "owner",
|
36
|
+
"type": "address"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"indexed": true,
|
40
|
+
"internalType": "address",
|
41
|
+
"name": "operator",
|
42
|
+
"type": "address"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"indexed": false,
|
46
|
+
"internalType": "bool",
|
47
|
+
"name": "approved",
|
48
|
+
"type": "bool"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"name": "ApprovalForAll",
|
52
|
+
"type": "event"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"anonymous": false,
|
56
|
+
"inputs": [
|
57
|
+
{
|
58
|
+
"indexed": true,
|
59
|
+
"internalType": "address",
|
60
|
+
"name": "from",
|
61
|
+
"type": "address"
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"indexed": true,
|
65
|
+
"internalType": "address",
|
66
|
+
"name": "to",
|
67
|
+
"type": "address"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"indexed": true,
|
71
|
+
"internalType": "uint256",
|
72
|
+
"name": "tokenId",
|
73
|
+
"type": "uint256"
|
74
|
+
}
|
75
|
+
],
|
76
|
+
"name": "Transfer",
|
77
|
+
"type": "event"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"inputs": [
|
81
|
+
{
|
82
|
+
"internalType": "address",
|
83
|
+
"name": "to",
|
84
|
+
"type": "address"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"internalType": "uint256",
|
88
|
+
"name": "tokenId",
|
89
|
+
"type": "uint256"
|
90
|
+
}
|
91
|
+
],
|
92
|
+
"name": "approve",
|
93
|
+
"outputs": [],
|
94
|
+
"stateMutability": "nonpayable",
|
95
|
+
"type": "function"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"inputs": [
|
99
|
+
{
|
100
|
+
"internalType": "address",
|
101
|
+
"name": "owner",
|
102
|
+
"type": "address"
|
103
|
+
}
|
104
|
+
],
|
105
|
+
"name": "balanceOf",
|
106
|
+
"outputs": [
|
107
|
+
{
|
108
|
+
"internalType": "uint256",
|
109
|
+
"name": "balance",
|
110
|
+
"type": "uint256"
|
111
|
+
}
|
112
|
+
],
|
113
|
+
"stateMutability": "view",
|
114
|
+
"type": "function"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"inputs": [
|
118
|
+
{
|
119
|
+
"internalType": "uint256",
|
120
|
+
"name": "tokenId",
|
121
|
+
"type": "uint256"
|
122
|
+
}
|
123
|
+
],
|
124
|
+
"name": "getApproved",
|
125
|
+
"outputs": [
|
126
|
+
{
|
127
|
+
"internalType": "address",
|
128
|
+
"name": "operator",
|
129
|
+
"type": "address"
|
130
|
+
}
|
131
|
+
],
|
132
|
+
"stateMutability": "view",
|
133
|
+
"type": "function"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"inputs": [
|
137
|
+
{
|
138
|
+
"internalType": "address",
|
139
|
+
"name": "owner",
|
140
|
+
"type": "address"
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"internalType": "address",
|
144
|
+
"name": "operator",
|
145
|
+
"type": "address"
|
146
|
+
}
|
147
|
+
],
|
148
|
+
"name": "isApprovedForAll",
|
149
|
+
"outputs": [
|
150
|
+
{
|
151
|
+
"internalType": "bool",
|
152
|
+
"name": "",
|
153
|
+
"type": "bool"
|
154
|
+
}
|
155
|
+
],
|
156
|
+
"stateMutability": "view",
|
157
|
+
"type": "function"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"inputs": [],
|
161
|
+
"name": "name",
|
162
|
+
"outputs": [
|
163
|
+
{
|
164
|
+
"internalType": "string",
|
165
|
+
"name": "",
|
166
|
+
"type": "string"
|
167
|
+
}
|
168
|
+
],
|
169
|
+
"stateMutability": "view",
|
170
|
+
"type": "function"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"inputs": [
|
174
|
+
{
|
175
|
+
"internalType": "uint256",
|
176
|
+
"name": "tokenId",
|
177
|
+
"type": "uint256"
|
178
|
+
}
|
179
|
+
],
|
180
|
+
"name": "ownerOf",
|
181
|
+
"outputs": [
|
182
|
+
{
|
183
|
+
"internalType": "address",
|
184
|
+
"name": "owner",
|
185
|
+
"type": "address"
|
186
|
+
}
|
187
|
+
],
|
188
|
+
"stateMutability": "view",
|
189
|
+
"type": "function"
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"inputs": [
|
193
|
+
{
|
194
|
+
"internalType": "address",
|
195
|
+
"name": "from",
|
196
|
+
"type": "address"
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"internalType": "address",
|
200
|
+
"name": "to",
|
201
|
+
"type": "address"
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"internalType": "uint256",
|
205
|
+
"name": "tokenId",
|
206
|
+
"type": "uint256"
|
207
|
+
}
|
208
|
+
],
|
209
|
+
"name": "safeTransferFrom",
|
210
|
+
"outputs": [],
|
211
|
+
"stateMutability": "nonpayable",
|
212
|
+
"type": "function"
|
213
|
+
},
|
214
|
+
{
|
215
|
+
"inputs": [
|
216
|
+
{
|
217
|
+
"internalType": "address",
|
218
|
+
"name": "from",
|
219
|
+
"type": "address"
|
220
|
+
},
|
221
|
+
{
|
222
|
+
"internalType": "address",
|
223
|
+
"name": "to",
|
224
|
+
"type": "address"
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"internalType": "uint256",
|
228
|
+
"name": "tokenId",
|
229
|
+
"type": "uint256"
|
230
|
+
},
|
231
|
+
{
|
232
|
+
"internalType": "bytes",
|
233
|
+
"name": "data",
|
234
|
+
"type": "bytes"
|
235
|
+
}
|
236
|
+
],
|
237
|
+
"name": "safeTransferFrom",
|
238
|
+
"outputs": [],
|
239
|
+
"stateMutability": "nonpayable",
|
240
|
+
"type": "function"
|
241
|
+
},
|
242
|
+
{
|
243
|
+
"inputs": [
|
244
|
+
{
|
245
|
+
"internalType": "address",
|
246
|
+
"name": "operator",
|
247
|
+
"type": "address"
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"internalType": "bool",
|
251
|
+
"name": "_approved",
|
252
|
+
"type": "bool"
|
253
|
+
}
|
254
|
+
],
|
255
|
+
"name": "setApprovalForAll",
|
256
|
+
"outputs": [],
|
257
|
+
"stateMutability": "nonpayable",
|
258
|
+
"type": "function"
|
259
|
+
},
|
260
|
+
{
|
261
|
+
"inputs": [
|
262
|
+
{
|
263
|
+
"internalType": "bytes4",
|
264
|
+
"name": "interfaceId",
|
265
|
+
"type": "bytes4"
|
266
|
+
}
|
267
|
+
],
|
268
|
+
"name": "supportsInterface",
|
269
|
+
"outputs": [
|
270
|
+
{
|
271
|
+
"internalType": "bool",
|
272
|
+
"name": "",
|
273
|
+
"type": "bool"
|
274
|
+
}
|
275
|
+
],
|
276
|
+
"stateMutability": "view",
|
277
|
+
"type": "function"
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"inputs": [],
|
281
|
+
"name": "symbol",
|
282
|
+
"outputs": [
|
283
|
+
{
|
284
|
+
"internalType": "string",
|
285
|
+
"name": "",
|
286
|
+
"type": "string"
|
287
|
+
}
|
288
|
+
],
|
289
|
+
"stateMutability": "view",
|
290
|
+
"type": "function"
|
291
|
+
},
|
292
|
+
{
|
293
|
+
"inputs": [
|
294
|
+
{
|
295
|
+
"internalType": "uint256",
|
296
|
+
"name": "tokenId",
|
297
|
+
"type": "uint256"
|
298
|
+
}
|
299
|
+
],
|
300
|
+
"name": "tokenURI",
|
301
|
+
"outputs": [
|
302
|
+
{
|
303
|
+
"internalType": "string",
|
304
|
+
"name": "",
|
305
|
+
"type": "string"
|
306
|
+
}
|
307
|
+
],
|
308
|
+
"stateMutability": "view",
|
309
|
+
"type": "function"
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"inputs": [
|
313
|
+
{
|
314
|
+
"internalType": "address",
|
315
|
+
"name": "from",
|
316
|
+
"type": "address"
|
317
|
+
},
|
318
|
+
{
|
319
|
+
"internalType": "address",
|
320
|
+
"name": "to",
|
321
|
+
"type": "address"
|
322
|
+
},
|
323
|
+
{
|
324
|
+
"internalType": "uint256",
|
325
|
+
"name": "tokenId",
|
326
|
+
"type": "uint256"
|
327
|
+
}
|
328
|
+
],
|
329
|
+
"name": "transferFrom",
|
330
|
+
"outputs": [],
|
331
|
+
"stateMutability": "nonpayable",
|
332
|
+
"type": "function"
|
333
|
+
}
|
334
|
+
],
|
335
|
+
"bytecode": "0x",
|
336
|
+
"deployedBytecode": "0x",
|
337
|
+
"linkReferences": {},
|
338
|
+
"deployedLinkReferences": {}
|
339
|
+
}
|