@cartesi/devnet 2.0.0-alpha.6 → 2.0.0-alpha.8

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 (71) hide show
  1. package/anvil_state.json +1 -1
  2. package/deployments/TestMultiToken.json +5 -5
  3. package/deployments/TestNFT.json +5 -5
  4. package/deployments/TestToken.json +5 -5
  5. package/deployments/cartesiDaveAppFactory.DaveAppFactory.json +117 -0
  6. package/deployments/{cartesiRollups.ApplicationFactory.json → cartesiDaveAppFactory.cartesiRollups.ApplicationFactory.json} +5 -5
  7. package/deployments/{cartesiRollups.AuthorityFactory.json → cartesiDaveAppFactory.cartesiRollups.AuthorityFactory.json} +5 -5
  8. package/deployments/{cartesiRollups.ERC1155BatchPortal.json → cartesiDaveAppFactory.cartesiRollups.ERC1155BatchPortal.json} +6 -6
  9. package/deployments/{cartesiRollups.ERC1155SinglePortal.json → cartesiDaveAppFactory.cartesiRollups.ERC1155SinglePortal.json} +6 -6
  10. package/deployments/{cartesiRollups.ERC20Portal.json → cartesiDaveAppFactory.cartesiRollups.ERC20Portal.json} +6 -6
  11. package/deployments/{cartesiRollups.ERC721Portal.json → cartesiDaveAppFactory.cartesiRollups.ERC721Portal.json} +6 -6
  12. package/deployments/{cartesiRollups.EtherPortal.json → cartesiDaveAppFactory.cartesiRollups.EtherPortal.json} +6 -6
  13. package/deployments/{cartesiRollups.InputBox.json → cartesiDaveAppFactory.cartesiRollups.InputBox.json} +4 -4
  14. package/deployments/{cartesiRollups.QuorumFactory.json → cartesiDaveAppFactory.cartesiRollups.QuorumFactory.json} +5 -5
  15. package/deployments/{cartesiRollups.SafeERC20Transfer.json → cartesiDaveAppFactory.cartesiRollups.SafeERC20Transfer.json} +5 -5
  16. package/deployments/{cartesiRollups.SelfHostedApplicationFactory.json → cartesiDaveAppFactory.cartesiRollups.SelfHostedApplicationFactory.json} +7 -7
  17. package/deployments/cartesiDaveAppFactory.prtContracts.BottomTournament.json +1126 -0
  18. package/deployments/cartesiDaveAppFactory.prtContracts.BottomTournamentFactory.json +150 -0
  19. package/deployments/cartesiDaveAppFactory.prtContracts.CanonicalTournamentParametersProvider.json +80 -0
  20. package/deployments/cartesiDaveAppFactory.prtContracts.CartesiStateTransition.json +84 -0
  21. package/deployments/cartesiDaveAppFactory.prtContracts.CmioStateTransition.json +247 -0
  22. package/deployments/cartesiDaveAppFactory.prtContracts.MiddleTournament.json +1126 -0
  23. package/deployments/cartesiDaveAppFactory.prtContracts.MiddleTournamentFactory.json +150 -0
  24. package/deployments/cartesiDaveAppFactory.prtContracts.MultiLevelTournamentFactory.json +231 -0
  25. package/deployments/cartesiDaveAppFactory.prtContracts.RiscVStateTransition.json +149 -0
  26. package/deployments/cartesiDaveAppFactory.prtContracts.TopTournament.json +1126 -0
  27. package/deployments/cartesiDaveAppFactory.prtContracts.TopTournamentFactory.json +115 -0
  28. package/package.json +3 -2
  29. package/deployments/alchemyLightAccountV1.LightAccountFactory.json +0 -89
  30. package/deployments/alchemyLightAccountV1.entrypoint.EntryPoint.json +0 -1322
  31. package/deployments/alchemyLightAccountV2.LightAccountFactory.json +0 -350
  32. package/deployments/alchemyLightAccountV2.MultiOwnerLightAccountFactory.json +0 -389
  33. package/deployments/alchemyLightAccountV2.entrypoint.EntryPoint.json +0 -1009
  34. package/deployments/alchemyModularAccountV2.AccountFactory.json +0 -658
  35. package/deployments/alchemyModularAccountV2.AllowlistModule.json +0 -728
  36. package/deployments/alchemyModularAccountV2.ExecutionInstallDelegate.json +0 -437
  37. package/deployments/alchemyModularAccountV2.ModularAccount.json +0 -1257
  38. package/deployments/alchemyModularAccountV2.NativeTokenLimitModule.json +0 -416
  39. package/deployments/alchemyModularAccountV2.PaymasterGuardModule.json +0 -254
  40. package/deployments/alchemyModularAccountV2.SemiModularAccount7702.json +0 -1309
  41. package/deployments/alchemyModularAccountV2.SemiModularAccountBytecode.json +0 -1304
  42. package/deployments/alchemyModularAccountV2.SemiModularAccountStorageOnly.json +0 -1317
  43. package/deployments/alchemyModularAccountV2.SingleSignerValidationModule.json +0 -343
  44. package/deployments/alchemyModularAccountV2.TimeRangeModule.json +0 -308
  45. package/deployments/alchemyModularAccountV2.WebAuthnValidationModule.json +0 -360
  46. package/deployments/alchemyModularAccountV2.entrypoint.EntryPoint.json +0 -1009
  47. package/deployments/entrypointSimulations.PimlicoEntryPointSimulations.json +0 -44
  48. package/deployments/simpleAccount06.SimpleAccountFactory.json +0 -89
  49. package/deployments/simpleAccount06.entrypoint.EntryPoint.json +0 -1322
  50. package/deployments/simpleAccount07.SimpleAccountFactory.json +0 -89
  51. package/deployments/simpleAccount07.entrypoint.EntryPoint.json +0 -1009
  52. package/deployments/simpleAccount08.Simple7702Account.json +0 -376
  53. package/deployments/simpleAccount08.SimpleAccountFactory.json +0 -102
  54. package/deployments/simpleAccount08.entrypoint.EntryPoint.json +0 -1079
  55. package/deployments/zerodevKernel30.ECDSAValidator.json +0 -302
  56. package/deployments/zerodevKernel30.Kernel.json +0 -1083
  57. package/deployments/zerodevKernel30.KernelFactory.json +0 -94
  58. package/deployments/zerodevKernel30.entryPoint.EntryPoint.json +0 -1009
  59. package/deployments/zerodevKernel30.factoryStaker.FactoryStaker.json +0 -292
  60. package/deployments/zerodevKernel30.factoryStaker.entryPoint.EntryPoint.json +0 -1009
  61. package/deployments/zerodevKernel31.ECDSAValidator.json +0 -292
  62. package/deployments/zerodevKernel31.Kernel.json +0 -1239
  63. package/deployments/zerodevKernel31.KernelFactory.json +0 -94
  64. package/deployments/zerodevKernel31.entryPoint.EntryPoint.json +0 -1009
  65. package/deployments/zerodevKernel31.factoryStaker.FactoryStaker.json +0 -292
  66. package/deployments/zerodevKernel31.factoryStaker.entryPoint.EntryPoint.json +0 -1009
  67. package/deployments/zerodevKernel32.Kernel.json +0 -1310
  68. package/deployments/zerodevKernel32.KernelFactory.json +0 -94
  69. package/deployments/zerodevKernel32.entryPoint.EntryPoint.json +0 -1009
  70. package/deployments/zerodevKernel32.factoryStaker.FactoryStaker.json +0 -292
  71. package/deployments/zerodevKernel32.factoryStaker.entryPoint.EntryPoint.json +0 -1009
