@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.
- package/anvil_state.json +1 -1
- package/deployments/TestMultiToken.json +5 -5
- package/deployments/TestNFT.json +5 -5
- package/deployments/TestToken.json +5 -5
- package/deployments/cartesiDaveAppFactory.DaveAppFactory.json +117 -0
- package/deployments/{cartesiRollups.ApplicationFactory.json → cartesiDaveAppFactory.cartesiRollups.ApplicationFactory.json} +5 -5
- package/deployments/{cartesiRollups.AuthorityFactory.json → cartesiDaveAppFactory.cartesiRollups.AuthorityFactory.json} +5 -5
- package/deployments/{cartesiRollups.ERC1155BatchPortal.json → cartesiDaveAppFactory.cartesiRollups.ERC1155BatchPortal.json} +6 -6
- package/deployments/{cartesiRollups.ERC1155SinglePortal.json → cartesiDaveAppFactory.cartesiRollups.ERC1155SinglePortal.json} +6 -6
- package/deployments/{cartesiRollups.ERC20Portal.json → cartesiDaveAppFactory.cartesiRollups.ERC20Portal.json} +6 -6
- package/deployments/{cartesiRollups.ERC721Portal.json → cartesiDaveAppFactory.cartesiRollups.ERC721Portal.json} +6 -6
- package/deployments/{cartesiRollups.EtherPortal.json → cartesiDaveAppFactory.cartesiRollups.EtherPortal.json} +6 -6
- package/deployments/{cartesiRollups.InputBox.json → cartesiDaveAppFactory.cartesiRollups.InputBox.json} +4 -4
- package/deployments/{cartesiRollups.QuorumFactory.json → cartesiDaveAppFactory.cartesiRollups.QuorumFactory.json} +5 -5
- package/deployments/{cartesiRollups.SafeERC20Transfer.json → cartesiDaveAppFactory.cartesiRollups.SafeERC20Transfer.json} +5 -5
- package/deployments/{cartesiRollups.SelfHostedApplicationFactory.json → cartesiDaveAppFactory.cartesiRollups.SelfHostedApplicationFactory.json} +7 -7
- package/deployments/cartesiDaveAppFactory.prtContracts.BottomTournament.json +1126 -0
- package/deployments/cartesiDaveAppFactory.prtContracts.BottomTournamentFactory.json +150 -0
- package/deployments/cartesiDaveAppFactory.prtContracts.CanonicalTournamentParametersProvider.json +80 -0
- package/deployments/cartesiDaveAppFactory.prtContracts.CartesiStateTransition.json +84 -0
- package/deployments/cartesiDaveAppFactory.prtContracts.CmioStateTransition.json +247 -0
- package/deployments/cartesiDaveAppFactory.prtContracts.MiddleTournament.json +1126 -0
- package/deployments/cartesiDaveAppFactory.prtContracts.MiddleTournamentFactory.json +150 -0
- package/deployments/cartesiDaveAppFactory.prtContracts.MultiLevelTournamentFactory.json +231 -0
- package/deployments/cartesiDaveAppFactory.prtContracts.RiscVStateTransition.json +149 -0
- package/deployments/cartesiDaveAppFactory.prtContracts.TopTournament.json +1126 -0
- package/deployments/cartesiDaveAppFactory.prtContracts.TopTournamentFactory.json +115 -0
- package/package.json +3 -2
- package/deployments/alchemyLightAccountV1.LightAccountFactory.json +0 -89
- package/deployments/alchemyLightAccountV1.entrypoint.EntryPoint.json +0 -1322
- package/deployments/alchemyLightAccountV2.LightAccountFactory.json +0 -350
- package/deployments/alchemyLightAccountV2.MultiOwnerLightAccountFactory.json +0 -389
- package/deployments/alchemyLightAccountV2.entrypoint.EntryPoint.json +0 -1009
- package/deployments/alchemyModularAccountV2.AccountFactory.json +0 -658
- package/deployments/alchemyModularAccountV2.AllowlistModule.json +0 -728
- package/deployments/alchemyModularAccountV2.ExecutionInstallDelegate.json +0 -437
- package/deployments/alchemyModularAccountV2.ModularAccount.json +0 -1257
- package/deployments/alchemyModularAccountV2.NativeTokenLimitModule.json +0 -416
- package/deployments/alchemyModularAccountV2.PaymasterGuardModule.json +0 -254
- package/deployments/alchemyModularAccountV2.SemiModularAccount7702.json +0 -1309
- package/deployments/alchemyModularAccountV2.SemiModularAccountBytecode.json +0 -1304
- package/deployments/alchemyModularAccountV2.SemiModularAccountStorageOnly.json +0 -1317
- package/deployments/alchemyModularAccountV2.SingleSignerValidationModule.json +0 -343
- package/deployments/alchemyModularAccountV2.TimeRangeModule.json +0 -308
- package/deployments/alchemyModularAccountV2.WebAuthnValidationModule.json +0 -360
- package/deployments/alchemyModularAccountV2.entrypoint.EntryPoint.json +0 -1009
- package/deployments/entrypointSimulations.PimlicoEntryPointSimulations.json +0 -44
- package/deployments/simpleAccount06.SimpleAccountFactory.json +0 -89
- package/deployments/simpleAccount06.entrypoint.EntryPoint.json +0 -1322
- package/deployments/simpleAccount07.SimpleAccountFactory.json +0 -89
- package/deployments/simpleAccount07.entrypoint.EntryPoint.json +0 -1009
- package/deployments/simpleAccount08.Simple7702Account.json +0 -376
- package/deployments/simpleAccount08.SimpleAccountFactory.json +0 -102
- package/deployments/simpleAccount08.entrypoint.EntryPoint.json +0 -1079
- package/deployments/zerodevKernel30.ECDSAValidator.json +0 -302
- package/deployments/zerodevKernel30.Kernel.json +0 -1083
- package/deployments/zerodevKernel30.KernelFactory.json +0 -94
- package/deployments/zerodevKernel30.entryPoint.EntryPoint.json +0 -1009
- package/deployments/zerodevKernel30.factoryStaker.FactoryStaker.json +0 -292
- package/deployments/zerodevKernel30.factoryStaker.entryPoint.EntryPoint.json +0 -1009
- package/deployments/zerodevKernel31.ECDSAValidator.json +0 -292
- package/deployments/zerodevKernel31.Kernel.json +0 -1239
- package/deployments/zerodevKernel31.KernelFactory.json +0 -94
- package/deployments/zerodevKernel31.entryPoint.EntryPoint.json +0 -1009
- package/deployments/zerodevKernel31.factoryStaker.FactoryStaker.json +0 -292
- package/deployments/zerodevKernel31.factoryStaker.entryPoint.EntryPoint.json +0 -1009
- package/deployments/zerodevKernel32.Kernel.json +0 -1310
- package/deployments/zerodevKernel32.KernelFactory.json +0 -94
- package/deployments/zerodevKernel32.entryPoint.EntryPoint.json +0 -1009
- package/deployments/zerodevKernel32.factoryStaker.FactoryStaker.json +0 -292
- package/deployments/zerodevKernel32.factoryStaker.entryPoint.EntryPoint.json +0 -1009
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
{
|
|
2
|
+
"address": "0x6ccb8955afFA2aE4A88a4fC30916b41074d1F2B6",
|
|
3
|
+
"abi": [
|
|
4
|
+
{
|
|
5
|
+
"type": "constructor",
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"name": "impl",
|
|
9
|
+
"type": "address",
|
|
10
|
+
"internalType": "contract BottomTournament"
|
|
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": "stateTransition",
|
|
98
|
+
"type": "address",
|
|
99
|
+
"internalType": "contract IStateTransition"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"outputs": [
|
|
103
|
+
{
|
|
104
|
+
"name": "",
|
|
105
|
+
"type": "address",
|
|
106
|
+
"internalType": "contract BottomTournament"
|
|
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
|
+
"0xe6B4444d324E0B403c9C43C5d7c8B2C3d5d02962"
|
|
140
|
+
],
|
|
141
|
+
"linkedLibraries": {},
|
|
142
|
+
"deployTxnHash": "0xdf6b11897299042b58f80a6ad7d0dbc301e2b1ceef217b15c46333ae25b984ce",
|
|
143
|
+
"deployTxnBlockNumber": "3",
|
|
144
|
+
"deployTimestamp": "1762445419",
|
|
145
|
+
"sourceName": "src/tournament/factories/multilevel/BottomTournamentFactory.sol",
|
|
146
|
+
"contractName": "BottomTournamentFactory",
|
|
147
|
+
"deployedOn": "deploy.BottomTournamentFactory",
|
|
148
|
+
"gasUsed": 305889,
|
|
149
|
+
"gasCost": "1783055825"
|
|
150
|
+
}
|
package/deployments/cartesiDaveAppFactory.prtContracts.CanonicalTournamentParametersProvider.json
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"address": "0xEf77920dA48Ed9b16Bee85291A9B29C74d0e32eb",
|
|
3
|
+
"abi": [
|
|
4
|
+
{
|
|
5
|
+
"type": "constructor",
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"name": "matchEffort",
|
|
9
|
+
"type": "uint64",
|
|
10
|
+
"internalType": "Time.Duration"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "maxAllowance",
|
|
14
|
+
"type": "uint64",
|
|
15
|
+
"internalType": "Time.Duration"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"stateMutability": "nonpayable"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"type": "function",
|
|
22
|
+
"name": "tournamentParameters",
|
|
23
|
+
"inputs": [
|
|
24
|
+
{
|
|
25
|
+
"name": "level",
|
|
26
|
+
"type": "uint64",
|
|
27
|
+
"internalType": "uint64"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"outputs": [
|
|
31
|
+
{
|
|
32
|
+
"name": "",
|
|
33
|
+
"type": "tuple",
|
|
34
|
+
"internalType": "struct TournamentParameters",
|
|
35
|
+
"components": [
|
|
36
|
+
{
|
|
37
|
+
"name": "levels",
|
|
38
|
+
"type": "uint64",
|
|
39
|
+
"internalType": "uint64"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "log2step",
|
|
43
|
+
"type": "uint64",
|
|
44
|
+
"internalType": "uint64"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "height",
|
|
48
|
+
"type": "uint64",
|
|
49
|
+
"internalType": "uint64"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "matchEffort",
|
|
53
|
+
"type": "uint64",
|
|
54
|
+
"internalType": "Time.Duration"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "maxAllowance",
|
|
58
|
+
"type": "uint64",
|
|
59
|
+
"internalType": "Time.Duration"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"stateMutability": "view"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"constructorArgs": [
|
|
68
|
+
"2300",
|
|
69
|
+
"300"
|
|
70
|
+
],
|
|
71
|
+
"linkedLibraries": {},
|
|
72
|
+
"deployTxnHash": "0xf2be6418f3552ded417f4d8c99c5a771e0a0a58db17aa18ea6a4527abe02bb6c",
|
|
73
|
+
"deployTxnBlockNumber": "3",
|
|
74
|
+
"deployTimestamp": "1762445419",
|
|
75
|
+
"sourceName": "src/arbitration-config/CanonicalTournamentParametersProvider.sol",
|
|
76
|
+
"contractName": "CanonicalTournamentParametersProvider",
|
|
77
|
+
"deployedOn": "deploy.CanonicalTournamentParametersProvider",
|
|
78
|
+
"gasUsed": 169182,
|
|
79
|
+
"gasCost": "1669921875"
|
|
80
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"address": "0x31EEaeC2A8d855B13B376b72C172F0c20A2910F6",
|
|
3
|
+
"abi": [
|
|
4
|
+
{
|
|
5
|
+
"type": "constructor",
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"name": "_riscVStateTransition",
|
|
9
|
+
"type": "address",
|
|
10
|
+
"internalType": "contract IRiscVStateTransition"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "_cmioStateTransition",
|
|
14
|
+
"type": "address",
|
|
15
|
+
"internalType": "contract ICmioStateTransition"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"stateMutability": "nonpayable"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"type": "function",
|
|
22
|
+
"name": "transitionState",
|
|
23
|
+
"inputs": [
|
|
24
|
+
{
|
|
25
|
+
"name": "machineState",
|
|
26
|
+
"type": "bytes32",
|
|
27
|
+
"internalType": "bytes32"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "counter",
|
|
31
|
+
"type": "uint256",
|
|
32
|
+
"internalType": "uint256"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "proofs",
|
|
36
|
+
"type": "bytes",
|
|
37
|
+
"internalType": "bytes"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "provider",
|
|
41
|
+
"type": "address",
|
|
42
|
+
"internalType": "contract IDataProvider"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"outputs": [
|
|
46
|
+
{
|
|
47
|
+
"name": "",
|
|
48
|
+
"type": "bytes32",
|
|
49
|
+
"internalType": "bytes32"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"stateMutability": "view"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"type": "error",
|
|
56
|
+
"name": "SafeCastOverflowedUintDowncast",
|
|
57
|
+
"inputs": [
|
|
58
|
+
{
|
|
59
|
+
"name": "bits",
|
|
60
|
+
"type": "uint8",
|
|
61
|
+
"internalType": "uint8"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "value",
|
|
65
|
+
"type": "uint256",
|
|
66
|
+
"internalType": "uint256"
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"constructorArgs": [
|
|
72
|
+
"0x31a7AE6095516f78a30a8991aee2881D429AfECF",
|
|
73
|
+
"0x6288F737D7B18594b3092aEF13aB47071281A8b0"
|
|
74
|
+
],
|
|
75
|
+
"linkedLibraries": {},
|
|
76
|
+
"deployTxnHash": "0xc04d634d51730eb21ae0ad30a84033ce1c049884502bbe1094dfe646e67ee773",
|
|
77
|
+
"deployTxnBlockNumber": "3",
|
|
78
|
+
"deployTimestamp": "1762445419",
|
|
79
|
+
"sourceName": "src/state-transition/CartesiStateTransition.sol",
|
|
80
|
+
"contractName": "CartesiStateTransition",
|
|
81
|
+
"deployedOn": "deploy.CartesiStateTransition",
|
|
82
|
+
"gasUsed": 479386,
|
|
83
|
+
"gasCost": "1405762531"
|
|
84
|
+
}
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
{
|
|
2
|
+
"address": "0x6288F737D7B18594b3092aEF13aB47071281A8b0",
|
|
3
|
+
"abi": [
|
|
4
|
+
{
|
|
5
|
+
"type": "function",
|
|
6
|
+
"name": "checkpoint",
|
|
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
|
+
"name": "checkpointState",
|
|
39
|
+
"type": "bytes32",
|
|
40
|
+
"internalType": "bytes32"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"outputs": [
|
|
44
|
+
{
|
|
45
|
+
"name": "",
|
|
46
|
+
"type": "tuple",
|
|
47
|
+
"internalType": "struct AccessLogs.Context",
|
|
48
|
+
"components": [
|
|
49
|
+
{
|
|
50
|
+
"name": "currentRootHash",
|
|
51
|
+
"type": "bytes32",
|
|
52
|
+
"internalType": "bytes32"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "buffer",
|
|
56
|
+
"type": "tuple",
|
|
57
|
+
"internalType": "struct Buffer.Context",
|
|
58
|
+
"components": [
|
|
59
|
+
{
|
|
60
|
+
"name": "data",
|
|
61
|
+
"type": "bytes",
|
|
62
|
+
"internalType": "bytes"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "offset",
|
|
66
|
+
"type": "uint256",
|
|
67
|
+
"internalType": "uint256"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"stateMutability": "pure"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"type": "function",
|
|
78
|
+
"name": "revertIfNeeded",
|
|
79
|
+
"inputs": [
|
|
80
|
+
{
|
|
81
|
+
"name": "a",
|
|
82
|
+
"type": "tuple",
|
|
83
|
+
"internalType": "struct AccessLogs.Context",
|
|
84
|
+
"components": [
|
|
85
|
+
{
|
|
86
|
+
"name": "currentRootHash",
|
|
87
|
+
"type": "bytes32",
|
|
88
|
+
"internalType": "bytes32"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "buffer",
|
|
92
|
+
"type": "tuple",
|
|
93
|
+
"internalType": "struct Buffer.Context",
|
|
94
|
+
"components": [
|
|
95
|
+
{
|
|
96
|
+
"name": "data",
|
|
97
|
+
"type": "bytes",
|
|
98
|
+
"internalType": "bytes"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "offset",
|
|
102
|
+
"type": "uint256",
|
|
103
|
+
"internalType": "uint256"
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"outputs": [
|
|
111
|
+
{
|
|
112
|
+
"name": "",
|
|
113
|
+
"type": "tuple",
|
|
114
|
+
"internalType": "struct AccessLogs.Context",
|
|
115
|
+
"components": [
|
|
116
|
+
{
|
|
117
|
+
"name": "currentRootHash",
|
|
118
|
+
"type": "bytes32",
|
|
119
|
+
"internalType": "bytes32"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "buffer",
|
|
123
|
+
"type": "tuple",
|
|
124
|
+
"internalType": "struct Buffer.Context",
|
|
125
|
+
"components": [
|
|
126
|
+
{
|
|
127
|
+
"name": "data",
|
|
128
|
+
"type": "bytes",
|
|
129
|
+
"internalType": "bytes"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "offset",
|
|
133
|
+
"type": "uint256",
|
|
134
|
+
"internalType": "uint256"
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"stateMutability": "pure"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"type": "function",
|
|
145
|
+
"name": "sendCmio",
|
|
146
|
+
"inputs": [
|
|
147
|
+
{
|
|
148
|
+
"name": "a",
|
|
149
|
+
"type": "tuple",
|
|
150
|
+
"internalType": "struct AccessLogs.Context",
|
|
151
|
+
"components": [
|
|
152
|
+
{
|
|
153
|
+
"name": "currentRootHash",
|
|
154
|
+
"type": "bytes32",
|
|
155
|
+
"internalType": "bytes32"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "buffer",
|
|
159
|
+
"type": "tuple",
|
|
160
|
+
"internalType": "struct Buffer.Context",
|
|
161
|
+
"components": [
|
|
162
|
+
{
|
|
163
|
+
"name": "data",
|
|
164
|
+
"type": "bytes",
|
|
165
|
+
"internalType": "bytes"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "offset",
|
|
169
|
+
"type": "uint256",
|
|
170
|
+
"internalType": "uint256"
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
}
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"name": "reason",
|
|
178
|
+
"type": "uint16",
|
|
179
|
+
"internalType": "uint16"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"name": "dataHash",
|
|
183
|
+
"type": "bytes32",
|
|
184
|
+
"internalType": "bytes32"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "dataLength",
|
|
188
|
+
"type": "uint32",
|
|
189
|
+
"internalType": "uint32"
|
|
190
|
+
}
|
|
191
|
+
],
|
|
192
|
+
"outputs": [
|
|
193
|
+
{
|
|
194
|
+
"name": "",
|
|
195
|
+
"type": "tuple",
|
|
196
|
+
"internalType": "struct AccessLogs.Context",
|
|
197
|
+
"components": [
|
|
198
|
+
{
|
|
199
|
+
"name": "currentRootHash",
|
|
200
|
+
"type": "bytes32",
|
|
201
|
+
"internalType": "bytes32"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "buffer",
|
|
205
|
+
"type": "tuple",
|
|
206
|
+
"internalType": "struct Buffer.Context",
|
|
207
|
+
"components": [
|
|
208
|
+
{
|
|
209
|
+
"name": "data",
|
|
210
|
+
"type": "bytes",
|
|
211
|
+
"internalType": "bytes"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "offset",
|
|
215
|
+
"type": "uint256",
|
|
216
|
+
"internalType": "uint256"
|
|
217
|
+
}
|
|
218
|
+
]
|
|
219
|
+
}
|
|
220
|
+
]
|
|
221
|
+
}
|
|
222
|
+
],
|
|
223
|
+
"stateMutability": "pure"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"type": "error",
|
|
227
|
+
"name": "InvalidReason",
|
|
228
|
+
"inputs": [
|
|
229
|
+
{
|
|
230
|
+
"name": "reason",
|
|
231
|
+
"type": "uint16",
|
|
232
|
+
"internalType": "uint16"
|
|
233
|
+
}
|
|
234
|
+
]
|
|
235
|
+
}
|
|
236
|
+
],
|
|
237
|
+
"constructorArgs": [],
|
|
238
|
+
"linkedLibraries": {},
|
|
239
|
+
"deployTxnHash": "0xd1b62483d3f250cb3d83d966f76b9bf7d0a6d1a72dd3b8b15e8275391f05a74c",
|
|
240
|
+
"deployTxnBlockNumber": "1",
|
|
241
|
+
"deployTimestamp": "1762445419",
|
|
242
|
+
"sourceName": "src/state-transition/CmioStateTransition.sol",
|
|
243
|
+
"contractName": "CmioStateTransition",
|
|
244
|
+
"deployedOn": "deploy.CmioStateTransition",
|
|
245
|
+
"gasUsed": 923052,
|
|
246
|
+
"gasCost": "1587126130"
|
|
247
|
+
}
|