@cartesi/devnet 2.0.0-alpha.4 → 2.0.0-alpha.5
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/anvil_state.json +1 -1
- package/deployments/TestMultiToken.json +3 -3
- package/deployments/TestNFT.json +3 -3
- package/deployments/TestToken.json +3 -3
- package/deployments/cartesiRollups.ApplicationFactory.json +5 -5
- package/deployments/cartesiRollups.AuthorityFactory.json +5 -5
- package/deployments/cartesiRollups.ERC1155BatchPortal.json +4 -4
- package/deployments/cartesiRollups.ERC1155SinglePortal.json +5 -5
- package/deployments/cartesiRollups.ERC20Portal.json +5 -5
- package/deployments/cartesiRollups.ERC721Portal.json +5 -5
- package/deployments/cartesiRollups.EtherPortal.json +6 -6
- package/deployments/cartesiRollups.InputBox.json +3 -8
- package/deployments/cartesiRollups.QuorumFactory.json +5 -5
- package/deployments/cartesiRollups.SafeERC20Transfer.json +4 -4
- package/deployments/cartesiRollups.SelfHostedApplicationFactory.json +6 -6
- package/package.json +7 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0xDC6d64971B77a47fB3E3c6c409D4A05468C398D2",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"type": "constructor",
|
|
@@ -574,9 +574,9 @@
|
|
|
574
574
|
"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"
|
|
575
575
|
],
|
|
576
576
|
"linkedLibraries": {},
|
|
577
|
-
"deployTxnHash": "
|
|
577
|
+
"deployTxnHash": "0xe321d6647dcd3be3bb9cf39281fa5151ee9a6e2e216e41fb7f930dadaa00b251",
|
|
578
578
|
"deployTxnBlockNumber": "2",
|
|
579
|
-
"deployTimestamp": "
|
|
579
|
+
"deployTimestamp": "1742933833",
|
|
580
580
|
"sourceName": "src/TestMultiToken.sol",
|
|
581
581
|
"contractName": "TestMultiToken",
|
|
582
582
|
"deployedOn": "deploy.TestMultiToken",
|
package/deployments/TestNFT.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0xBa46623aD94AB45850c4ecbA9555D26328917c3B",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"type": "constructor",
|
|
@@ -579,9 +579,9 @@
|
|
|
579
579
|
"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"
|
|
580
580
|
],
|
|
581
581
|
"linkedLibraries": {},
|
|
582
|
-
"deployTxnHash": "
|
|
582
|
+
"deployTxnHash": "0x699846ffa0d08990692a1865386941dec317fbd590548802c127732ed936f32c",
|
|
583
583
|
"deployTxnBlockNumber": "3",
|
|
584
|
-
"deployTimestamp": "
|
|
584
|
+
"deployTimestamp": "1742933833",
|
|
585
585
|
"sourceName": "src/TestNFT.sol",
|
|
586
586
|
"contractName": "TestNFT",
|
|
587
587
|
"deployedOn": "deploy.TestNFT",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0xFBdB734EF6a23aD76863CbA6f10d0C5CBBD8342C",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"type": "constructor",
|
|
@@ -719,9 +719,9 @@
|
|
|
719
719
|
"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"
|
|
720
720
|
],
|
|
721
721
|
"linkedLibraries": {},
|
|
722
|
-
"deployTxnHash": "
|
|
722
|
+
"deployTxnHash": "0x4ae00633097ac68b860a85ac8ea38be17fb4db5982510007652b9490683581cb",
|
|
723
723
|
"deployTxnBlockNumber": "4",
|
|
724
|
-
"deployTimestamp": "
|
|
724
|
+
"deployTimestamp": "1742933833",
|
|
725
725
|
"sourceName": "src/TestToken.sol",
|
|
726
726
|
"contractName": "TestToken",
|
|
727
727
|
"deployedOn": "deploy.TestToken",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x2210ad1d9B0bD2D470c2bfA4814ab6253BC421A0",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"type": "function",
|
|
@@ -153,12 +153,12 @@
|
|
|
153
153
|
],
|
|
154
154
|
"constructorArgs": [],
|
|
155
155
|
"linkedLibraries": {},
|
|
156
|
-
"deployTxnHash": "
|
|
156
|
+
"deployTxnHash": "0x3f64dd4339edba3bed5a1b76c0721f54b5ff7430a90233c60ab1ebfd7e213f43",
|
|
157
157
|
"deployTxnBlockNumber": "1",
|
|
158
|
-
"deployTimestamp": "
|
|
158
|
+
"deployTimestamp": "1742931756",
|
|
159
159
|
"sourceName": "src/dapp/ApplicationFactory.sol",
|
|
160
160
|
"contractName": "ApplicationFactory",
|
|
161
161
|
"deployedOn": "deploy.ApplicationFactory",
|
|
162
|
-
"gasUsed":
|
|
163
|
-
"gasCost": "
|
|
162
|
+
"gasUsed": 1249720,
|
|
163
|
+
"gasCost": "1307089154"
|
|
164
164
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x451f57Ca716046D114Ab9ff23269a2F9F4a1bdaF",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"type": "function",
|
|
@@ -99,12 +99,12 @@
|
|
|
99
99
|
],
|
|
100
100
|
"constructorArgs": [],
|
|
101
101
|
"linkedLibraries": {},
|
|
102
|
-
"deployTxnHash": "
|
|
102
|
+
"deployTxnHash": "0x32fc5fdfcde6c71d6331452defed1019c5f47483624b11c4eb6f1209eb44ff5c",
|
|
103
103
|
"deployTxnBlockNumber": "1",
|
|
104
|
-
"deployTimestamp": "
|
|
104
|
+
"deployTimestamp": "1742931756",
|
|
105
105
|
"sourceName": "src/consensus/authority/AuthorityFactory.sol",
|
|
106
106
|
"contractName": "AuthorityFactory",
|
|
107
107
|
"deployedOn": "deploy.AuthorityFactory",
|
|
108
|
-
"gasUsed":
|
|
109
|
-
"gasCost": "
|
|
108
|
+
"gasUsed": 481603,
|
|
109
|
+
"gasCost": "1271901139"
|
|
110
110
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0xBc70d79F916A6d48aB0b8F03AC58f89742dEDA34",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"type": "constructor",
|
|
@@ -65,12 +65,12 @@
|
|
|
65
65
|
}
|
|
66
66
|
],
|
|
67
67
|
"constructorArgs": [
|
|
68
|
-
"
|
|
68
|
+
"0xB6b39Fb3dD926A9e3FBc7A129540eEbeA3016a6c"
|
|
69
69
|
],
|
|
70
70
|
"linkedLibraries": {},
|
|
71
|
-
"deployTxnHash": "
|
|
71
|
+
"deployTxnHash": "0x2076bc2995b4cda946265fa53f6a5a51c86803c2042793f175f6173edc8b885f",
|
|
72
72
|
"deployTxnBlockNumber": "3",
|
|
73
|
-
"deployTimestamp": "
|
|
73
|
+
"deployTimestamp": "1742931756",
|
|
74
74
|
"sourceName": "src/portals/ERC1155BatchPortal.sol",
|
|
75
75
|
"contractName": "ERC1155BatchPortal",
|
|
76
76
|
"deployedOn": "deploy.ERC1155BatchPortal",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0xB778147D50219544F113A55DE1d8de626f0cC1bB",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"type": "constructor",
|
|
@@ -65,15 +65,15 @@
|
|
|
65
65
|
}
|
|
66
66
|
],
|
|
67
67
|
"constructorArgs": [
|
|
68
|
-
"
|
|
68
|
+
"0xB6b39Fb3dD926A9e3FBc7A129540eEbeA3016a6c"
|
|
69
69
|
],
|
|
70
70
|
"linkedLibraries": {},
|
|
71
|
-
"deployTxnHash": "
|
|
71
|
+
"deployTxnHash": "0xec303b5b9c845b64fed2e68f3d55bfa2d7f7e7a8f6becb85f3630891eaf6b8f2",
|
|
72
72
|
"deployTxnBlockNumber": "4",
|
|
73
|
-
"deployTimestamp": "
|
|
73
|
+
"deployTimestamp": "1742931756",
|
|
74
74
|
"sourceName": "src/portals/ERC1155SinglePortal.sol",
|
|
75
75
|
"contractName": "ERC1155SinglePortal",
|
|
76
76
|
"deployedOn": "deploy.ERC1155SinglePortal",
|
|
77
|
-
"gasUsed":
|
|
77
|
+
"gasUsed": 259714,
|
|
78
78
|
"gasCost": "1673427744"
|
|
79
79
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x05355c2F9bA566c06199DEb17212c3B78C1A3C31",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"type": "constructor",
|
|
@@ -60,15 +60,15 @@
|
|
|
60
60
|
}
|
|
61
61
|
],
|
|
62
62
|
"constructorArgs": [
|
|
63
|
-
"
|
|
63
|
+
"0xB6b39Fb3dD926A9e3FBc7A129540eEbeA3016a6c"
|
|
64
64
|
],
|
|
65
65
|
"linkedLibraries": {},
|
|
66
|
-
"deployTxnHash": "
|
|
66
|
+
"deployTxnHash": "0xb0d47464356a7fbecf4b193349c8a176c08e20002da4cbd3317666e94adbcc9a",
|
|
67
67
|
"deployTxnBlockNumber": "5",
|
|
68
|
-
"deployTimestamp": "
|
|
68
|
+
"deployTimestamp": "1742931756",
|
|
69
69
|
"sourceName": "src/portals/ERC20Portal.sol",
|
|
70
70
|
"contractName": "ERC20Portal",
|
|
71
71
|
"deployedOn": "deploy.ERC20Portal",
|
|
72
72
|
"gasUsed": 220318,
|
|
73
|
-
"gasCost": "
|
|
73
|
+
"gasCost": "1590706765"
|
|
74
74
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x0F5A20d3729c44FedabBb560b3D633dc1c246DDe",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"type": "constructor",
|
|
@@ -60,15 +60,15 @@
|
|
|
60
60
|
}
|
|
61
61
|
],
|
|
62
62
|
"constructorArgs": [
|
|
63
|
-
"
|
|
63
|
+
"0xB6b39Fb3dD926A9e3FBc7A129540eEbeA3016a6c"
|
|
64
64
|
],
|
|
65
65
|
"linkedLibraries": {},
|
|
66
|
-
"deployTxnHash": "
|
|
66
|
+
"deployTxnHash": "0xfa1ffa4bd3069064938ec3a2740e0342afef40d3a08c73915d7aa2563b9e136d",
|
|
67
67
|
"deployTxnBlockNumber": "6",
|
|
68
|
-
"deployTimestamp": "
|
|
68
|
+
"deployTimestamp": "1742931756",
|
|
69
69
|
"sourceName": "src/portals/ERC721Portal.sol",
|
|
70
70
|
"contractName": "ERC721Portal",
|
|
71
71
|
"deployedOn": "deploy.ERC721Portal",
|
|
72
72
|
"gasUsed": 254764,
|
|
73
|
-
"gasCost": "
|
|
73
|
+
"gasCost": "1517952948"
|
|
74
74
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0xd31aD6613bDaA139E7D12B2428C0Dd00fdBF8aDa",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"type": "constructor",
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
}
|
|
51
51
|
],
|
|
52
52
|
"constructorArgs": [
|
|
53
|
-
"
|
|
53
|
+
"0xB6b39Fb3dD926A9e3FBc7A129540eEbeA3016a6c"
|
|
54
54
|
],
|
|
55
55
|
"linkedLibraries": {},
|
|
56
|
-
"deployTxnHash": "
|
|
56
|
+
"deployTxnHash": "0x0019b2fa6a38eb92fe088a6534276ed0440e7d615016d593ee6e1c702819a9eb",
|
|
57
57
|
"deployTxnBlockNumber": "7",
|
|
58
|
-
"deployTimestamp": "
|
|
58
|
+
"deployTimestamp": "1742931756",
|
|
59
59
|
"sourceName": "src/portals/EtherPortal.sol",
|
|
60
60
|
"contractName": "EtherPortal",
|
|
61
61
|
"deployedOn": "deploy.EtherPortal",
|
|
62
|
-
"gasUsed":
|
|
63
|
-
"gasCost": "
|
|
62
|
+
"gasUsed": 200794,
|
|
63
|
+
"gasCost": "1454308461"
|
|
64
64
|
}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0xB6b39Fb3dD926A9e3FBc7A129540eEbeA3016a6c",
|
|
3
3
|
"abi": [
|
|
4
|
-
{
|
|
5
|
-
"type": "constructor",
|
|
6
|
-
"inputs": [],
|
|
7
|
-
"stateMutability": "nonpayable"
|
|
8
|
-
},
|
|
9
4
|
{
|
|
10
5
|
"type": "function",
|
|
11
6
|
"name": "addInput",
|
|
@@ -135,9 +130,9 @@
|
|
|
135
130
|
],
|
|
136
131
|
"constructorArgs": [],
|
|
137
132
|
"linkedLibraries": {},
|
|
138
|
-
"deployTxnHash": "
|
|
133
|
+
"deployTxnHash": "0x08152eb866e9611e4fb52f4c2b815f83d7d1d5358e8c3e348092b3f27f079709",
|
|
139
134
|
"deployTxnBlockNumber": "1",
|
|
140
|
-
"deployTimestamp": "
|
|
135
|
+
"deployTimestamp": "1742931757",
|
|
141
136
|
"sourceName": "src/inputs/InputBox.sol",
|
|
142
137
|
"contractName": "InputBox",
|
|
143
138
|
"deployedOn": "deploy.InputBox",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0xb85D3942e551E6E5f19AC2CCF8dAb195f5f0347E",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"type": "function",
|
|
@@ -99,12 +99,12 @@
|
|
|
99
99
|
],
|
|
100
100
|
"constructorArgs": [],
|
|
101
101
|
"linkedLibraries": {},
|
|
102
|
-
"deployTxnHash": "
|
|
102
|
+
"deployTxnHash": "0xfcb247d903064f7336c1aa5e54f33b467c010a0d05aacd58d37c8404d3a8c9d7",
|
|
103
103
|
"deployTxnBlockNumber": "1",
|
|
104
|
-
"deployTimestamp": "
|
|
104
|
+
"deployTimestamp": "1742931756",
|
|
105
105
|
"sourceName": "src/consensus/quorum/QuorumFactory.sol",
|
|
106
106
|
"contractName": "QuorumFactory",
|
|
107
107
|
"deployedOn": "deploy.QuorumFactory",
|
|
108
|
-
"gasUsed":
|
|
109
|
-
"gasCost": "
|
|
108
|
+
"gasUsed": 625423,
|
|
109
|
+
"gasCost": "1398280091"
|
|
110
110
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x35187C9f069D34aB73c02327ae155746a8274208",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"type": "function",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
],
|
|
39
39
|
"constructorArgs": [],
|
|
40
40
|
"linkedLibraries": {},
|
|
41
|
-
"deployTxnHash": "
|
|
41
|
+
"deployTxnHash": "0xe0eaefca9d4c789933a0c279b6fa3acd0d88108ee625a9ce39b3b3f15b2f4ab9",
|
|
42
42
|
"deployTxnBlockNumber": "1",
|
|
43
|
-
"deployTimestamp": "
|
|
43
|
+
"deployTimestamp": "1742931756",
|
|
44
44
|
"sourceName": "src/delegatecall/SafeERC20Transfer.sol",
|
|
45
45
|
"contractName": "SafeERC20Transfer",
|
|
46
46
|
"deployedOn": "deploy.SafeERC20Transfer",
|
|
47
47
|
"gasUsed": 116262,
|
|
48
|
-
"gasCost": "
|
|
48
|
+
"gasCost": "1350570860"
|
|
49
49
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x4a409e1CaB9229711C4e1f68625DdbC75809e721",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"type": "constructor",
|
|
@@ -143,16 +143,16 @@
|
|
|
143
143
|
}
|
|
144
144
|
],
|
|
145
145
|
"constructorArgs": [
|
|
146
|
-
"
|
|
147
|
-
"
|
|
146
|
+
"0x451f57Ca716046D114Ab9ff23269a2F9F4a1bdaF",
|
|
147
|
+
"0x2210ad1d9B0bD2D470c2bfA4814ab6253BC421A0"
|
|
148
148
|
],
|
|
149
149
|
"linkedLibraries": {},
|
|
150
|
-
"deployTxnHash": "
|
|
150
|
+
"deployTxnHash": "0x2d4587e12f531e6bd8539ed26e52e40d5bd8f4d567b948cca027d83ef4d0b820",
|
|
151
151
|
"deployTxnBlockNumber": "3",
|
|
152
|
-
"deployTimestamp": "
|
|
152
|
+
"deployTimestamp": "1742931756",
|
|
153
153
|
"sourceName": "src/dapp/SelfHostedApplicationFactory.sol",
|
|
154
154
|
"contractName": "SelfHostedApplicationFactory",
|
|
155
155
|
"deployedOn": "deploy.SelfHostedApplicationFactory",
|
|
156
156
|
"gasUsed": 325530,
|
|
157
|
-
"gasCost": "
|
|
157
|
+
"gasCost": "1182988001"
|
|
158
158
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cartesi/devnet",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.5",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@usecannon/cli": "^2.21.5",
|
|
@@ -15,6 +15,11 @@
|
|
|
15
15
|
"build:cannon": "cannon build --write-deployments deployments --anvil.dump-state anvil_state.json",
|
|
16
16
|
"build:forge": "forge build",
|
|
17
17
|
"build:soldeer": "forge soldeer install",
|
|
18
|
-
"clean": "cannon clean"
|
|
18
|
+
"clean": "run-s clean:cannon clean:dump clean:forge",
|
|
19
|
+
"clean:cannon": "cannon clean",
|
|
20
|
+
"clean:dump": "rm -rf deployments anvil_state.json",
|
|
21
|
+
"clean:forge": "forge clean",
|
|
22
|
+
"fmt:check": "forge fmt --check",
|
|
23
|
+
"fmt:write": "forge fmt"
|
|
19
24
|
}
|
|
20
25
|
}
|