@cartesi/devnet 2.0.0-alpha.1 → 2.0.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/anvil_state.json +1 -0
  2. package/deployments/anvil.json +1 -0
  3. package/deployments/arbitrum.json +1 -0
  4. package/deployments/arbitrumSepolia.json +1 -0
  5. package/deployments/base.json +1 -0
  6. package/deployments/baseSepolia.json +1 -0
  7. package/deployments/mainnet.json +1 -0
  8. package/deployments/optimism.json +1 -0
  9. package/deployments/optimismSepolia.json +1 -0
  10. package/deployments/sepolia.json +1 -0
  11. package/package.json +32 -42
  12. package/LICENSE +0 -202
  13. package/build/anvil_state.json +0 -1
  14. package/deployments/localhost/.chainId +0 -1
  15. package/deployments/localhost/ApplicationFactory.json +0 -227
  16. package/deployments/localhost/AuthorityFactory.json +0 -188
  17. package/deployments/localhost/ERC1155BatchPortal.json +0 -133
  18. package/deployments/localhost/ERC1155SinglePortal.json +0 -132
  19. package/deployments/localhost/ERC20Portal.json +0 -132
  20. package/deployments/localhost/ERC721Portal.json +0 -126
  21. package/deployments/localhost/EtherPortal.json +0 -121
  22. package/deployments/localhost/InputBox.json +0 -213
  23. package/deployments/localhost/QuorumFactory.json +0 -188
  24. package/deployments/localhost/SafeERC20Transfer.json +0 -118
  25. package/deployments/localhost/SelfHostedApplicationFactory.json +0 -227
  26. package/deployments/localhost/TestMultiToken.json +0 -829
  27. package/deployments/localhost/TestNFT.json +0 -891
  28. package/deployments/localhost/TestToken.json +0 -1079
  29. package/dist/deploy/01_token.js +0 -15
  30. package/dist/deploy/02_nft.js +0 -15
  31. package/dist/deploy/03_multitoken.js +0 -15
  32. package/dist/deploy/04_4337.js +0 -342
  33. package/dist/src/aa/constants.d.ts +0 -31
  34. package/dist/src/aa/constants.d.ts.map +0 -1
  35. package/dist/src/aa/constants.js +0 -65
  36. package/dist/src/tasks/deploy-anvil.d.ts +0 -6
  37. package/dist/src/tasks/deploy-anvil.d.ts.map +0 -1
  38. package/dist/src/tasks/deploy-anvil.js +0 -40
  39. package/export/abi/localhost.json +0 -2837
  40. package/export/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.json +0 -128
  41. package/export/artifacts/@openzeppelin/contracts/access/manager/AccessManaged.sol/AccessManaged.json +0 -137
  42. package/export/artifacts/@openzeppelin/contracts/access/manager/AuthorityUtils.sol/AuthorityUtils.json +0 -32
  43. package/export/artifacts/@openzeppelin/contracts/access/manager/IAccessManaged.sol/IAccessManaged.json +0 -133
  44. package/export/artifacts/@openzeppelin/contracts/access/manager/IAccessManager.sol/IAccessManager.json +0 -1240
  45. package/export/artifacts/@openzeppelin/contracts/access/manager/IAuthority.sol/IAuthority.json +0 -60
  46. package/export/artifacts/@openzeppelin/contracts/interfaces/IERC4906.sol/IERC4906.json +0 -401
  47. package/export/artifacts/@openzeppelin/contracts/interfaces/IERC5267.sol/IERC5267.json +0 -84
  48. package/export/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors.json +0 -190
  49. package/export/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors.json +0 -165
  50. package/export/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors.json +0 -197
  51. package/export/artifacts/@openzeppelin/contracts/token/ERC1155/ERC1155.sol/ERC1155.json +0 -553
  52. package/export/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155.sol/IERC1155.json +0 -362
  53. package/export/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol/IERC1155Receiver.json +0 -156
  54. package/export/artifacts/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol/IERC1155MetadataURI.json +0 -385
  55. package/export/artifacts/@openzeppelin/contracts/token/ERC1155/utils/ERC1155Utils.sol/ERC1155Utils.json +0 -34
  56. package/export/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json +0 -436
  57. package/export/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.json +0 -242
  58. package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol/ERC20Burnable.json +0 -472
  59. package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol/ERC20Pausable.json +0 -502
  60. package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol/ERC20Permit.json +0 -695
  61. package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.json +0 -293
  62. package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol/IERC20Permit.json +0 -114
  63. package/export/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +0 -595
  64. package/export/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/IERC721.json +0 -363
  65. package/export/artifacts/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol/IERC721Receiver.json +0 -66
  66. package/export/artifacts/@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol/ERC721URIStorage.json +0 -630
  67. package/export/artifacts/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol/IERC721Metadata.json +0 -421
  68. package/export/artifacts/@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol/ERC721Utils.json +0 -33
  69. package/export/artifacts/@openzeppelin/contracts/utils/Arrays.sol/Arrays.json +0 -61
  70. package/export/artifacts/@openzeppelin/contracts/utils/Comparators.sol/Comparators.json +0 -34
  71. package/export/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.json +0 -24
  72. package/export/artifacts/@openzeppelin/contracts/utils/Nonces.sol/Nonces.json +0 -73
  73. package/export/artifacts/@openzeppelin/contracts/utils/Panic.sol/Panic.json +0 -65
  74. package/export/artifacts/@openzeppelin/contracts/utils/Pausable.sol/Pausable.json +0 -103
  75. package/export/artifacts/@openzeppelin/contracts/utils/ShortStrings.sol/ShortStrings.json +0 -55
  76. package/export/artifacts/@openzeppelin/contracts/utils/SlotDerivation.sol/SlotDerivation.json +0 -42
  77. package/export/artifacts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.json +0 -41
  78. package/export/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.json +0 -63
  79. package/export/artifacts/@openzeppelin/contracts/utils/cryptography/ECDSA.sol/ECDSA.json +0 -84
  80. package/export/artifacts/@openzeppelin/contracts/utils/cryptography/EIP712.sol/EIP712.json +0 -105
  81. package/export/artifacts/@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol/MessageHashUtils.json +0 -36
  82. package/export/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.json +0 -50
  83. package/export/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.json +0 -50
  84. package/export/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.json +0 -60
  85. package/export/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.json +0 -174
  86. package/export/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.json +0 -37
  87. package/export/artifacts/@openzeppelin/contracts/utils/types/Time.sol/Time.json +0 -41
  88. package/export/artifacts/contracts/TestMultiToken.sol/TestMultiToken.json +0 -750
  89. package/export/artifacts/contracts/TestNFT.sol/TestNFT.json +0 -779
  90. package/export/artifacts/contracts/TestToken.sol/TestToken.json +0 -963
