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,43 @@
|
|
1
|
+
{
|
2
|
+
"contractName": "IERC721Receiver",
|
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": "tokenId",
|
19
|
+
"type": "uint256"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"internalType": "bytes",
|
23
|
+
"name": "data",
|
24
|
+
"type": "bytes"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"name": "onERC721Received",
|
28
|
+
"outputs": [
|
29
|
+
{
|
30
|
+
"internalType": "bytes4",
|
31
|
+
"name": "",
|
32
|
+
"type": "bytes4"
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"stateMutability": "nonpayable",
|
36
|
+
"type": "function"
|
37
|
+
}
|
38
|
+
],
|
39
|
+
"bytecode": "0x",
|
40
|
+
"deployedBytecode": "0x",
|
41
|
+
"linkReferences": {},
|
42
|
+
"deployedLinkReferences": {}
|
43
|
+
}
|
@@ -0,0 +1,400 @@
|
|
1
|
+
{
|
2
|
+
"contractName": "IERC777",
|
3
|
+
"abi": [
|
4
|
+
{
|
5
|
+
"anonymous": false,
|
6
|
+
"inputs": [
|
7
|
+
{
|
8
|
+
"indexed": true,
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "operator",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"indexed": true,
|
15
|
+
"internalType": "address",
|
16
|
+
"name": "tokenHolder",
|
17
|
+
"type": "address"
|
18
|
+
}
|
19
|
+
],
|
20
|
+
"name": "AuthorizedOperator",
|
21
|
+
"type": "event"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"anonymous": false,
|
25
|
+
"inputs": [
|
26
|
+
{
|
27
|
+
"indexed": true,
|
28
|
+
"internalType": "address",
|
29
|
+
"name": "operator",
|
30
|
+
"type": "address"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"indexed": true,
|
34
|
+
"internalType": "address",
|
35
|
+
"name": "from",
|
36
|
+
"type": "address"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"indexed": false,
|
40
|
+
"internalType": "uint256",
|
41
|
+
"name": "amount",
|
42
|
+
"type": "uint256"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"indexed": false,
|
46
|
+
"internalType": "bytes",
|
47
|
+
"name": "data",
|
48
|
+
"type": "bytes"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"indexed": false,
|
52
|
+
"internalType": "bytes",
|
53
|
+
"name": "operatorData",
|
54
|
+
"type": "bytes"
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"name": "Burned",
|
58
|
+
"type": "event"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"anonymous": false,
|
62
|
+
"inputs": [
|
63
|
+
{
|
64
|
+
"indexed": true,
|
65
|
+
"internalType": "address",
|
66
|
+
"name": "operator",
|
67
|
+
"type": "address"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"indexed": true,
|
71
|
+
"internalType": "address",
|
72
|
+
"name": "to",
|
73
|
+
"type": "address"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"indexed": false,
|
77
|
+
"internalType": "uint256",
|
78
|
+
"name": "amount",
|
79
|
+
"type": "uint256"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"indexed": false,
|
83
|
+
"internalType": "bytes",
|
84
|
+
"name": "data",
|
85
|
+
"type": "bytes"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"indexed": false,
|
89
|
+
"internalType": "bytes",
|
90
|
+
"name": "operatorData",
|
91
|
+
"type": "bytes"
|
92
|
+
}
|
93
|
+
],
|
94
|
+
"name": "Minted",
|
95
|
+
"type": "event"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"anonymous": false,
|
99
|
+
"inputs": [
|
100
|
+
{
|
101
|
+
"indexed": true,
|
102
|
+
"internalType": "address",
|
103
|
+
"name": "operator",
|
104
|
+
"type": "address"
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"indexed": true,
|
108
|
+
"internalType": "address",
|
109
|
+
"name": "tokenHolder",
|
110
|
+
"type": "address"
|
111
|
+
}
|
112
|
+
],
|
113
|
+
"name": "RevokedOperator",
|
114
|
+
"type": "event"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"anonymous": false,
|
118
|
+
"inputs": [
|
119
|
+
{
|
120
|
+
"indexed": true,
|
121
|
+
"internalType": "address",
|
122
|
+
"name": "operator",
|
123
|
+
"type": "address"
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"indexed": true,
|
127
|
+
"internalType": "address",
|
128
|
+
"name": "from",
|
129
|
+
"type": "address"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"indexed": true,
|
133
|
+
"internalType": "address",
|
134
|
+
"name": "to",
|
135
|
+
"type": "address"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"indexed": false,
|
139
|
+
"internalType": "uint256",
|
140
|
+
"name": "amount",
|
141
|
+
"type": "uint256"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"indexed": false,
|
145
|
+
"internalType": "bytes",
|
146
|
+
"name": "data",
|
147
|
+
"type": "bytes"
|
148
|
+
},
|
149
|
+
{
|
150
|
+
"indexed": false,
|
151
|
+
"internalType": "bytes",
|
152
|
+
"name": "operatorData",
|
153
|
+
"type": "bytes"
|
154
|
+
}
|
155
|
+
],
|
156
|
+
"name": "Sent",
|
157
|
+
"type": "event"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"inputs": [
|
161
|
+
{
|
162
|
+
"internalType": "address",
|
163
|
+
"name": "operator",
|
164
|
+
"type": "address"
|
165
|
+
}
|
166
|
+
],
|
167
|
+
"name": "authorizeOperator",
|
168
|
+
"outputs": [],
|
169
|
+
"stateMutability": "nonpayable",
|
170
|
+
"type": "function"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"inputs": [
|
174
|
+
{
|
175
|
+
"internalType": "address",
|
176
|
+
"name": "owner",
|
177
|
+
"type": "address"
|
178
|
+
}
|
179
|
+
],
|
180
|
+
"name": "balanceOf",
|
181
|
+
"outputs": [
|
182
|
+
{
|
183
|
+
"internalType": "uint256",
|
184
|
+
"name": "",
|
185
|
+
"type": "uint256"
|
186
|
+
}
|
187
|
+
],
|
188
|
+
"stateMutability": "view",
|
189
|
+
"type": "function"
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"inputs": [
|
193
|
+
{
|
194
|
+
"internalType": "uint256",
|
195
|
+
"name": "amount",
|
196
|
+
"type": "uint256"
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"internalType": "bytes",
|
200
|
+
"name": "data",
|
201
|
+
"type": "bytes"
|
202
|
+
}
|
203
|
+
],
|
204
|
+
"name": "burn",
|
205
|
+
"outputs": [],
|
206
|
+
"stateMutability": "nonpayable",
|
207
|
+
"type": "function"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"inputs": [],
|
211
|
+
"name": "defaultOperators",
|
212
|
+
"outputs": [
|
213
|
+
{
|
214
|
+
"internalType": "address[]",
|
215
|
+
"name": "",
|
216
|
+
"type": "address[]"
|
217
|
+
}
|
218
|
+
],
|
219
|
+
"stateMutability": "view",
|
220
|
+
"type": "function"
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"inputs": [],
|
224
|
+
"name": "granularity",
|
225
|
+
"outputs": [
|
226
|
+
{
|
227
|
+
"internalType": "uint256",
|
228
|
+
"name": "",
|
229
|
+
"type": "uint256"
|
230
|
+
}
|
231
|
+
],
|
232
|
+
"stateMutability": "view",
|
233
|
+
"type": "function"
|
234
|
+
},
|
235
|
+
{
|
236
|
+
"inputs": [
|
237
|
+
{
|
238
|
+
"internalType": "address",
|
239
|
+
"name": "operator",
|
240
|
+
"type": "address"
|
241
|
+
},
|
242
|
+
{
|
243
|
+
"internalType": "address",
|
244
|
+
"name": "tokenHolder",
|
245
|
+
"type": "address"
|
246
|
+
}
|
247
|
+
],
|
248
|
+
"name": "isOperatorFor",
|
249
|
+
"outputs": [
|
250
|
+
{
|
251
|
+
"internalType": "bool",
|
252
|
+
"name": "",
|
253
|
+
"type": "bool"
|
254
|
+
}
|
255
|
+
],
|
256
|
+
"stateMutability": "view",
|
257
|
+
"type": "function"
|
258
|
+
},
|
259
|
+
{
|
260
|
+
"inputs": [],
|
261
|
+
"name": "name",
|
262
|
+
"outputs": [
|
263
|
+
{
|
264
|
+
"internalType": "string",
|
265
|
+
"name": "",
|
266
|
+
"type": "string"
|
267
|
+
}
|
268
|
+
],
|
269
|
+
"stateMutability": "view",
|
270
|
+
"type": "function"
|
271
|
+
},
|
272
|
+
{
|
273
|
+
"inputs": [
|
274
|
+
{
|
275
|
+
"internalType": "address",
|
276
|
+
"name": "account",
|
277
|
+
"type": "address"
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"internalType": "uint256",
|
281
|
+
"name": "amount",
|
282
|
+
"type": "uint256"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"internalType": "bytes",
|
286
|
+
"name": "data",
|
287
|
+
"type": "bytes"
|
288
|
+
},
|
289
|
+
{
|
290
|
+
"internalType": "bytes",
|
291
|
+
"name": "operatorData",
|
292
|
+
"type": "bytes"
|
293
|
+
}
|
294
|
+
],
|
295
|
+
"name": "operatorBurn",
|
296
|
+
"outputs": [],
|
297
|
+
"stateMutability": "nonpayable",
|
298
|
+
"type": "function"
|
299
|
+
},
|
300
|
+
{
|
301
|
+
"inputs": [
|
302
|
+
{
|
303
|
+
"internalType": "address",
|
304
|
+
"name": "sender",
|
305
|
+
"type": "address"
|
306
|
+
},
|
307
|
+
{
|
308
|
+
"internalType": "address",
|
309
|
+
"name": "recipient",
|
310
|
+
"type": "address"
|
311
|
+
},
|
312
|
+
{
|
313
|
+
"internalType": "uint256",
|
314
|
+
"name": "amount",
|
315
|
+
"type": "uint256"
|
316
|
+
},
|
317
|
+
{
|
318
|
+
"internalType": "bytes",
|
319
|
+
"name": "data",
|
320
|
+
"type": "bytes"
|
321
|
+
},
|
322
|
+
{
|
323
|
+
"internalType": "bytes",
|
324
|
+
"name": "operatorData",
|
325
|
+
"type": "bytes"
|
326
|
+
}
|
327
|
+
],
|
328
|
+
"name": "operatorSend",
|
329
|
+
"outputs": [],
|
330
|
+
"stateMutability": "nonpayable",
|
331
|
+
"type": "function"
|
332
|
+
},
|
333
|
+
{
|
334
|
+
"inputs": [
|
335
|
+
{
|
336
|
+
"internalType": "address",
|
337
|
+
"name": "operator",
|
338
|
+
"type": "address"
|
339
|
+
}
|
340
|
+
],
|
341
|
+
"name": "revokeOperator",
|
342
|
+
"outputs": [],
|
343
|
+
"stateMutability": "nonpayable",
|
344
|
+
"type": "function"
|
345
|
+
},
|
346
|
+
{
|
347
|
+
"inputs": [
|
348
|
+
{
|
349
|
+
"internalType": "address",
|
350
|
+
"name": "recipient",
|
351
|
+
"type": "address"
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"internalType": "uint256",
|
355
|
+
"name": "amount",
|
356
|
+
"type": "uint256"
|
357
|
+
},
|
358
|
+
{
|
359
|
+
"internalType": "bytes",
|
360
|
+
"name": "data",
|
361
|
+
"type": "bytes"
|
362
|
+
}
|
363
|
+
],
|
364
|
+
"name": "send",
|
365
|
+
"outputs": [],
|
366
|
+
"stateMutability": "nonpayable",
|
367
|
+
"type": "function"
|
368
|
+
},
|
369
|
+
{
|
370
|
+
"inputs": [],
|
371
|
+
"name": "symbol",
|
372
|
+
"outputs": [
|
373
|
+
{
|
374
|
+
"internalType": "string",
|
375
|
+
"name": "",
|
376
|
+
"type": "string"
|
377
|
+
}
|
378
|
+
],
|
379
|
+
"stateMutability": "view",
|
380
|
+
"type": "function"
|
381
|
+
},
|
382
|
+
{
|
383
|
+
"inputs": [],
|
384
|
+
"name": "totalSupply",
|
385
|
+
"outputs": [
|
386
|
+
{
|
387
|
+
"internalType": "uint256",
|
388
|
+
"name": "",
|
389
|
+
"type": "uint256"
|
390
|
+
}
|
391
|
+
],
|
392
|
+
"stateMutability": "view",
|
393
|
+
"type": "function"
|
394
|
+
}
|
395
|
+
],
|
396
|
+
"bytecode": "0x",
|
397
|
+
"deployedBytecode": "0x",
|
398
|
+
"linkReferences": {},
|
399
|
+
"deployedLinkReferences": {}
|
400
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
{
|
2
|
+
"contractName": "IERC777Recipient",
|
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": "address",
|
18
|
+
"name": "to",
|
19
|
+
"type": "address"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"internalType": "uint256",
|
23
|
+
"name": "amount",
|
24
|
+
"type": "uint256"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"internalType": "bytes",
|
28
|
+
"name": "userData",
|
29
|
+
"type": "bytes"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"internalType": "bytes",
|
33
|
+
"name": "operatorData",
|
34
|
+
"type": "bytes"
|
35
|
+
}
|
36
|
+
],
|
37
|
+
"name": "tokensReceived",
|
38
|
+
"outputs": [],
|
39
|
+
"stateMutability": "nonpayable",
|
40
|
+
"type": "function"
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"bytecode": "0x",
|
44
|
+
"deployedBytecode": "0x",
|
45
|
+
"linkReferences": {},
|
46
|
+
"deployedLinkReferences": {}
|
47
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
{
|
2
|
+
"contractName": "IERC777Sender",
|
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": "address",
|
18
|
+
"name": "to",
|
19
|
+
"type": "address"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"internalType": "uint256",
|
23
|
+
"name": "amount",
|
24
|
+
"type": "uint256"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"internalType": "bytes",
|
28
|
+
"name": "userData",
|
29
|
+
"type": "bytes"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"internalType": "bytes",
|
33
|
+
"name": "operatorData",
|
34
|
+
"type": "bytes"
|
35
|
+
}
|
36
|
+
],
|
37
|
+
"name": "tokensToSend",
|
38
|
+
"outputs": [],
|
39
|
+
"stateMutability": "nonpayable",
|
40
|
+
"type": "function"
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"bytecode": "0x",
|
44
|
+
"deployedBytecode": "0x",
|
45
|
+
"linkReferences": {},
|
46
|
+
"deployedLinkReferences": {}
|
47
|
+
}
|