@cartesi/devnet 2.0.0-alpha.0 → 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 (85) 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 -1251
  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/ERC20/ERC20.sol/ERC20.json +0 -436
  56. package/export/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.json +0 -242
  57. package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol/ERC20Burnable.json +0 -472
  58. package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol/ERC20Pausable.json +0 -502
  59. package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol/ERC20Permit.json +0 -695
  60. package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.json +0 -293
  61. package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol/IERC20Permit.json +0 -114
  62. package/export/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +0 -595
  63. package/export/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/IERC721.json +0 -363
  64. package/export/artifacts/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol/IERC721Receiver.json +0 -66
  65. package/export/artifacts/@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol/ERC721URIStorage.json +0 -630
  66. package/export/artifacts/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol/IERC721Metadata.json +0 -421
  67. package/export/artifacts/@openzeppelin/contracts/utils/Arrays.sol/Arrays.json +0 -38
  68. package/export/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.json +0 -24
  69. package/export/artifacts/@openzeppelin/contracts/utils/Nonces.sol/Nonces.json +0 -73
  70. package/export/artifacts/@openzeppelin/contracts/utils/Pausable.sol/Pausable.json +0 -103
  71. package/export/artifacts/@openzeppelin/contracts/utils/ShortStrings.sol/ShortStrings.json +0 -55
  72. package/export/artifacts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.json +0 -40
  73. package/export/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.json +0 -62
  74. package/export/artifacts/@openzeppelin/contracts/utils/cryptography/ECDSA.sol/ECDSA.json +0 -84
  75. package/export/artifacts/@openzeppelin/contracts/utils/cryptography/EIP712.sol/EIP712.json +0 -105
  76. package/export/artifacts/@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol/MessageHashUtils.json +0 -36
  77. package/export/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.json +0 -50
  78. package/export/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.json +0 -50
  79. package/export/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.json +0 -65
  80. package/export/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.json +0 -173
  81. package/export/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.json +0 -36
  82. package/export/artifacts/@openzeppelin/contracts/utils/types/Time.sol/Time.json +0 -41
  83. package/export/artifacts/contracts/TestMultiToken.sol/TestMultiToken.json +0 -750
  84. package/export/artifacts/contracts/TestNFT.sol/TestNFT.json +0 -779
  85. package/export/artifacts/contracts/TestToken.sol/TestToken.json +0 -963