@@ -1,421 +0,0 @@
1
- {
2
- "contractName": "IERC721Metadata",
3
- "sourceName": "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.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": true,
60
- "internalType": "address",
61
- "name": "from",
62
- "type": "address"
63
- },
64
- {
65
- "indexed": true,
66
- "internalType": "address",
67
- "name": "to",
68
- "type": "address"
69
- },
70
- {
71
- "indexed": true,
72
- "internalType": "uint256",
73
- "name": "tokenId",
74
- "type": "uint256"
75
- }
76
- ],
77
- "name": "Transfer",
78
- "type": "event"
79
- },
80
- {
81
- "inputs": [
82
- {
83
- "internalType": "address",
84
- "name": "to",
85
- "type": "address"
86
- },
87
- {
88
- "internalType": "uint256",
89
- "name": "tokenId",
90
- "type": "uint256"
91
- }
92
- ],
93
- "name": "approve",
94
- "outputs": [],
95
- "stateMutability": "nonpayable",
96
- "type": "function"
97
- },
98
- {
99
- "inputs": [
100
- {
101
- "internalType": "address",
102
- "name": "owner",
103
- "type": "address"
104
- }
105
- ],
106
- "name": "balanceOf",
107
- "outputs": [
108
- {
109
- "internalType": "uint256",
110
- "name": "balance",
111
- "type": "uint256"
112
- }
113
- ],
114
- "stateMutability": "view",
115
- "type": "function"
116
- },
117
- {
118
- "inputs": [
119
- {
120
- "internalType": "uint256",
121
- "name": "tokenId",
122
- "type": "uint256"
123
- }
124
- ],
125
- "name": "getApproved",
126
- "outputs": [
127
- {
128
- "internalType": "address",
129
- "name": "operator",
130
- "type": "address"
131
- }
132
- ],
133
- "stateMutability": "view",
134
- "type": "function"
135
- },
136
- {
137
- "inputs": [
138
- {
139
- "internalType": "address",
140
- "name": "owner",
141
- "type": "address"
142
- },
143
- {
144
- "internalType": "address",
145
- "name": "operator",
146
- "type": "address"
147
- }
148
- ],
149
- "name": "isApprovedForAll",
150
- "outputs": [
151
- {
152
- "internalType": "bool",
153
- "name": "",
154
- "type": "bool"
155
- }
156
- ],
157
- "stateMutability": "view",
158
- "type": "function"
159
- },
160
- {
161
- "inputs": [],
162
- "name": "name",
163
- "outputs": [
164
- {
165
- "internalType": "string",
166
- "name": "",
167
- "type": "string"
168
- }
169
- ],
170
- "stateMutability": "view",
171
- "type": "function"
172
- },
173
- {
174
- "inputs": [
175
- {
176
- "internalType": "uint256",
177
- "name": "tokenId",
178
- "type": "uint256"
179
- }
180
- ],
181
- "name": "ownerOf",
182
- "outputs": [
183
- {
184
- "internalType": "address",
185
- "name": "owner",
186
- "type": "address"
187
- }
188
- ],
189
- "stateMutability": "view",
190
- "type": "function"
191
- },
192
- {
193
- "inputs": [
194
- {
195
- "internalType": "address",
196
- "name": "from",
197
- "type": "address"
198
- },
199
- {
200
- "internalType": "address",
201
- "name": "to",
202
- "type": "address"
203
- },
204
- {
205
- "internalType": "uint256",
206
- "name": "tokenId",
207
- "type": "uint256"
208
- }
209
- ],
210
- "name": "safeTransferFrom",
211
- "outputs": [],
212
- "stateMutability": "nonpayable",
213
- "type": "function"
214
- },
215
- {
216
- "inputs": [
217
- {
218
- "internalType": "address",
219
- "name": "from",
220
- "type": "address"
221
- },
222
- {
223
- "internalType": "address",
224
- "name": "to",
225
- "type": "address"
226
- },
227
- {
228
- "internalType": "uint256",
229
- "name": "tokenId",
230
- "type": "uint256"
231
- },
232
- {
233
- "internalType": "bytes",
234
- "name": "data",
235
- "type": "bytes"
236
- }
237
- ],
238
- "name": "safeTransferFrom",
239
- "outputs": [],
240
- "stateMutability": "nonpayable",
241
- "type": "function"
242
- },
243
- {
244
- "inputs": [
245
- {
246
- "internalType": "address",
247
- "name": "operator",
248
- "type": "address"
249
- },
250
- {
251
- "internalType": "bool",
252
- "name": "approved",
253
- "type": "bool"
254
- }
255
- ],
256
- "name": "setApprovalForAll",
257
- "outputs": [],
258
- "stateMutability": "nonpayable",
259
- "type": "function"
260
- },
261
- {
262
- "inputs": [
263
- {
264
- "internalType": "bytes4",
265
- "name": "interfaceId",
266
- "type": "bytes4"
267
- }
268
- ],
269
- "name": "supportsInterface",
270
- "outputs": [
271
- {
272
- "internalType": "bool",
273
- "name": "",
274
- "type": "bool"
275
- }
276
- ],
277
- "stateMutability": "view",
278
- "type": "function"
279
- },
280
- {
281
- "inputs": [],
282
- "name": "symbol",
283
- "outputs": [
284
- {
285
- "internalType": "string",
286
- "name": "",
287
- "type": "string"
288
- }
289
- ],
290
- "stateMutability": "view",
291
- "type": "function"
292
- },
293
- {
294
- "inputs": [
295
- {
296
- "internalType": "uint256",
297
- "name": "tokenId",
298
- "type": "uint256"
299
- }
300
- ],
301
- "name": "tokenURI",
302
- "outputs": [
303
- {
304
- "internalType": "string",
305
- "name": "",
306
- "type": "string"
307
- }
308
- ],
309
- "stateMutability": "view",
310
- "type": "function"
311
- },
312
- {
313
- "inputs": [
314
- {
315
- "internalType": "address",
316
- "name": "from",
317
- "type": "address"
318
- },
319
- {
320
- "internalType": "address",
321
- "name": "to",
322
- "type": "address"
323
- },
324
- {
325
- "internalType": "uint256",
326
- "name": "tokenId",
327
- "type": "uint256"
328
- }
329
- ],
330
- "name": "transferFrom",
331
- "outputs": [],
332
- "stateMutability": "nonpayable",
333
- "type": "function"
334
- }
335
- ],
336
- "bytecode": "0x",
337
- "deployedBytecode": "0x",
338
- "linkReferences": {},
339
- "deployedLinkReferences": {},
340
- "devdoc": {
341
- "details": "See https://eips.ethereum.org/EIPS/eip-721",
342
- "events": {
343
- "Approval(address,address,uint256)": {
344
- "details": "Emitted when `owner` enables `approved` to manage the `tokenId` token."
345
- },
346
- "ApprovalForAll(address,address,bool)": {
347
- "details": "Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets."
348
- },
349
- "Transfer(address,address,uint256)": {
350
- "details": "Emitted when `tokenId` token is transferred from `from` to `to`."
351
- }
352
- },
353
- "kind": "dev",
354
- "methods": {
355
- "approve(address,uint256)": {
356
- "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."
357
- },
358
- "balanceOf(address)": {
359
- "details": "Returns the number of tokens in ``owner``'s account."
360
- },
361
- "getApproved(uint256)": {
362
- "details": "Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist."
363
- },
364
- "isApprovedForAll(address,address)": {
365
- "details": "Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}"
366
- },
367
- "name()": {
368
- "details": "Returns the token collection name."
369
- },
370
- "ownerOf(uint256)": {
371
- "details": "Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist."
372
- },
373
- "safeTransferFrom(address,address,uint256)": {
374
- "details": "Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC-721 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."
375
- },
376
- "safeTransferFrom(address,address,uint256,bytes)": {
377
- "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."
378
- },
379
- "setApprovalForAll(address,bool)": {
380
- "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."
381
- },
382
- "supportsInterface(bytes4)": {
383
- "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[ERC section] to learn more about how these ids are created. This function call must use less than 30 000 gas."
384
- },
385
- "symbol()": {
386
- "details": "Returns the token collection symbol."
387
- },
388
- "tokenURI(uint256)": {
389
- "details": "Returns the Uniform Resource Identifier (URI) for `tokenId` token."
390
- },
391
- "transferFrom(address,address,uint256)": {
392
- "details": "Transfers `tokenId` token from `from` to `to`. WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC-721 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."
393
- }
394
- },
395
- "title": "ERC-721 Non-Fungible Token Standard, optional metadata extension",
396
- "version": 1
397
- },
398
- "userdoc": {
399
- "kind": "user",
400
- "methods": {},
401
- "version": 1
402
- },
403
- "evm": {
404
- "gasEstimates": null,
405
- "methodIdentifiers": {
406
- "approve(address,uint256)": "095ea7b3",
407
- "balanceOf(address)": "70a08231",
408
- "getApproved(uint256)": "081812fc",
409
- "isApprovedForAll(address,address)": "e985e9c5",
410
- "name()": "06fdde03",
411
- "ownerOf(uint256)": "6352211e",
412
- "safeTransferFrom(address,address,uint256)": "42842e0e",
413
- "safeTransferFrom(address,address,uint256,bytes)": "b88d4fde",
414
- "setApprovalForAll(address,bool)": "a22cb465",
415
- "supportsInterface(bytes4)": "01ffc9a7",
416
- "symbol()": "95d89b41",
417
- "tokenURI(uint256)": "c87b56dd",
418
- "transferFrom(address,address,uint256)": "23b872dd"
419
- }
420
- }
421
- }
@@ -1,33 +0,0 @@
1
- {
2
- "contractName": "ERC721Utils",
3
- "sourceName": "@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol",
4
- "abi": [],
5
- "bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122040941742a40788c4d1b2003eda69b0305cb644f191b42548f85c80c28b226a0264736f6c63430008140033",
6
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122040941742a40788c4d1b2003eda69b0305cb644f191b42548f85c80c28b226a0264736f6c63430008140033",
7
- "linkReferences": {},
8
- "deployedLinkReferences": {},
9
- "devdoc": {
10
- "details": "Library that provide common ERC-721 utility functions. See https://eips.ethereum.org/EIPS/eip-721[ERC-721]. _Available since v5.1._",
11
- "kind": "dev",
12
- "methods": {},
13
- "version": 1
14
- },
15
- "userdoc": {
16
- "kind": "user",
17
- "methods": {},
18
- "version": 1
19
- },
20
- "evm": {
21
- "gasEstimates": {
22
- "creation": {
23
- "codeDepositCost": "17200",
24
- "executionCost": "97",
25
- "totalCost": "17297"
26
- },
27
- "internal": {
28
- "checkOnERC721Received(address,address,address,uint256,bytes memory)": "infinite"
29
- }
30
- },
31
- "methodIdentifiers": {}
32
- }
33
- }
@@ -1,61 +0,0 @@
1
- {
2
- "contractName": "Arrays",
3
- "sourceName": "@openzeppelin/contracts/utils/Arrays.sol",
4
- "abi": [],
5
- "bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206da99e5070ed768e5be7c49a85376b3079829aff2084da1ceec948c054aa918164736f6c63430008140033",
6
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206da99e5070ed768e5be7c49a85376b3079829aff2084da1ceec948c054aa918164736f6c63430008140033",
7
- "linkReferences": {},
8
- "deployedLinkReferences": {},
9
- "devdoc": {
10
- "details": "Collection of functions related to array types.",
11
- "kind": "dev",
12
- "methods": {},
13
- "version": 1
14
- },
15
- "userdoc": {
16
- "kind": "user",
17
- "methods": {},
18
- "version": 1
19
- },
20
- "evm": {
21
- "gasEstimates": {
22
- "creation": {
23
- "codeDepositCost": "17200",
24
- "executionCost": "97",
25
- "totalCost": "17297"
26
- },
27
- "internal": {
28
- "_begin(uint256[] memory)": "infinite",
29
- "_castToUint256Array(address[] memory)": "infinite",
30
- "_castToUint256Array(bytes32[] memory)": "infinite",
31
- "_castToUint256Comp(function (address,address) pure returns (bool))": "infinite",
32
- "_castToUint256Comp(function (bytes32,bytes32) pure returns (bool))": "infinite",
33
- "_end(uint256[] memory)": "infinite",
34
- "_mload(uint256)": "infinite",
35
- "_quickSort(uint256,uint256,function (uint256,uint256) pure returns (bool))": "infinite",
36
- "_swap(uint256,uint256)": "infinite",
37
- "findUpperBound(uint256[] storage pointer,uint256)": "infinite",
38
- "lowerBound(uint256[] storage pointer,uint256)": "infinite",
39
- "lowerBoundMemory(uint256[] memory,uint256)": "infinite",
40
- "sort(address[] memory)": "infinite",
41
- "sort(address[] memory,function (address,address) pure returns (bool))": "infinite",
42
- "sort(bytes32[] memory)": "infinite",
43
- "sort(bytes32[] memory,function (bytes32,bytes32) pure returns (bool))": "infinite",
44
- "sort(uint256[] memory)": "infinite",
45
- "sort(uint256[] memory,function (uint256,uint256) pure returns (bool))": "infinite",
46
- "unsafeAccess(address[] storage pointer,uint256)": "infinite",
47
- "unsafeAccess(bytes32[] storage pointer,uint256)": "infinite",
48
- "unsafeAccess(uint256[] storage pointer,uint256)": "infinite",
49
- "unsafeMemoryAccess(address[] memory,uint256)": "infinite",
50
- "unsafeMemoryAccess(bytes32[] memory,uint256)": "infinite",
51
- "unsafeMemoryAccess(uint256[] memory,uint256)": "infinite",
52
- "unsafeSetLength(address[] storage pointer,uint256)": "infinite",
53
- "unsafeSetLength(bytes32[] storage pointer,uint256)": "infinite",
54
- "unsafeSetLength(uint256[] storage pointer,uint256)": "infinite",
55
- "upperBound(uint256[] storage pointer,uint256)": "infinite",
56
- "upperBoundMemory(uint256[] memory,uint256)": "infinite"
57
- }
58
- },
59
- "methodIdentifiers": {}
60
- }
61
- }
@@ -1,34 +0,0 @@
1
- {
2
- "contractName": "Comparators",
3
- "sourceName": "@openzeppelin/contracts/utils/Comparators.sol",
4
- "abi": [],
5
- "bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200712acc19ffcd72ef37be3a93ebaa58bd79e0d991bba8948a4389e362f158c5b64736f6c63430008140033",
6
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200712acc19ffcd72ef37be3a93ebaa58bd79e0d991bba8948a4389e362f158c5b64736f6c63430008140033",
7
- "linkReferences": {},
8
- "deployedLinkReferences": {},
9
- "devdoc": {
10
- "details": "Provides a set of functions to compare values. _Available since v5.1._",
11
- "kind": "dev",
12
- "methods": {},
13
- "version": 1
14
- },
15
- "userdoc": {
16
- "kind": "user",
17
- "methods": {},
18
- "version": 1
19
- },
20
- "evm": {
21
- "gasEstimates": {
22
- "creation": {
23
- "codeDepositCost": "17200",
24
- "executionCost": "97",
25
- "totalCost": "17297"
26
- },
27
- "internal": {
28
- "gt(uint256,uint256)": "infinite",
29
- "lt(uint256,uint256)": "infinite"
30
- }
31
- },
32
- "methodIdentifiers": {}
33
- }
34
- }
@@ -1,24 +0,0 @@
1
- {
2
- "contractName": "Context",
3
- "sourceName": "@openzeppelin/contracts/utils/Context.sol",
4
- "abi": [],
5
- "bytecode": "0x",
6
- "deployedBytecode": "0x",
7
- "linkReferences": {},
8
- "deployedLinkReferences": {},
9
- "devdoc": {
10
- "details": "Provides information about the current execution context, including the sender of the transaction and its data. While these are generally available via msg.sender and msg.data, they should not be accessed in such a direct manner, since when dealing with meta-transactions the account sending and paying for execution may not be the actual sender (as far as an application is concerned). This contract is only required for intermediate, library-like contracts.",
11
- "kind": "dev",
12
- "methods": {},
13
- "version": 1
14
- },
15
- "userdoc": {
16
- "kind": "user",
17
- "methods": {},
18
- "version": 1
19
- },
20
- "evm": {
21
- "gasEstimates": null,
22
- "methodIdentifiers": {}
23
- }
24
- }
@@ -1,73 +0,0 @@
1
- {
2
- "contractName": "Nonces",
3
- "sourceName": "@openzeppelin/contracts/utils/Nonces.sol",
4
- "abi": [
5
- {
6
- "inputs": [
7
- {
8
- "internalType": "address",
9
- "name": "account",
10
- "type": "address"
11
- },
12
- {
13
- "internalType": "uint256",
14
- "name": "currentNonce",
15
- "type": "uint256"
16
- }
17
- ],
18
- "name": "InvalidAccountNonce",
19
- "type": "error"
20
- },
21
- {
22
- "inputs": [
23
- {
24
- "internalType": "address",
25
- "name": "owner",
26
- "type": "address"
27
- }
28
- ],
29
- "name": "nonces",
30
- "outputs": [
31
- {
32
- "internalType": "uint256",
33
- "name": "",
34
- "type": "uint256"
35
- }
36
- ],
37
- "stateMutability": "view",
38
- "type": "function"
39
- }
40
- ],
41
- "bytecode": "0x",
42
- "deployedBytecode": "0x",
43
- "linkReferences": {},
44
- "deployedLinkReferences": {},
45
- "devdoc": {
46
- "details": "Provides tracking nonces for addresses. Nonces will only increment.",
47
- "errors": {
48
- "InvalidAccountNonce(address,uint256)": [
49
- {
50
- "details": "The nonce used for an `account` is not the expected current nonce."
51
- }
52
- ]
53
- },
54
- "kind": "dev",
55
- "methods": {
56
- "nonces(address)": {
57
- "details": "Returns the next unused nonce for an address."
58
- }
59
- },
60
- "version": 1
61
- },
62
- "userdoc": {
63
- "kind": "user",
64
- "methods": {},
65
- "version": 1
66
- },
67
- "evm": {
68
- "gasEstimates": null,
69
- "methodIdentifiers": {
70
- "nonces(address)": "7ecebe00"
71
- }
72
- }
73
- }