@cartesi/devnet 1.6.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.
- package/LICENSE +202 -0
- package/build/anvil_state.json +1 -0
- package/deployments/localhost/.chainId +1 -0
- package/deployments/localhost/AuthorityFactory.json +177 -0
- package/deployments/localhost/AuthorityHistoryPairFactory.json +276 -0
- package/deployments/localhost/Bitmask.json +44 -0
- package/deployments/localhost/CartesiDAppFactory.json +231 -0
- package/deployments/localhost/CartesiMathV2.json +213 -0
- package/deployments/localhost/DAppAddressRelay.json +102 -0
- package/deployments/localhost/ERC1155BatchPortal.json +133 -0
- package/deployments/localhost/ERC1155SinglePortal.json +132 -0
- package/deployments/localhost/ERC20Portal.json +120 -0
- package/deployments/localhost/ERC721Portal.json +126 -0
- package/deployments/localhost/EtherPortal.json +121 -0
- package/deployments/localhost/HistoryFactory.json +177 -0
- package/deployments/localhost/InputBox.json +207 -0
- package/deployments/localhost/MerkleV2.json +217 -0
- package/deployments/localhost/SelfHostedApplicationFactory.json +226 -0
- package/deployments/localhost/TestMultiToken.json +829 -0
- package/deployments/localhost/TestNFT.json +891 -0
- package/deployments/localhost/TestToken.json +1079 -0
- package/deployments/localhost/UnrolledCordic.json +54 -0
- package/dist/deploy/01_token.js +15 -0
- package/dist/deploy/02_nft.js +15 -0
- package/dist/deploy/03_multitoken.js +15 -0
- package/dist/src/tasks/deploy-anvil.d.ts +6 -0
- package/dist/src/tasks/deploy-anvil.d.ts.map +1 -0
- package/dist/src/tasks/deploy-anvil.js +38 -0
- package/export/abi/localhost.json +3205 -0
- package/export/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.json +128 -0
- package/export/artifacts/@openzeppelin/contracts/access/manager/AccessManaged.sol/AccessManaged.json +137 -0
- package/export/artifacts/@openzeppelin/contracts/access/manager/AuthorityUtils.sol/AuthorityUtils.json +32 -0
- package/export/artifacts/@openzeppelin/contracts/access/manager/IAccessManaged.sol/IAccessManaged.json +133 -0
- package/export/artifacts/@openzeppelin/contracts/access/manager/IAccessManager.sol/IAccessManager.json +1251 -0
- package/export/artifacts/@openzeppelin/contracts/access/manager/IAuthority.sol/IAuthority.json +60 -0
- package/export/artifacts/@openzeppelin/contracts/interfaces/IERC4906.sol/IERC4906.json +401 -0
- package/export/artifacts/@openzeppelin/contracts/interfaces/IERC5267.sol/IERC5267.json +84 -0
- package/export/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors.json +190 -0
- package/export/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors.json +165 -0
- package/export/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors.json +197 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC1155/ERC1155.sol/ERC1155.json +553 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155.sol/IERC1155.json +362 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol/IERC1155Receiver.json +156 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol/IERC1155MetadataURI.json +385 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json +436 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.json +242 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol/ERC20Burnable.json +472 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol/ERC20Pausable.json +502 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol/ERC20Permit.json +695 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.json +293 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol/IERC20Permit.json +114 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +595 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/IERC721.json +363 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol/IERC721Receiver.json +66 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol/ERC721URIStorage.json +630 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol/IERC721Metadata.json +421 -0
- package/export/artifacts/@openzeppelin/contracts/utils/Arrays.sol/Arrays.json +38 -0
- package/export/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.json +24 -0
- package/export/artifacts/@openzeppelin/contracts/utils/Nonces.sol/Nonces.json +73 -0
- package/export/artifacts/@openzeppelin/contracts/utils/Pausable.sol/Pausable.json +103 -0
- package/export/artifacts/@openzeppelin/contracts/utils/ShortStrings.sol/ShortStrings.json +55 -0
- package/export/artifacts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.json +40 -0
- package/export/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.json +62 -0
- package/export/artifacts/@openzeppelin/contracts/utils/cryptography/ECDSA.sol/ECDSA.json +84 -0
- package/export/artifacts/@openzeppelin/contracts/utils/cryptography/EIP712.sol/EIP712.json +105 -0
- package/export/artifacts/@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol/MessageHashUtils.json +36 -0
- package/export/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.json +50 -0
- package/export/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.json +50 -0
- package/export/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.json +65 -0
- package/export/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.json +173 -0
- package/export/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.json +36 -0
- package/export/artifacts/@openzeppelin/contracts/utils/types/Time.sol/Time.json +41 -0
- package/export/artifacts/contracts/TestMultiToken.sol/TestMultiToken.json +750 -0
- package/export/artifacts/contracts/TestNFT.sol/TestNFT.json +779 -0
- package/export/artifacts/contracts/TestToken.sol/TestToken.json +963 -0
- package/package.json +41 -0
package/export/artifacts/@openzeppelin/contracts/access/manager/IAuthority.sol/IAuthority.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contractName": "IAuthority",
|
|
3
|
+
"sourceName": "@openzeppelin/contracts/access/manager/IAuthority.sol",
|
|
4
|
+
"abi": [
|
|
5
|
+
{
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"internalType": "address",
|
|
9
|
+
"name": "caller",
|
|
10
|
+
"type": "address"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"internalType": "address",
|
|
14
|
+
"name": "target",
|
|
15
|
+
"type": "address"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"internalType": "bytes4",
|
|
19
|
+
"name": "selector",
|
|
20
|
+
"type": "bytes4"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"name": "canCall",
|
|
24
|
+
"outputs": [
|
|
25
|
+
{
|
|
26
|
+
"internalType": "bool",
|
|
27
|
+
"name": "allowed",
|
|
28
|
+
"type": "bool"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"stateMutability": "view",
|
|
32
|
+
"type": "function"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"bytecode": "0x",
|
|
36
|
+
"deployedBytecode": "0x",
|
|
37
|
+
"linkReferences": {},
|
|
38
|
+
"deployedLinkReferences": {},
|
|
39
|
+
"devdoc": {
|
|
40
|
+
"details": "Standard interface for permissioning originally defined in Dappsys.",
|
|
41
|
+
"kind": "dev",
|
|
42
|
+
"methods": {
|
|
43
|
+
"canCall(address,address,bytes4)": {
|
|
44
|
+
"details": "Returns true if the caller can invoke on a target the function identified by a function selector."
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"version": 1
|
|
48
|
+
},
|
|
49
|
+
"userdoc": {
|
|
50
|
+
"kind": "user",
|
|
51
|
+
"methods": {},
|
|
52
|
+
"version": 1
|
|
53
|
+
},
|
|
54
|
+
"evm": {
|
|
55
|
+
"gasEstimates": null,
|
|
56
|
+
"methodIdentifiers": {
|
|
57
|
+
"canCall(address,address,bytes4)": "b7009613"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contractName": "IERC4906",
|
|
3
|
+
"sourceName": "@openzeppelin/contracts/interfaces/IERC4906.sol",
|
|
4
|
+
"abi": [
|
|
5
|
+
{
|
|
6
|
+
"anonymous": false,
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"indexed": true,
|
|
10
|
+
"internalType": "address",
|
|
11
|
+
"name": "owner",
|
|
12
|
+
"type": "address"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"indexed": true,
|
|
16
|
+
"internalType": "address",
|
|
17
|
+
"name": "approved",
|
|
18
|
+
"type": "address"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"indexed": true,
|
|
22
|
+
"internalType": "uint256",
|
|
23
|
+
"name": "tokenId",
|
|
24
|
+
"type": "uint256"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"name": "Approval",
|
|
28
|
+
"type": "event"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"anonymous": false,
|
|
32
|
+
"inputs": [
|
|
33
|
+
{
|
|
34
|
+
"indexed": true,
|
|
35
|
+
"internalType": "address",
|
|
36
|
+
"name": "owner",
|
|
37
|
+
"type": "address"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"indexed": true,
|
|
41
|
+
"internalType": "address",
|
|
42
|
+
"name": "operator",
|
|
43
|
+
"type": "address"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"indexed": false,
|
|
47
|
+
"internalType": "bool",
|
|
48
|
+
"name": "approved",
|
|
49
|
+
"type": "bool"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"name": "ApprovalForAll",
|
|
53
|
+
"type": "event"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"anonymous": false,
|
|
57
|
+
"inputs": [
|
|
58
|
+
{
|
|
59
|
+
"indexed": false,
|
|
60
|
+
"internalType": "uint256",
|
|
61
|
+
"name": "_fromTokenId",
|
|
62
|
+
"type": "uint256"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"indexed": false,
|
|
66
|
+
"internalType": "uint256",
|
|
67
|
+
"name": "_toTokenId",
|
|
68
|
+
"type": "uint256"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"name": "BatchMetadataUpdate",
|
|
72
|
+
"type": "event"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"anonymous": false,
|
|
76
|
+
"inputs": [
|
|
77
|
+
{
|
|
78
|
+
"indexed": false,
|
|
79
|
+
"internalType": "uint256",
|
|
80
|
+
"name": "_tokenId",
|
|
81
|
+
"type": "uint256"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"name": "MetadataUpdate",
|
|
85
|
+
"type": "event"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"anonymous": false,
|
|
89
|
+
"inputs": [
|
|
90
|
+
{
|
|
91
|
+
"indexed": true,
|
|
92
|
+
"internalType": "address",
|
|
93
|
+
"name": "from",
|
|
94
|
+
"type": "address"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"indexed": true,
|
|
98
|
+
"internalType": "address",
|
|
99
|
+
"name": "to",
|
|
100
|
+
"type": "address"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"indexed": true,
|
|
104
|
+
"internalType": "uint256",
|
|
105
|
+
"name": "tokenId",
|
|
106
|
+
"type": "uint256"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"name": "Transfer",
|
|
110
|
+
"type": "event"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"inputs": [
|
|
114
|
+
{
|
|
115
|
+
"internalType": "address",
|
|
116
|
+
"name": "to",
|
|
117
|
+
"type": "address"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"internalType": "uint256",
|
|
121
|
+
"name": "tokenId",
|
|
122
|
+
"type": "uint256"
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"name": "approve",
|
|
126
|
+
"outputs": [],
|
|
127
|
+
"stateMutability": "nonpayable",
|
|
128
|
+
"type": "function"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"inputs": [
|
|
132
|
+
{
|
|
133
|
+
"internalType": "address",
|
|
134
|
+
"name": "owner",
|
|
135
|
+
"type": "address"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"name": "balanceOf",
|
|
139
|
+
"outputs": [
|
|
140
|
+
{
|
|
141
|
+
"internalType": "uint256",
|
|
142
|
+
"name": "balance",
|
|
143
|
+
"type": "uint256"
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"stateMutability": "view",
|
|
147
|
+
"type": "function"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"inputs": [
|
|
151
|
+
{
|
|
152
|
+
"internalType": "uint256",
|
|
153
|
+
"name": "tokenId",
|
|
154
|
+
"type": "uint256"
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"name": "getApproved",
|
|
158
|
+
"outputs": [
|
|
159
|
+
{
|
|
160
|
+
"internalType": "address",
|
|
161
|
+
"name": "operator",
|
|
162
|
+
"type": "address"
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
"stateMutability": "view",
|
|
166
|
+
"type": "function"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"inputs": [
|
|
170
|
+
{
|
|
171
|
+
"internalType": "address",
|
|
172
|
+
"name": "owner",
|
|
173
|
+
"type": "address"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"internalType": "address",
|
|
177
|
+
"name": "operator",
|
|
178
|
+
"type": "address"
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
"name": "isApprovedForAll",
|
|
182
|
+
"outputs": [
|
|
183
|
+
{
|
|
184
|
+
"internalType": "bool",
|
|
185
|
+
"name": "",
|
|
186
|
+
"type": "bool"
|
|
187
|
+
}
|
|
188
|
+
],
|
|
189
|
+
"stateMutability": "view",
|
|
190
|
+
"type": "function"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"inputs": [
|
|
194
|
+
{
|
|
195
|
+
"internalType": "uint256",
|
|
196
|
+
"name": "tokenId",
|
|
197
|
+
"type": "uint256"
|
|
198
|
+
}
|
|
199
|
+
],
|
|
200
|
+
"name": "ownerOf",
|
|
201
|
+
"outputs": [
|
|
202
|
+
{
|
|
203
|
+
"internalType": "address",
|
|
204
|
+
"name": "owner",
|
|
205
|
+
"type": "address"
|
|
206
|
+
}
|
|
207
|
+
],
|
|
208
|
+
"stateMutability": "view",
|
|
209
|
+
"type": "function"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"inputs": [
|
|
213
|
+
{
|
|
214
|
+
"internalType": "address",
|
|
215
|
+
"name": "from",
|
|
216
|
+
"type": "address"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"internalType": "address",
|
|
220
|
+
"name": "to",
|
|
221
|
+
"type": "address"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"internalType": "uint256",
|
|
225
|
+
"name": "tokenId",
|
|
226
|
+
"type": "uint256"
|
|
227
|
+
}
|
|
228
|
+
],
|
|
229
|
+
"name": "safeTransferFrom",
|
|
230
|
+
"outputs": [],
|
|
231
|
+
"stateMutability": "nonpayable",
|
|
232
|
+
"type": "function"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"inputs": [
|
|
236
|
+
{
|
|
237
|
+
"internalType": "address",
|
|
238
|
+
"name": "from",
|
|
239
|
+
"type": "address"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"internalType": "address",
|
|
243
|
+
"name": "to",
|
|
244
|
+
"type": "address"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"internalType": "uint256",
|
|
248
|
+
"name": "tokenId",
|
|
249
|
+
"type": "uint256"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"internalType": "bytes",
|
|
253
|
+
"name": "data",
|
|
254
|
+
"type": "bytes"
|
|
255
|
+
}
|
|
256
|
+
],
|
|
257
|
+
"name": "safeTransferFrom",
|
|
258
|
+
"outputs": [],
|
|
259
|
+
"stateMutability": "nonpayable",
|
|
260
|
+
"type": "function"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"inputs": [
|
|
264
|
+
{
|
|
265
|
+
"internalType": "address",
|
|
266
|
+
"name": "operator",
|
|
267
|
+
"type": "address"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"internalType": "bool",
|
|
271
|
+
"name": "approved",
|
|
272
|
+
"type": "bool"
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
"name": "setApprovalForAll",
|
|
276
|
+
"outputs": [],
|
|
277
|
+
"stateMutability": "nonpayable",
|
|
278
|
+
"type": "function"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"inputs": [
|
|
282
|
+
{
|
|
283
|
+
"internalType": "bytes4",
|
|
284
|
+
"name": "interfaceId",
|
|
285
|
+
"type": "bytes4"
|
|
286
|
+
}
|
|
287
|
+
],
|
|
288
|
+
"name": "supportsInterface",
|
|
289
|
+
"outputs": [
|
|
290
|
+
{
|
|
291
|
+
"internalType": "bool",
|
|
292
|
+
"name": "",
|
|
293
|
+
"type": "bool"
|
|
294
|
+
}
|
|
295
|
+
],
|
|
296
|
+
"stateMutability": "view",
|
|
297
|
+
"type": "function"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"inputs": [
|
|
301
|
+
{
|
|
302
|
+
"internalType": "address",
|
|
303
|
+
"name": "from",
|
|
304
|
+
"type": "address"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"internalType": "address",
|
|
308
|
+
"name": "to",
|
|
309
|
+
"type": "address"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"internalType": "uint256",
|
|
313
|
+
"name": "tokenId",
|
|
314
|
+
"type": "uint256"
|
|
315
|
+
}
|
|
316
|
+
],
|
|
317
|
+
"name": "transferFrom",
|
|
318
|
+
"outputs": [],
|
|
319
|
+
"stateMutability": "nonpayable",
|
|
320
|
+
"type": "function"
|
|
321
|
+
}
|
|
322
|
+
],
|
|
323
|
+
"bytecode": "0x",
|
|
324
|
+
"deployedBytecode": "0x",
|
|
325
|
+
"linkReferences": {},
|
|
326
|
+
"deployedLinkReferences": {},
|
|
327
|
+
"devdoc": {
|
|
328
|
+
"events": {
|
|
329
|
+
"Approval(address,address,uint256)": {
|
|
330
|
+
"details": "Emitted when `owner` enables `approved` to manage the `tokenId` token."
|
|
331
|
+
},
|
|
332
|
+
"ApprovalForAll(address,address,bool)": {
|
|
333
|
+
"details": "Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets."
|
|
334
|
+
},
|
|
335
|
+
"BatchMetadataUpdate(uint256,uint256)": {
|
|
336
|
+
"details": "This event emits when the metadata of a range of tokens is changed. So that the third-party platforms such as NFT market could timely update the images and related attributes of the NFTs."
|
|
337
|
+
},
|
|
338
|
+
"MetadataUpdate(uint256)": {
|
|
339
|
+
"details": "This event emits when the metadata of a token is changed. So that the third-party platforms such as NFT market could timely update the images and related attributes of the NFT."
|
|
340
|
+
},
|
|
341
|
+
"Transfer(address,address,uint256)": {
|
|
342
|
+
"details": "Emitted when `tokenId` token is transferred from `from` to `to`."
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"kind": "dev",
|
|
346
|
+
"methods": {
|
|
347
|
+
"approve(address,uint256)": {
|
|
348
|
+
"details": "Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event."
|
|
349
|
+
},
|
|
350
|
+
"balanceOf(address)": {
|
|
351
|
+
"details": "Returns the number of tokens in ``owner``'s account."
|
|
352
|
+
},
|
|
353
|
+
"getApproved(uint256)": {
|
|
354
|
+
"details": "Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist."
|
|
355
|
+
},
|
|
356
|
+
"isApprovedForAll(address,address)": {
|
|
357
|
+
"details": "Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}"
|
|
358
|
+
},
|
|
359
|
+
"ownerOf(uint256)": {
|
|
360
|
+
"details": "Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist."
|
|
361
|
+
},
|
|
362
|
+
"safeTransferFrom(address,address,uint256)": {
|
|
363
|
+
"details": "Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event."
|
|
364
|
+
},
|
|
365
|
+
"safeTransferFrom(address,address,uint256,bytes)": {
|
|
366
|
+
"details": "Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event."
|
|
367
|
+
},
|
|
368
|
+
"setApprovalForAll(address,bool)": {
|
|
369
|
+
"details": "Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the address zero. Emits an {ApprovalForAll} event."
|
|
370
|
+
},
|
|
371
|
+
"supportsInterface(bytes4)": {
|
|
372
|
+
"details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas."
|
|
373
|
+
},
|
|
374
|
+
"transferFrom(address,address,uint256)": {
|
|
375
|
+
"details": "Transfers `tokenId` token from `from` to `to`. WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must understand this adds an external call which potentially creates a reentrancy vulnerability. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event."
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
"title": "EIP-721 Metadata Update Extension",
|
|
379
|
+
"version": 1
|
|
380
|
+
},
|
|
381
|
+
"userdoc": {
|
|
382
|
+
"kind": "user",
|
|
383
|
+
"methods": {},
|
|
384
|
+
"version": 1
|
|
385
|
+
},
|
|
386
|
+
"evm": {
|
|
387
|
+
"gasEstimates": null,
|
|
388
|
+
"methodIdentifiers": {
|
|
389
|
+
"approve(address,uint256)": "095ea7b3",
|
|
390
|
+
"balanceOf(address)": "70a08231",
|
|
391
|
+
"getApproved(uint256)": "081812fc",
|
|
392
|
+
"isApprovedForAll(address,address)": "e985e9c5",
|
|
393
|
+
"ownerOf(uint256)": "6352211e",
|
|
394
|
+
"safeTransferFrom(address,address,uint256)": "42842e0e",
|
|
395
|
+
"safeTransferFrom(address,address,uint256,bytes)": "b88d4fde",
|
|
396
|
+
"setApprovalForAll(address,bool)": "a22cb465",
|
|
397
|
+
"supportsInterface(bytes4)": "01ffc9a7",
|
|
398
|
+
"transferFrom(address,address,uint256)": "23b872dd"
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contractName": "IERC5267",
|
|
3
|
+
"sourceName": "@openzeppelin/contracts/interfaces/IERC5267.sol",
|
|
4
|
+
"abi": [
|
|
5
|
+
{
|
|
6
|
+
"anonymous": false,
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "EIP712DomainChanged",
|
|
9
|
+
"type": "event"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"inputs": [],
|
|
13
|
+
"name": "eip712Domain",
|
|
14
|
+
"outputs": [
|
|
15
|
+
{
|
|
16
|
+
"internalType": "bytes1",
|
|
17
|
+
"name": "fields",
|
|
18
|
+
"type": "bytes1"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"internalType": "string",
|
|
22
|
+
"name": "name",
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"internalType": "string",
|
|
27
|
+
"name": "version",
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"internalType": "uint256",
|
|
32
|
+
"name": "chainId",
|
|
33
|
+
"type": "uint256"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"internalType": "address",
|
|
37
|
+
"name": "verifyingContract",
|
|
38
|
+
"type": "address"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"internalType": "bytes32",
|
|
42
|
+
"name": "salt",
|
|
43
|
+
"type": "bytes32"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"internalType": "uint256[]",
|
|
47
|
+
"name": "extensions",
|
|
48
|
+
"type": "uint256[]"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"stateMutability": "view",
|
|
52
|
+
"type": "function"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"bytecode": "0x",
|
|
56
|
+
"deployedBytecode": "0x",
|
|
57
|
+
"linkReferences": {},
|
|
58
|
+
"deployedLinkReferences": {},
|
|
59
|
+
"devdoc": {
|
|
60
|
+
"events": {
|
|
61
|
+
"EIP712DomainChanged()": {
|
|
62
|
+
"details": "MAY be emitted to signal that the domain could have changed."
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"kind": "dev",
|
|
66
|
+
"methods": {
|
|
67
|
+
"eip712Domain()": {
|
|
68
|
+
"details": "returns the fields and values that describe the domain separator used by this contract for EIP-712 signature."
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"version": 1
|
|
72
|
+
},
|
|
73
|
+
"userdoc": {
|
|
74
|
+
"kind": "user",
|
|
75
|
+
"methods": {},
|
|
76
|
+
"version": 1
|
|
77
|
+
},
|
|
78
|
+
"evm": {
|
|
79
|
+
"gasEstimates": null,
|
|
80
|
+
"methodIdentifiers": {
|
|
81
|
+
"eip712Domain()": "84b0196e"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|