@@ -0,0 +1,150 @@
1
+ {
2
+ "address": "0x47c7f40841F842f7691cB9Fd6Cd63673B79dCe79",
3
+ "abi": [
4
+ {
5
+ "type": "constructor",
6
+ "inputs": [
7
+ {
8
+ "name": "impl",
9
+ "type": "address",
10
+ "internalType": "contract MiddleTournament"
11
+ }
12
+ ],
13
+ "stateMutability": "nonpayable"
14
+ },
15
+ {
16
+ "type": "function",
17
+ "name": "instantiate",
18
+ "inputs": [
19
+ {
20
+ "name": "initialHash",
21
+ "type": "bytes32",
22
+ "internalType": "Machine.Hash"
23
+ },
24
+ {
25
+ "name": "contestedCommitmentOne",
26
+ "type": "bytes32",
27
+ "internalType": "Tree.Node"
28
+ },
29
+ {
30
+ "name": "contestedFinalStateOne",
31
+ "type": "bytes32",
32
+ "internalType": "Machine.Hash"
33
+ },
34
+ {
35
+ "name": "contestedCommitmentTwo",
36
+ "type": "bytes32",
37
+ "internalType": "Tree.Node"
38
+ },
39
+ {
40
+ "name": "contestedFinalStateTwo",
41
+ "type": "bytes32",
42
+ "internalType": "Machine.Hash"
43
+ },
44
+ {
45
+ "name": "allowance",
46
+ "type": "uint64",
47
+ "internalType": "Time.Duration"
48
+ },
49
+ {
50
+ "name": "startCycle",
51
+ "type": "uint256",
52
+ "internalType": "uint256"
53
+ },
54
+ {
55
+ "name": "level",
56
+ "type": "uint64",
57
+ "internalType": "uint64"
58
+ },
59
+ {
60
+ "name": "tournamentParameters",
61
+ "type": "tuple",
62
+ "internalType": "struct TournamentParameters",
63
+ "components": [
64
+ {
65
+ "name": "levels",
66
+ "type": "uint64",
67
+ "internalType": "uint64"
68
+ },
69
+ {
70
+ "name": "log2step",
71
+ "type": "uint64",
72
+ "internalType": "uint64"
73
+ },
74
+ {
75
+ "name": "height",
76
+ "type": "uint64",
77
+ "internalType": "uint64"
78
+ },
79
+ {
80
+ "name": "matchEffort",
81
+ "type": "uint64",
82
+ "internalType": "Time.Duration"
83
+ },
84
+ {
85
+ "name": "maxAllowance",
86
+ "type": "uint64",
87
+ "internalType": "Time.Duration"
88
+ }
89
+ ]
90
+ },
91
+ {
92
+ "name": "provider",
93
+ "type": "address",
94
+ "internalType": "contract IDataProvider"
95
+ },
96
+ {
97
+ "name": "tournamentFactory",
98
+ "type": "address",
99
+ "internalType": "contract IMultiLevelTournamentFactory"
100
+ }
101
+ ],
102
+ "outputs": [
103
+ {
104
+ "name": "",
105
+ "type": "address",
106
+ "internalType": "contract MiddleTournament"
107
+ }
108
+ ],
109
+ "stateMutability": "nonpayable"
110
+ },
111
+ {
112
+ "type": "error",
113
+ "name": "CloneArgumentsTooLong",
114
+ "inputs": []
115
+ },
116
+ {
117
+ "type": "error",
118
+ "name": "FailedDeployment",
119
+ "inputs": []
120
+ },
121
+ {
122
+ "type": "error",
123
+ "name": "InsufficientBalance",
124
+ "inputs": [
125
+ {
126
+ "name": "balance",
127
+ "type": "uint256",
128
+ "internalType": "uint256"
129
+ },
130
+ {
131
+ "name": "needed",
132
+ "type": "uint256",
133
+ "internalType": "uint256"
134
+ }
135
+ ]
136
+ }
137
+ ],
138
+ "constructorArgs": [
139
+ "0x0a88360f41D0f643ea63ade00c0A1a795395d2D9"
140
+ ],
141
+ "linkedLibraries": {},
142
+ "deployTxnHash": "0x06a6266f982b41a94770919cc80625ee88b1d8580397e206657494b0f9424c91",
143
+ "deployTxnBlockNumber": "3",
144
+ "deployTimestamp": "1762445419",
145
+ "sourceName": "src/tournament/factories/multilevel/MiddleTournamentFactory.sol",
146
+ "contractName": "MiddleTournamentFactory",
147
+ "deployedOn": "deploy.MiddleTournamentFactory",
148
+ "gasUsed": 320629,
149
+ "gasCost": "1396786380"
150
+ }
@@ -0,0 +1,231 @@
1
+ {
2
+ "address": "0x74A82BAeD499a19e007243b86830e0A86154E816",
3
+ "abi": [
4
+ {
5
+ "type": "constructor",
6
+ "inputs": [
7
+ {
8
+ "name": "_topFactory",
9
+ "type": "address",
10
+ "internalType": "contract TopTournamentFactory"
11
+ },
12
+ {
13
+ "name": "_middleFactory",
14
+ "type": "address",
15
+ "internalType": "contract MiddleTournamentFactory"
16
+ },
17
+ {
18
+ "name": "_bottomFactory",
19
+ "type": "address",
20
+ "internalType": "contract BottomTournamentFactory"
21
+ },
22
+ {
23
+ "name": "_tournamentParametersProvider",
24
+ "type": "address",
25
+ "internalType": "contract ITournamentParametersProvider"
26
+ },
27
+ {
28
+ "name": "_stateTransition",
29
+ "type": "address",
30
+ "internalType": "contract IStateTransition"
31
+ }
32
+ ],
33
+ "stateMutability": "nonpayable"
34
+ },
35
+ {
36
+ "type": "function",
37
+ "name": "instantiate",
38
+ "inputs": [
39
+ {
40
+ "name": "_initialHash",
41
+ "type": "bytes32",
42
+ "internalType": "Machine.Hash"
43
+ },
44
+ {
45
+ "name": "_provider",
46
+ "type": "address",
47
+ "internalType": "contract IDataProvider"
48
+ }
49
+ ],
50
+ "outputs": [
51
+ {
52
+ "name": "",
53
+ "type": "address",
54
+ "internalType": "contract ITournament"
55
+ }
56
+ ],
57
+ "stateMutability": "nonpayable"
58
+ },
59
+ {
60
+ "type": "function",
61
+ "name": "instantiateBottom",
62
+ "inputs": [
63
+ {
64
+ "name": "_initialHash",
65
+ "type": "bytes32",
66
+ "internalType": "Machine.Hash"
67
+ },
68
+ {
69
+ "name": "_contestedCommitmentOne",
70
+ "type": "bytes32",
71
+ "internalType": "Tree.Node"
72
+ },
73
+ {
74
+ "name": "_contestedFinalStateOne",
75
+ "type": "bytes32",
76
+ "internalType": "Machine.Hash"
77
+ },
78
+ {
79
+ "name": "_contestedCommitmentTwo",
80
+ "type": "bytes32",
81
+ "internalType": "Tree.Node"
82
+ },
83
+ {
84
+ "name": "_contestedFinalStateTwo",
85
+ "type": "bytes32",
86
+ "internalType": "Machine.Hash"
87
+ },
88
+ {
89
+ "name": "_allowance",
90
+ "type": "uint64",
91
+ "internalType": "Time.Duration"
92
+ },
93
+ {
94
+ "name": "_startCycle",
95
+ "type": "uint256",
96
+ "internalType": "uint256"
97
+ },
98
+ {
99
+ "name": "_level",
100
+ "type": "uint64",
101
+ "internalType": "uint64"
102
+ },
103
+ {
104
+ "name": "_provider",
105
+ "type": "address",
106
+ "internalType": "contract IDataProvider"
107
+ }
108
+ ],
109
+ "outputs": [
110
+ {
111
+ "name": "",
112
+ "type": "address",
113
+ "internalType": "contract ITournament"
114
+ }
115
+ ],
116
+ "stateMutability": "nonpayable"
117
+ },
118
+ {
119
+ "type": "function",
120
+ "name": "instantiateMiddle",
121
+ "inputs": [
122
+ {
123
+ "name": "_initialHash",
124
+ "type": "bytes32",
125
+ "internalType": "Machine.Hash"
126
+ },
127
+ {
128
+ "name": "_contestedCommitmentOne",
129
+ "type": "bytes32",
130
+ "internalType": "Tree.Node"
131
+ },
132
+ {
133
+ "name": "_contestedFinalStateOne",
134
+ "type": "bytes32",
135
+ "internalType": "Machine.Hash"
136
+ },
137
+ {
138
+ "name": "_contestedCommitmentTwo",
139
+ "type": "bytes32",
140
+ "internalType": "Tree.Node"
141
+ },
142
+ {
143
+ "name": "_contestedFinalStateTwo",
144
+ "type": "bytes32",
145
+ "internalType": "Machine.Hash"
146
+ },
147
+ {
148
+ "name": "_allowance",
149
+ "type": "uint64",
150
+ "internalType": "Time.Duration"
151
+ },
152
+ {
153
+ "name": "_startCycle",
154
+ "type": "uint256",
155
+ "internalType": "uint256"
156
+ },
157
+ {
158
+ "name": "_level",
159
+ "type": "uint64",
160
+ "internalType": "uint64"
161
+ },
162
+ {
163
+ "name": "_provider",
164
+ "type": "address",
165
+ "internalType": "contract IDataProvider"
166
+ }
167
+ ],
168
+ "outputs": [
169
+ {
170
+ "name": "",
171
+ "type": "address",
172
+ "internalType": "contract ITournament"
173
+ }
174
+ ],
175
+ "stateMutability": "nonpayable"
176
+ },
177
+ {
178
+ "type": "function",
179
+ "name": "instantiateTop",
180
+ "inputs": [
181
+ {
182
+ "name": "_initialHash",
183
+ "type": "bytes32",
184
+ "internalType": "Machine.Hash"
185
+ },
186
+ {
187
+ "name": "_provider",
188
+ "type": "address",
189
+ "internalType": "contract IDataProvider"
190
+ }
191
+ ],
192
+ "outputs": [
193
+ {
194
+ "name": "",
195
+ "type": "address",
196
+ "internalType": "contract ITournament"
197
+ }
198
+ ],
199
+ "stateMutability": "nonpayable"
200
+ },
201
+ {
202
+ "type": "event",
203
+ "name": "TournamentCreated",
204
+ "inputs": [
205
+ {
206
+ "name": "tournament",
207
+ "type": "address",
208
+ "indexed": false,
209
+ "internalType": "contract ITournament"
210
+ }
211
+ ],
212
+ "anonymous": false
213
+ }
214
+ ],
215
+ "constructorArgs": [
216
+ "0xfdF16a7D9143f5E3B7B056b761a7eF8Ce18dc6eF",
217
+ "0x47c7f40841F842f7691cB9Fd6Cd63673B79dCe79",
218
+ "0x6ccb8955afFA2aE4A88a4fC30916b41074d1F2B6",
219
+ "0xEf77920dA48Ed9b16Bee85291A9B29C74d0e32eb",
220
+ "0x31EEaeC2A8d855B13B376b72C172F0c20A2910F6"
221
+ ],
222
+ "linkedLibraries": {},
223
+ "deployTxnHash": "0x9566bfd7cec8b63cdecf1fc787d3587fd51297b4c64fcaab651f12e5b5ff23b7",
224
+ "deployTxnBlockNumber": "5",
225
+ "deployTimestamp": "1762445419",
226
+ "sourceName": "src/tournament/factories/MultiLevelTournamentFactory.sol",
227
+ "contractName": "MultiLevelTournamentFactory",
228
+ "deployedOn": "deploy.MultiLevelTournamentFactory",
229
+ "gasUsed": 436266,
230
+ "gasCost": "1304622570"
231
+ }
@@ -0,0 +1,149 @@
1
+ {
2
+ "address": "0x31a7AE6095516f78a30a8991aee2881D429AfECF",
3
+ "abi": [
4
+ {
5
+ "type": "function",
6
+ "name": "reset",
7
+ "inputs": [
8
+ {
9
+ "name": "a",
10
+ "type": "tuple",
11
+ "internalType": "struct AccessLogs.Context",
12
+ "components": [
13
+ {
14
+ "name": "currentRootHash",
15
+ "type": "bytes32",
16
+ "internalType": "bytes32"
17
+ },
18
+ {
19
+ "name": "buffer",
20
+ "type": "tuple",
21
+ "internalType": "struct Buffer.Context",
22
+ "components": [
23
+ {
24
+ "name": "data",
25
+ "type": "bytes",
26
+ "internalType": "bytes"
27
+ },
28
+ {
29
+ "name": "offset",
30
+ "type": "uint256",
31
+ "internalType": "uint256"
32
+ }
33
+ ]
34
+ }
35
+ ]
36
+ }
37
+ ],
38
+ "outputs": [
39
+ {
40
+ "name": "",
41
+ "type": "tuple",
42
+ "internalType": "struct AccessLogs.Context",
43
+ "components": [
44
+ {
45
+ "name": "currentRootHash",
46
+ "type": "bytes32",
47
+ "internalType": "bytes32"
48
+ },
49
+ {
50
+ "name": "buffer",
51
+ "type": "tuple",
52
+ "internalType": "struct Buffer.Context",
53
+ "components": [
54
+ {
55
+ "name": "data",
56
+ "type": "bytes",
57
+ "internalType": "bytes"
58
+ },
59
+ {
60
+ "name": "offset",
61
+ "type": "uint256",
62
+ "internalType": "uint256"
63
+ }
64
+ ]
65
+ }
66
+ ]
67
+ }
68
+ ],
69
+ "stateMutability": "pure"
70
+ },
71
+ {
72
+ "type": "function",
73
+ "name": "step",
74
+ "inputs": [
75
+ {
76
+ "name": "a",
77
+ "type": "tuple",
78
+ "internalType": "struct AccessLogs.Context",
79
+ "components": [
80
+ {
81
+ "name": "currentRootHash",
82
+ "type": "bytes32",
83
+ "internalType": "bytes32"
84
+ },
85
+ {
86
+ "name": "buffer",
87
+ "type": "tuple",
88
+ "internalType": "struct Buffer.Context",
89
+ "components": [
90
+ {
91
+ "name": "data",
92
+ "type": "bytes",
93
+ "internalType": "bytes"
94
+ },
95
+ {
96
+ "name": "offset",
97
+ "type": "uint256",
98
+ "internalType": "uint256"
99
+ }
100
+ ]
101
+ }
102
+ ]
103
+ }
104
+ ],
105
+ "outputs": [
106
+ {
107
+ "name": "",
108
+ "type": "tuple",
109
+ "internalType": "struct AccessLogs.Context",
110
+ "components": [
111
+ {
112
+ "name": "currentRootHash",
113
+ "type": "bytes32",
114
+ "internalType": "bytes32"
115
+ },
116
+ {
117
+ "name": "buffer",
118
+ "type": "tuple",
119
+ "internalType": "struct Buffer.Context",
120
+ "components": [
121
+ {
122
+ "name": "data",
123
+ "type": "bytes",
124
+ "internalType": "bytes"
125
+ },
126
+ {
127
+ "name": "offset",
128
+ "type": "uint256",
129
+ "internalType": "uint256"
130
+ }
131
+ ]
132
+ }
133
+ ]
134
+ }
135
+ ],
136
+ "stateMutability": "pure"
137
+ }
138
+ ],
139
+ "constructorArgs": [],
140
+ "linkedLibraries": {},
141
+ "deployTxnHash": "0xc0bdd2c6d0977758db8c5f190521c04eb0e6a4763264f4df5195e278976ee571",
142
+ "deployTxnBlockNumber": "1",
143
+ "deployTimestamp": "1762445419",
144
+ "sourceName": "src/state-transition/RiscVStateTransition.sol",
145
+ "contractName": "RiscVStateTransition",
146
+ "deployedOn": "deploy.RiscVStateTransition",
147
+ "gasUsed": 2375323,
148
+ "gasCost": "1518251597"
149
+ }