openzepplin-solidity 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 openzepplin-solidity 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/ox9iq2q6.cjs +1 -0
- package/package.json +64 -4
@@ -0,0 +1,321 @@
|
|
1
|
+
{
|
2
|
+
"contractName": "IERC1155MetadataURI",
|
3
|
+
"abi": [
|
4
|
+
{
|
5
|
+
"anonymous": false,
|
6
|
+
"inputs": [
|
7
|
+
{
|
8
|
+
"indexed": true,
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "account",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"indexed": true,
|
15
|
+
"internalType": "address",
|
16
|
+
"name": "operator",
|
17
|
+
"type": "address"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"indexed": false,
|
21
|
+
"internalType": "bool",
|
22
|
+
"name": "approved",
|
23
|
+
"type": "bool"
|
24
|
+
}
|
25
|
+
],
|
26
|
+
"name": "ApprovalForAll",
|
27
|
+
"type": "event"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"anonymous": false,
|
31
|
+
"inputs": [
|
32
|
+
{
|
33
|
+
"indexed": true,
|
34
|
+
"internalType": "address",
|
35
|
+
"name": "operator",
|
36
|
+
"type": "address"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"indexed": true,
|
40
|
+
"internalType": "address",
|
41
|
+
"name": "from",
|
42
|
+
"type": "address"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"indexed": true,
|
46
|
+
"internalType": "address",
|
47
|
+
"name": "to",
|
48
|
+
"type": "address"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"indexed": false,
|
52
|
+
"internalType": "uint256[]",
|
53
|
+
"name": "ids",
|
54
|
+
"type": "uint256[]"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"indexed": false,
|
58
|
+
"internalType": "uint256[]",
|
59
|
+
"name": "values",
|
60
|
+
"type": "uint256[]"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"name": "TransferBatch",
|
64
|
+
"type": "event"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"anonymous": false,
|
68
|
+
"inputs": [
|
69
|
+
{
|
70
|
+
"indexed": true,
|
71
|
+
"internalType": "address",
|
72
|
+
"name": "operator",
|
73
|
+
"type": "address"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"indexed": true,
|
77
|
+
"internalType": "address",
|
78
|
+
"name": "from",
|
79
|
+
"type": "address"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"indexed": true,
|
83
|
+
"internalType": "address",
|
84
|
+
"name": "to",
|
85
|
+
"type": "address"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"indexed": false,
|
89
|
+
"internalType": "uint256",
|
90
|
+
"name": "id",
|
91
|
+
"type": "uint256"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"indexed": false,
|
95
|
+
"internalType": "uint256",
|
96
|
+
"name": "value",
|
97
|
+
"type": "uint256"
|
98
|
+
}
|
99
|
+
],
|
100
|
+
"name": "TransferSingle",
|
101
|
+
"type": "event"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"anonymous": false,
|
105
|
+
"inputs": [
|
106
|
+
{
|
107
|
+
"indexed": false,
|
108
|
+
"internalType": "string",
|
109
|
+
"name": "value",
|
110
|
+
"type": "string"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"indexed": true,
|
114
|
+
"internalType": "uint256",
|
115
|
+
"name": "id",
|
116
|
+
"type": "uint256"
|
117
|
+
}
|
118
|
+
],
|
119
|
+
"name": "URI",
|
120
|
+
"type": "event"
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"inputs": [
|
124
|
+
{
|
125
|
+
"internalType": "address",
|
126
|
+
"name": "account",
|
127
|
+
"type": "address"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"internalType": "uint256",
|
131
|
+
"name": "id",
|
132
|
+
"type": "uint256"
|
133
|
+
}
|
134
|
+
],
|
135
|
+
"name": "balanceOf",
|
136
|
+
"outputs": [
|
137
|
+
{
|
138
|
+
"internalType": "uint256",
|
139
|
+
"name": "",
|
140
|
+
"type": "uint256"
|
141
|
+
}
|
142
|
+
],
|
143
|
+
"stateMutability": "view",
|
144
|
+
"type": "function"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"inputs": [
|
148
|
+
{
|
149
|
+
"internalType": "address[]",
|
150
|
+
"name": "accounts",
|
151
|
+
"type": "address[]"
|
152
|
+
},
|
153
|
+
{
|
154
|
+
"internalType": "uint256[]",
|
155
|
+
"name": "ids",
|
156
|
+
"type": "uint256[]"
|
157
|
+
}
|
158
|
+
],
|
159
|
+
"name": "balanceOfBatch",
|
160
|
+
"outputs": [
|
161
|
+
{
|
162
|
+
"internalType": "uint256[]",
|
163
|
+
"name": "",
|
164
|
+
"type": "uint256[]"
|
165
|
+
}
|
166
|
+
],
|
167
|
+
"stateMutability": "view",
|
168
|
+
"type": "function"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"inputs": [
|
172
|
+
{
|
173
|
+
"internalType": "address",
|
174
|
+
"name": "account",
|
175
|
+
"type": "address"
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"internalType": "address",
|
179
|
+
"name": "operator",
|
180
|
+
"type": "address"
|
181
|
+
}
|
182
|
+
],
|
183
|
+
"name": "isApprovedForAll",
|
184
|
+
"outputs": [
|
185
|
+
{
|
186
|
+
"internalType": "bool",
|
187
|
+
"name": "",
|
188
|
+
"type": "bool"
|
189
|
+
}
|
190
|
+
],
|
191
|
+
"stateMutability": "view",
|
192
|
+
"type": "function"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"inputs": [
|
196
|
+
{
|
197
|
+
"internalType": "address",
|
198
|
+
"name": "from",
|
199
|
+
"type": "address"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"internalType": "address",
|
203
|
+
"name": "to",
|
204
|
+
"type": "address"
|
205
|
+
},
|
206
|
+
{
|
207
|
+
"internalType": "uint256[]",
|
208
|
+
"name": "ids",
|
209
|
+
"type": "uint256[]"
|
210
|
+
},
|
211
|
+
{
|
212
|
+
"internalType": "uint256[]",
|
213
|
+
"name": "amounts",
|
214
|
+
"type": "uint256[]"
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"internalType": "bytes",
|
218
|
+
"name": "data",
|
219
|
+
"type": "bytes"
|
220
|
+
}
|
221
|
+
],
|
222
|
+
"name": "safeBatchTransferFrom",
|
223
|
+
"outputs": [],
|
224
|
+
"stateMutability": "nonpayable",
|
225
|
+
"type": "function"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"inputs": [
|
229
|
+
{
|
230
|
+
"internalType": "address",
|
231
|
+
"name": "from",
|
232
|
+
"type": "address"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"internalType": "address",
|
236
|
+
"name": "to",
|
237
|
+
"type": "address"
|
238
|
+
},
|
239
|
+
{
|
240
|
+
"internalType": "uint256",
|
241
|
+
"name": "id",
|
242
|
+
"type": "uint256"
|
243
|
+
},
|
244
|
+
{
|
245
|
+
"internalType": "uint256",
|
246
|
+
"name": "amount",
|
247
|
+
"type": "uint256"
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"internalType": "bytes",
|
251
|
+
"name": "data",
|
252
|
+
"type": "bytes"
|
253
|
+
}
|
254
|
+
],
|
255
|
+
"name": "safeTransferFrom",
|
256
|
+
"outputs": [],
|
257
|
+
"stateMutability": "nonpayable",
|
258
|
+
"type": "function"
|
259
|
+
},
|
260
|
+
{
|
261
|
+
"inputs": [
|
262
|
+
{
|
263
|
+
"internalType": "address",
|
264
|
+
"name": "operator",
|
265
|
+
"type": "address"
|
266
|
+
},
|
267
|
+
{
|
268
|
+
"internalType": "bool",
|
269
|
+
"name": "approved",
|
270
|
+
"type": "bool"
|
271
|
+
}
|
272
|
+
],
|
273
|
+
"name": "setApprovalForAll",
|
274
|
+
"outputs": [],
|
275
|
+
"stateMutability": "nonpayable",
|
276
|
+
"type": "function"
|
277
|
+
},
|
278
|
+
{
|
279
|
+
"inputs": [
|
280
|
+
{
|
281
|
+
"internalType": "bytes4",
|
282
|
+
"name": "interfaceId",
|
283
|
+
"type": "bytes4"
|
284
|
+
}
|
285
|
+
],
|
286
|
+
"name": "supportsInterface",
|
287
|
+
"outputs": [
|
288
|
+
{
|
289
|
+
"internalType": "bool",
|
290
|
+
"name": "",
|
291
|
+
"type": "bool"
|
292
|
+
}
|
293
|
+
],
|
294
|
+
"stateMutability": "view",
|
295
|
+
"type": "function"
|
296
|
+
},
|
297
|
+
{
|
298
|
+
"inputs": [
|
299
|
+
{
|
300
|
+
"internalType": "uint256",
|
301
|
+
"name": "id",
|
302
|
+
"type": "uint256"
|
303
|
+
}
|
304
|
+
],
|
305
|
+
"name": "uri",
|
306
|
+
"outputs": [
|
307
|
+
{
|
308
|
+
"internalType": "string",
|
309
|
+
"name": "",
|
310
|
+
"type": "string"
|
311
|
+
}
|
312
|
+
],
|
313
|
+
"stateMutability": "view",
|
314
|
+
"type": "function"
|
315
|
+
}
|
316
|
+
],
|
317
|
+
"bytecode": "0x",
|
318
|
+
"deployedBytecode": "0x",
|
319
|
+
"linkReferences": {},
|
320
|
+
"deployedLinkReferences": {}
|
321
|
+
}
|
@@ -0,0 +1,106 @@
|
|
1
|
+
{
|
2
|
+
"contractName": "IERC1155Receiver",
|
3
|
+
"abi": [
|
4
|
+
{
|
5
|
+
"inputs": [
|
6
|
+
{
|
7
|
+
"internalType": "address",
|
8
|
+
"name": "operator",
|
9
|
+
"type": "address"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"internalType": "address",
|
13
|
+
"name": "from",
|
14
|
+
"type": "address"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"internalType": "uint256[]",
|
18
|
+
"name": "ids",
|
19
|
+
"type": "uint256[]"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"internalType": "uint256[]",
|
23
|
+
"name": "values",
|
24
|
+
"type": "uint256[]"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"internalType": "bytes",
|
28
|
+
"name": "data",
|
29
|
+
"type": "bytes"
|
30
|
+
}
|
31
|
+
],
|
32
|
+
"name": "onERC1155BatchReceived",
|
33
|
+
"outputs": [
|
34
|
+
{
|
35
|
+
"internalType": "bytes4",
|
36
|
+
"name": "",
|
37
|
+
"type": "bytes4"
|
38
|
+
}
|
39
|
+
],
|
40
|
+
"stateMutability": "nonpayable",
|
41
|
+
"type": "function"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"inputs": [
|
45
|
+
{
|
46
|
+
"internalType": "address",
|
47
|
+
"name": "operator",
|
48
|
+
"type": "address"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"internalType": "address",
|
52
|
+
"name": "from",
|
53
|
+
"type": "address"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"internalType": "uint256",
|
57
|
+
"name": "id",
|
58
|
+
"type": "uint256"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"internalType": "uint256",
|
62
|
+
"name": "value",
|
63
|
+
"type": "uint256"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"internalType": "bytes",
|
67
|
+
"name": "data",
|
68
|
+
"type": "bytes"
|
69
|
+
}
|
70
|
+
],
|
71
|
+
"name": "onERC1155Received",
|
72
|
+
"outputs": [
|
73
|
+
{
|
74
|
+
"internalType": "bytes4",
|
75
|
+
"name": "",
|
76
|
+
"type": "bytes4"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"stateMutability": "nonpayable",
|
80
|
+
"type": "function"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"inputs": [
|
84
|
+
{
|
85
|
+
"internalType": "bytes4",
|
86
|
+
"name": "interfaceId",
|
87
|
+
"type": "bytes4"
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"name": "supportsInterface",
|
91
|
+
"outputs": [
|
92
|
+
{
|
93
|
+
"internalType": "bool",
|
94
|
+
"name": "",
|
95
|
+
"type": "bool"
|
96
|
+
}
|
97
|
+
],
|
98
|
+
"stateMutability": "view",
|
99
|
+
"type": "function"
|
100
|
+
}
|
101
|
+
],
|
102
|
+
"bytecode": "0x",
|
103
|
+
"deployedBytecode": "0x",
|
104
|
+
"linkReferences": {},
|
105
|
+
"deployedLinkReferences": {}
|
106
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"contractName": "IERC165",
|
3
|
+
"abi": [
|
4
|
+
{
|
5
|
+
"inputs": [
|
6
|
+
{
|
7
|
+
"internalType": "bytes4",
|
8
|
+
"name": "interfaceId",
|
9
|
+
"type": "bytes4"
|
10
|
+
}
|
11
|
+
],
|
12
|
+
"name": "supportsInterface",
|
13
|
+
"outputs": [
|
14
|
+
{
|
15
|
+
"internalType": "bool",
|
16
|
+
"name": "",
|
17
|
+
"type": "bool"
|
18
|
+
}
|
19
|
+
],
|
20
|
+
"stateMutability": "view",
|
21
|
+
"type": "function"
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"bytecode": "0x",
|
25
|
+
"deployedBytecode": "0x",
|
26
|
+
"linkReferences": {},
|
27
|
+
"deployedLinkReferences": {}
|
28
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{
|
2
|
+
"contractName": "IERC1820Implementer",
|
3
|
+
"abi": [
|
4
|
+
{
|
5
|
+
"inputs": [
|
6
|
+
{
|
7
|
+
"internalType": "bytes32",
|
8
|
+
"name": "interfaceHash",
|
9
|
+
"type": "bytes32"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"internalType": "address",
|
13
|
+
"name": "account",
|
14
|
+
"type": "address"
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"name": "canImplementInterfaceForAddress",
|
18
|
+
"outputs": [
|
19
|
+
{
|
20
|
+
"internalType": "bytes32",
|
21
|
+
"name": "",
|
22
|
+
"type": "bytes32"
|
23
|
+
}
|
24
|
+
],
|
25
|
+
"stateMutability": "view",
|
26
|
+
"type": "function"
|
27
|
+
}
|
28
|
+
],
|
29
|
+
"bytecode": "0x",
|
30
|
+
"deployedBytecode": "0x",
|
31
|
+
"linkReferences": {},
|
32
|
+
"deployedLinkReferences": {}
|
33
|
+
}
|
@@ -0,0 +1,222 @@
|
|
1
|
+
{
|
2
|
+
"contractName": "IERC1820Registry",
|
3
|
+
"abi": [
|
4
|
+
{
|
5
|
+
"anonymous": false,
|
6
|
+
"inputs": [
|
7
|
+
{
|
8
|
+
"indexed": true,
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "account",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"indexed": true,
|
15
|
+
"internalType": "bytes32",
|
16
|
+
"name": "interfaceHash",
|
17
|
+
"type": "bytes32"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"indexed": true,
|
21
|
+
"internalType": "address",
|
22
|
+
"name": "implementer",
|
23
|
+
"type": "address"
|
24
|
+
}
|
25
|
+
],
|
26
|
+
"name": "InterfaceImplementerSet",
|
27
|
+
"type": "event"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"anonymous": false,
|
31
|
+
"inputs": [
|
32
|
+
{
|
33
|
+
"indexed": true,
|
34
|
+
"internalType": "address",
|
35
|
+
"name": "account",
|
36
|
+
"type": "address"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"indexed": true,
|
40
|
+
"internalType": "address",
|
41
|
+
"name": "newManager",
|
42
|
+
"type": "address"
|
43
|
+
}
|
44
|
+
],
|
45
|
+
"name": "ManagerChanged",
|
46
|
+
"type": "event"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"inputs": [
|
50
|
+
{
|
51
|
+
"internalType": "address",
|
52
|
+
"name": "account",
|
53
|
+
"type": "address"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"internalType": "bytes32",
|
57
|
+
"name": "_interfaceHash",
|
58
|
+
"type": "bytes32"
|
59
|
+
}
|
60
|
+
],
|
61
|
+
"name": "getInterfaceImplementer",
|
62
|
+
"outputs": [
|
63
|
+
{
|
64
|
+
"internalType": "address",
|
65
|
+
"name": "",
|
66
|
+
"type": "address"
|
67
|
+
}
|
68
|
+
],
|
69
|
+
"stateMutability": "view",
|
70
|
+
"type": "function"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"inputs": [
|
74
|
+
{
|
75
|
+
"internalType": "address",
|
76
|
+
"name": "account",
|
77
|
+
"type": "address"
|
78
|
+
}
|
79
|
+
],
|
80
|
+
"name": "getManager",
|
81
|
+
"outputs": [
|
82
|
+
{
|
83
|
+
"internalType": "address",
|
84
|
+
"name": "",
|
85
|
+
"type": "address"
|
86
|
+
}
|
87
|
+
],
|
88
|
+
"stateMutability": "view",
|
89
|
+
"type": "function"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"inputs": [
|
93
|
+
{
|
94
|
+
"internalType": "address",
|
95
|
+
"name": "account",
|
96
|
+
"type": "address"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"internalType": "bytes4",
|
100
|
+
"name": "interfaceId",
|
101
|
+
"type": "bytes4"
|
102
|
+
}
|
103
|
+
],
|
104
|
+
"name": "implementsERC165Interface",
|
105
|
+
"outputs": [
|
106
|
+
{
|
107
|
+
"internalType": "bool",
|
108
|
+
"name": "",
|
109
|
+
"type": "bool"
|
110
|
+
}
|
111
|
+
],
|
112
|
+
"stateMutability": "view",
|
113
|
+
"type": "function"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"inputs": [
|
117
|
+
{
|
118
|
+
"internalType": "address",
|
119
|
+
"name": "account",
|
120
|
+
"type": "address"
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"internalType": "bytes4",
|
124
|
+
"name": "interfaceId",
|
125
|
+
"type": "bytes4"
|
126
|
+
}
|
127
|
+
],
|
128
|
+
"name": "implementsERC165InterfaceNoCache",
|
129
|
+
"outputs": [
|
130
|
+
{
|
131
|
+
"internalType": "bool",
|
132
|
+
"name": "",
|
133
|
+
"type": "bool"
|
134
|
+
}
|
135
|
+
],
|
136
|
+
"stateMutability": "view",
|
137
|
+
"type": "function"
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"inputs": [
|
141
|
+
{
|
142
|
+
"internalType": "string",
|
143
|
+
"name": "interfaceName",
|
144
|
+
"type": "string"
|
145
|
+
}
|
146
|
+
],
|
147
|
+
"name": "interfaceHash",
|
148
|
+
"outputs": [
|
149
|
+
{
|
150
|
+
"internalType": "bytes32",
|
151
|
+
"name": "",
|
152
|
+
"type": "bytes32"
|
153
|
+
}
|
154
|
+
],
|
155
|
+
"stateMutability": "pure",
|
156
|
+
"type": "function"
|
157
|
+
},
|
158
|
+
{
|
159
|
+
"inputs": [
|
160
|
+
{
|
161
|
+
"internalType": "address",
|
162
|
+
"name": "account",
|
163
|
+
"type": "address"
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"internalType": "bytes32",
|
167
|
+
"name": "_interfaceHash",
|
168
|
+
"type": "bytes32"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"internalType": "address",
|
172
|
+
"name": "implementer",
|
173
|
+
"type": "address"
|
174
|
+
}
|
175
|
+
],
|
176
|
+
"name": "setInterfaceImplementer",
|
177
|
+
"outputs": [],
|
178
|
+
"stateMutability": "nonpayable",
|
179
|
+
"type": "function"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"inputs": [
|
183
|
+
{
|
184
|
+
"internalType": "address",
|
185
|
+
"name": "account",
|
186
|
+
"type": "address"
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"internalType": "address",
|
190
|
+
"name": "newManager",
|
191
|
+
"type": "address"
|
192
|
+
}
|
193
|
+
],
|
194
|
+
"name": "setManager",
|
195
|
+
"outputs": [],
|
196
|
+
"stateMutability": "nonpayable",
|
197
|
+
"type": "function"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"inputs": [
|
201
|
+
{
|
202
|
+
"internalType": "address",
|
203
|
+
"name": "account",
|
204
|
+
"type": "address"
|
205
|
+
},
|
206
|
+
{
|
207
|
+
"internalType": "bytes4",
|
208
|
+
"name": "interfaceId",
|
209
|
+
"type": "bytes4"
|
210
|
+
}
|
211
|
+
],
|
212
|
+
"name": "updateERC165Cache",
|
213
|
+
"outputs": [],
|
214
|
+
"stateMutability": "nonpayable",
|
215
|
+
"type": "function"
|
216
|
+
}
|
217
|
+
],
|
218
|
+
"bytecode": "0x",
|
219
|
+
"deployedBytecode": "0x",
|
220
|
+
"linkReferences": {},
|
221
|
+
"deployedLinkReferences": {}
|
222
|
+
}
|