@@ -1,173 +0,0 @@
1
- {
2
- "contractName": "SafeCast",
3
- "sourceName": "@openzeppelin/contracts/utils/math/SafeCast.sol",
4
- "abi": [
5
- {
6
- "inputs": [
7
- {
8
- "internalType": "uint8",
9
- "name": "bits",
10
- "type": "uint8"
11
- },
12
- {
13
- "internalType": "int256",
14
- "name": "value",
15
- "type": "int256"
16
- }
17
- ],
18
- "name": "SafeCastOverflowedIntDowncast",
19
- "type": "error"
20
- },
21
- {
22
- "inputs": [
23
- {
24
- "internalType": "int256",
25
- "name": "value",
26
- "type": "int256"
27
- }
28
- ],
29
- "name": "SafeCastOverflowedIntToUint",
30
- "type": "error"
31
- },
32
- {
33
- "inputs": [
34
- {
35
- "internalType": "uint8",
36
- "name": "bits",
37
- "type": "uint8"
38
- },
39
- {
40
- "internalType": "uint256",
41
- "name": "value",
42
- "type": "uint256"
43
- }
44
- ],
45
- "name": "SafeCastOverflowedUintDowncast",
46
- "type": "error"
47
- },
48
- {
49
- "inputs": [
50
- {
51
- "internalType": "uint256",
52
- "name": "value",
53
- "type": "uint256"
54
- }
55
- ],
56
- "name": "SafeCastOverflowedUintToInt",
57
- "type": "error"
58
- }
59
- ],
60
- "bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220fcfddf1f27502ffc9e2871e45ca9a30af04b3aacfea614384d8a970509a13a1464736f6c63430008140033",
61
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220fcfddf1f27502ffc9e2871e45ca9a30af04b3aacfea614384d8a970509a13a1464736f6c63430008140033",
62
- "linkReferences": {},
63
- "deployedLinkReferences": {},
64
- "devdoc": {
65
- "details": "Wrappers over Solidity's uintXX/intXX casting operators with added overflow checks. Downcasting from uint256/int256 in Solidity does not revert on overflow. This can easily result in undesired exploitation or bugs, since developers usually assume that overflows raise errors. `SafeCast` restores this intuition by reverting the transaction when such an operation overflows. Using this library instead of the unchecked operations eliminates an entire class of bugs, so it's recommended to use it always.",
66
- "errors": {
67
- "SafeCastOverflowedIntDowncast(uint8,int256)": [
68
- {
69
- "details": "Value doesn't fit in an int of `bits` size."
70
- }
71
- ],
72
- "SafeCastOverflowedIntToUint(int256)": [
73
- {
74
- "details": "An int value doesn't fit in an uint of `bits` size."
75
- }
76
- ],
77
- "SafeCastOverflowedUintDowncast(uint8,uint256)": [
78
- {
79
- "details": "Value doesn't fit in an uint of `bits` size."
80
- }
81
- ],
82
- "SafeCastOverflowedUintToInt(uint256)": [
83
- {
84
- "details": "An uint value doesn't fit in an int of `bits` size."
85
- }
86
- ]
87
- },
88
- "kind": "dev",
89
- "methods": {},
90
- "version": 1
91
- },
92
- "userdoc": {
93
- "kind": "user",
94
- "methods": {},
95
- "version": 1
96
- },
97
- "evm": {
98
- "gasEstimates": {
99
- "creation": {
100
- "codeDepositCost": "17200",
101
- "executionCost": "97",
102
- "totalCost": "17297"
103
- },
104
- "internal": {
105
- "toInt104(int256)": "infinite",
106
- "toInt112(int256)": "infinite",
107
- "toInt120(int256)": "infinite",
108
- "toInt128(int256)": "infinite",
109
- "toInt136(int256)": "infinite",
110
- "toInt144(int256)": "infinite",
111
- "toInt152(int256)": "infinite",
112
- "toInt16(int256)": "infinite",
113
- "toInt160(int256)": "infinite",
114
- "toInt168(int256)": "infinite",
115
- "toInt176(int256)": "infinite",
116
- "toInt184(int256)": "infinite",
117
- "toInt192(int256)": "infinite",
118
- "toInt200(int256)": "infinite",
119
- "toInt208(int256)": "infinite",
120
- "toInt216(int256)": "infinite",
121
- "toInt224(int256)": "infinite",
122
- "toInt232(int256)": "infinite",
123
- "toInt24(int256)": "infinite",
124
- "toInt240(int256)": "infinite",
125
- "toInt248(int256)": "infinite",
126
- "toInt256(uint256)": "infinite",
127
- "toInt32(int256)": "infinite",
128
- "toInt40(int256)": "infinite",
129
- "toInt48(int256)": "infinite",
130
- "toInt56(int256)": "infinite",
131
- "toInt64(int256)": "infinite",
132
- "toInt72(int256)": "infinite",
133
- "toInt8(int256)": "infinite",
134
- "toInt80(int256)": "infinite",
135
- "toInt88(int256)": "infinite",
136
- "toInt96(int256)": "infinite",
137
- "toUint104(uint256)": "infinite",
138
- "toUint112(uint256)": "infinite",
139
- "toUint120(uint256)": "infinite",
140
- "toUint128(uint256)": "infinite",
141
- "toUint136(uint256)": "infinite",
142
- "toUint144(uint256)": "infinite",
143
- "toUint152(uint256)": "infinite",
144
- "toUint16(uint256)": "infinite",
145
- "toUint160(uint256)": "infinite",
146
- "toUint168(uint256)": "infinite",
147
- "toUint176(uint256)": "infinite",
148
- "toUint184(uint256)": "infinite",
149
- "toUint192(uint256)": "infinite",
150
- "toUint200(uint256)": "infinite",
151
- "toUint208(uint256)": "infinite",
152
- "toUint216(uint256)": "infinite",
153
- "toUint224(uint256)": "infinite",
154
- "toUint232(uint256)": "infinite",
155
- "toUint24(uint256)": "infinite",
156
- "toUint240(uint256)": "infinite",
157
- "toUint248(uint256)": "infinite",
158
- "toUint256(int256)": "infinite",
159
- "toUint32(uint256)": "infinite",
160
- "toUint40(uint256)": "infinite",
161
- "toUint48(uint256)": "infinite",
162
- "toUint56(uint256)": "infinite",
163
- "toUint64(uint256)": "infinite",
164
- "toUint72(uint256)": "infinite",
165
- "toUint8(uint256)": "infinite",
166
- "toUint80(uint256)": "infinite",
167
- "toUint88(uint256)": "infinite",
168
- "toUint96(uint256)": "infinite"
169
- }
170
- },
171
- "methodIdentifiers": {}
172
- }
173
- }
@@ -1,36 +0,0 @@
1
- {
2
- "contractName": "SignedMath",
3
- "sourceName": "@openzeppelin/contracts/utils/math/SignedMath.sol",
4
- "abi": [],
5
- "bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122066d55c3938bdee5e14d05a6a04425c3d0b6d4fad67efc8aafeaf67cc517b228a64736f6c63430008140033",
6
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122066d55c3938bdee5e14d05a6a04425c3d0b6d4fad67efc8aafeaf67cc517b228a64736f6c63430008140033",
7
- "linkReferences": {},
8
- "deployedLinkReferences": {},
9
- "devdoc": {
10
- "details": "Standard signed math utilities missing in the Solidity language.",
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
- "abs(int256)": "infinite",
29
- "average(int256,int256)": "infinite",
30
- "max(int256,int256)": "infinite",
31
- "min(int256,int256)": "infinite"
32
- }
33
- },
34
- "methodIdentifiers": {}
35
- }
36
- }
@@ -1,41 +0,0 @@
1
- {
2
- "contractName": "Time",
3
- "sourceName": "@openzeppelin/contracts/utils/types/Time.sol",
4
- "abi": [],
5
- "bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122080932264a5641e27cfdb1ea659873dd92485e5d617ae9aba19e483548058a32b64736f6c63430008140033",
6
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122080932264a5641e27cfdb1ea659873dd92485e5d617ae9aba19e483548058a32b64736f6c63430008140033",
7
- "linkReferences": {},
8
- "deployedLinkReferences": {},
9
- "devdoc": {
10
- "details": "This library provides helpers for manipulating time-related objects. It uses the following types: - `uint48` for timepoints - `uint32` for durations While the library doesn't provide specific types for timepoints and duration, it does provide: - a `Delay` type to represent duration that can be programmed to change value automatically at a given point - additional helper functions",
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
- "_getFullAt(Time.Delay,uint48)": "infinite",
29
- "blockNumber()": "infinite",
30
- "get(Time.Delay)": "infinite",
31
- "getFull(Time.Delay)": "infinite",
32
- "pack(uint32,uint32,uint48)": "infinite",
33
- "timestamp()": "infinite",
34
- "toDelay(uint32)": "infinite",
35
- "unpack(Time.Delay)": "infinite",
36
- "withUpdate(Time.Delay,uint32,uint32)": "infinite"
37
- }
38
- },
39
- "methodIdentifiers": {}
40
- }
41
- }