@aztec/l1-artifacts 0.19.0 → 0.21.0
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/dest/AvailabilityOracleAbi.d.ts +43 -0
- package/dest/AvailabilityOracleAbi.d.ts.map +1 -0
- package/dest/AvailabilityOracleAbi.js +57 -0
- package/dest/AvailabilityOracleBytecode.d.ts +5 -0
- package/dest/AvailabilityOracleBytecode.d.ts.map +1 -0
- package/dest/AvailabilityOracleBytecode.js +5 -0
- package/dest/ContractDeploymentEmitterAbi.d.ts +47 -47
- package/dest/ContractDeploymentEmitterAbi.js +64 -64
- package/dest/IERC20Abi.d.ts +67 -67
- package/dest/IERC20Abi.js +101 -101
- package/dest/InboxAbi.d.ts +241 -241
- package/dest/InboxAbi.js +343 -343
- package/dest/InboxBytecode.d.ts +1 -1
- package/dest/InboxBytecode.js +1 -1
- package/dest/OutboxAbi.d.ts +141 -141
- package/dest/OutboxAbi.js +203 -203
- package/dest/OutboxBytecode.d.ts +1 -1
- package/dest/OutboxBytecode.js +1 -1
- package/dest/PortalERC20Abi.d.ts +145 -145
- package/dest/PortalERC20Abi.js +209 -209
- package/dest/RegistryAbi.d.ts +58 -58
- package/dest/RegistryAbi.js +95 -95
- package/dest/RegistryBytecode.d.ts +1 -1
- package/dest/RegistryBytecode.js +1 -1
- package/dest/RollupAbi.d.ts +124 -84
- package/dest/RollupAbi.d.ts.map +1 -1
- package/dest/RollupAbi.js +165 -113
- package/dest/RollupBytecode.d.ts +1 -1
- package/dest/RollupBytecode.d.ts.map +1 -1
- package/dest/RollupBytecode.js +2 -2
- package/dest/TokenPortalAbi.d.ts +80 -80
- package/dest/TokenPortalAbi.js +134 -134
- package/dest/TokenPortalBytecode.d.ts +1 -1
- package/dest/TokenPortalBytecode.js +1 -1
- package/dest/UniswapPortalAbi.d.ts +39 -39
- package/dest/UniswapPortalAbi.js +73 -73
- package/dest/UniswapPortalBytecode.d.ts +1 -1
- package/dest/UniswapPortalBytecode.js +1 -1
- package/dest/index.d.ts +2 -2
- package/dest/index.d.ts.map +1 -1
- package/dest/index.js +3 -3
- package/generated/AvailabilityOracleAbi.ts +56 -0
- package/generated/AvailabilityOracleBytecode.ts +4 -0
- package/generated/ContractDeploymentEmitterAbi.ts +63 -63
- package/generated/IERC20Abi.ts +100 -100
- package/generated/InboxAbi.ts +342 -342
- package/generated/InboxBytecode.ts +1 -1
- package/generated/OutboxAbi.ts +202 -202
- package/generated/OutboxBytecode.ts +1 -1
- package/generated/PortalERC20Abi.ts +208 -208
- package/generated/RegistryAbi.ts +94 -94
- package/generated/RegistryBytecode.ts +1 -1
- package/generated/RollupAbi.ts +164 -112
- package/generated/RollupBytecode.ts +1 -1
- package/generated/TokenPortalAbi.ts +133 -133
- package/generated/TokenPortalBytecode.ts +1 -1
- package/generated/UniswapPortalAbi.ts +72 -72
- package/generated/UniswapPortalBytecode.ts +1 -1
- package/generated/index.ts +2 -2
- package/package.json +1 -1
- package/dest/DecoderHelperAbi.d.ts +0 -75
- package/dest/DecoderHelperAbi.d.ts.map +0 -1
- package/dest/DecoderHelperAbi.js +0 -98
- package/dest/DecoderHelperBytecode.d.ts +0 -5
- package/dest/DecoderHelperBytecode.d.ts.map +0 -1
- package/dest/DecoderHelperBytecode.js +0 -5
- package/generated/DecoderHelperAbi.ts +0 -97
- package/generated/DecoderHelperBytecode.ts +0 -4
package/dest/RollupAbi.d.ts
CHANGED
|
@@ -2,150 +2,190 @@
|
|
|
2
2
|
* Rollup ABI.
|
|
3
3
|
*/
|
|
4
4
|
export declare const RollupAbi: readonly [{
|
|
5
|
+
readonly type: "constructor";
|
|
5
6
|
readonly inputs: readonly [{
|
|
6
|
-
readonly internalType: "contract IRegistry";
|
|
7
7
|
readonly name: "_registry";
|
|
8
8
|
readonly type: "address";
|
|
9
|
-
|
|
10
|
-
readonly stateMutability: "nonpayable";
|
|
11
|
-
readonly type: "constructor";
|
|
12
|
-
}, {
|
|
13
|
-
readonly inputs: readonly [{
|
|
14
|
-
readonly internalType: "uint256";
|
|
15
|
-
readonly name: "expected";
|
|
16
|
-
readonly type: "uint256";
|
|
17
|
-
}, {
|
|
18
|
-
readonly internalType: "uint256";
|
|
19
|
-
readonly name: "actual";
|
|
20
|
-
readonly type: "uint256";
|
|
21
|
-
}];
|
|
22
|
-
readonly name: "Rollup__InvalidChainId";
|
|
23
|
-
readonly type: "error";
|
|
24
|
-
}, {
|
|
25
|
-
readonly inputs: readonly [];
|
|
26
|
-
readonly name: "Rollup__InvalidProof";
|
|
27
|
-
readonly type: "error";
|
|
28
|
-
}, {
|
|
29
|
-
readonly inputs: readonly [{
|
|
30
|
-
readonly internalType: "uint256";
|
|
31
|
-
readonly name: "expected";
|
|
32
|
-
readonly type: "uint256";
|
|
9
|
+
readonly internalType: "contract IRegistry";
|
|
33
10
|
}, {
|
|
34
|
-
readonly
|
|
35
|
-
readonly
|
|
36
|
-
readonly
|
|
37
|
-
}];
|
|
38
|
-
readonly name: "Rollup__InvalidVersion";
|
|
39
|
-
readonly type: "error";
|
|
40
|
-
}, {
|
|
41
|
-
readonly inputs: readonly [];
|
|
42
|
-
readonly name: "Rollup__TimestampInFuture";
|
|
43
|
-
readonly type: "error";
|
|
44
|
-
}, {
|
|
45
|
-
readonly inputs: readonly [];
|
|
46
|
-
readonly name: "Rollup__TimestampTooOld";
|
|
47
|
-
readonly type: "error";
|
|
48
|
-
}, {
|
|
49
|
-
readonly inputs: readonly [{
|
|
50
|
-
readonly internalType: "bytes32";
|
|
51
|
-
readonly name: "txsHash";
|
|
52
|
-
readonly type: "bytes32";
|
|
53
|
-
}];
|
|
54
|
-
readonly name: "Rollup__UnavailableTxs";
|
|
55
|
-
readonly type: "error";
|
|
56
|
-
}, {
|
|
57
|
-
readonly anonymous: false;
|
|
58
|
-
readonly inputs: readonly [{
|
|
59
|
-
readonly indexed: true;
|
|
60
|
-
readonly internalType: "uint256";
|
|
61
|
-
readonly name: "blockNum";
|
|
62
|
-
readonly type: "uint256";
|
|
11
|
+
readonly name: "_availabilityOracle";
|
|
12
|
+
readonly type: "address";
|
|
13
|
+
readonly internalType: "contract IAvailabilityOracle";
|
|
63
14
|
}];
|
|
64
|
-
readonly
|
|
65
|
-
readonly type: "event";
|
|
15
|
+
readonly stateMutability: "nonpayable";
|
|
66
16
|
}, {
|
|
67
|
-
readonly
|
|
17
|
+
readonly type: "function";
|
|
68
18
|
readonly name: "AVAILABILITY_ORACLE";
|
|
19
|
+
readonly inputs: readonly [];
|
|
69
20
|
readonly outputs: readonly [{
|
|
70
|
-
readonly internalType: "contract AvailabilityOracle";
|
|
71
21
|
readonly name: "";
|
|
72
22
|
readonly type: "address";
|
|
23
|
+
readonly internalType: "contract IAvailabilityOracle";
|
|
73
24
|
}];
|
|
74
25
|
readonly stateMutability: "view";
|
|
75
|
-
readonly type: "function";
|
|
76
26
|
}, {
|
|
77
|
-
readonly
|
|
27
|
+
readonly type: "function";
|
|
78
28
|
readonly name: "REGISTRY";
|
|
29
|
+
readonly inputs: readonly [];
|
|
79
30
|
readonly outputs: readonly [{
|
|
80
|
-
readonly internalType: "contract IRegistry";
|
|
81
31
|
readonly name: "";
|
|
82
32
|
readonly type: "address";
|
|
33
|
+
readonly internalType: "contract IRegistry";
|
|
83
34
|
}];
|
|
84
35
|
readonly stateMutability: "view";
|
|
85
|
-
readonly type: "function";
|
|
86
36
|
}, {
|
|
87
|
-
readonly
|
|
37
|
+
readonly type: "function";
|
|
88
38
|
readonly name: "VERIFIER";
|
|
39
|
+
readonly inputs: readonly [];
|
|
89
40
|
readonly outputs: readonly [{
|
|
90
|
-
readonly internalType: "contract MockVerifier";
|
|
91
41
|
readonly name: "";
|
|
92
42
|
readonly type: "address";
|
|
43
|
+
readonly internalType: "contract MockVerifier";
|
|
93
44
|
}];
|
|
94
45
|
readonly stateMutability: "view";
|
|
95
|
-
readonly type: "function";
|
|
96
46
|
}, {
|
|
97
|
-
readonly
|
|
47
|
+
readonly type: "function";
|
|
98
48
|
readonly name: "VERSION";
|
|
49
|
+
readonly inputs: readonly [];
|
|
99
50
|
readonly outputs: readonly [{
|
|
100
|
-
readonly internalType: "uint256";
|
|
101
51
|
readonly name: "";
|
|
102
52
|
readonly type: "uint256";
|
|
53
|
+
readonly internalType: "uint256";
|
|
103
54
|
}];
|
|
104
55
|
readonly stateMutability: "view";
|
|
105
|
-
readonly type: "function";
|
|
106
56
|
}, {
|
|
57
|
+
readonly type: "function";
|
|
58
|
+
readonly name: "archive";
|
|
107
59
|
readonly inputs: readonly [];
|
|
60
|
+
readonly outputs: readonly [{
|
|
61
|
+
readonly name: "";
|
|
62
|
+
readonly type: "bytes32";
|
|
63
|
+
readonly internalType: "bytes32";
|
|
64
|
+
}];
|
|
65
|
+
readonly stateMutability: "view";
|
|
66
|
+
}, {
|
|
67
|
+
readonly type: "function";
|
|
108
68
|
readonly name: "lastBlockTs";
|
|
69
|
+
readonly inputs: readonly [];
|
|
109
70
|
readonly outputs: readonly [{
|
|
110
|
-
readonly internalType: "uint256";
|
|
111
71
|
readonly name: "";
|
|
112
72
|
readonly type: "uint256";
|
|
73
|
+
readonly internalType: "uint256";
|
|
113
74
|
}];
|
|
114
75
|
readonly stateMutability: "view";
|
|
115
|
-
readonly type: "function";
|
|
116
76
|
}, {
|
|
117
|
-
readonly
|
|
77
|
+
readonly type: "function";
|
|
118
78
|
readonly name: "lastWarpedBlockTs";
|
|
79
|
+
readonly inputs: readonly [];
|
|
119
80
|
readonly outputs: readonly [{
|
|
120
|
-
readonly internalType: "uint256";
|
|
121
81
|
readonly name: "";
|
|
122
82
|
readonly type: "uint256";
|
|
83
|
+
readonly internalType: "uint256";
|
|
123
84
|
}];
|
|
124
85
|
readonly stateMutability: "view";
|
|
125
|
-
readonly type: "function";
|
|
126
86
|
}, {
|
|
87
|
+
readonly type: "function";
|
|
88
|
+
readonly name: "process";
|
|
127
89
|
readonly inputs: readonly [{
|
|
128
|
-
readonly
|
|
129
|
-
readonly name: "_proof";
|
|
90
|
+
readonly name: "_header";
|
|
130
91
|
readonly type: "bytes";
|
|
92
|
+
readonly internalType: "bytes";
|
|
93
|
+
}, {
|
|
94
|
+
readonly name: "_archive";
|
|
95
|
+
readonly type: "bytes32";
|
|
96
|
+
readonly internalType: "bytes32";
|
|
97
|
+
}, {
|
|
98
|
+
readonly name: "_txsHash";
|
|
99
|
+
readonly type: "bytes32";
|
|
100
|
+
readonly internalType: "bytes32";
|
|
131
101
|
}, {
|
|
102
|
+
readonly name: "_body";
|
|
103
|
+
readonly type: "bytes";
|
|
132
104
|
readonly internalType: "bytes";
|
|
133
|
-
|
|
105
|
+
}, {
|
|
106
|
+
readonly name: "_proof";
|
|
134
107
|
readonly type: "bytes";
|
|
108
|
+
readonly internalType: "bytes";
|
|
135
109
|
}];
|
|
136
|
-
readonly name: "process";
|
|
137
110
|
readonly outputs: readonly [];
|
|
138
111
|
readonly stateMutability: "nonpayable";
|
|
139
|
-
readonly type: "function";
|
|
140
112
|
}, {
|
|
141
|
-
readonly
|
|
142
|
-
readonly name: "
|
|
143
|
-
readonly
|
|
113
|
+
readonly type: "event";
|
|
114
|
+
readonly name: "L2BlockProcessed";
|
|
115
|
+
readonly inputs: readonly [{
|
|
116
|
+
readonly name: "blockNumber";
|
|
117
|
+
readonly type: "uint256";
|
|
118
|
+
readonly indexed: true;
|
|
119
|
+
readonly internalType: "uint256";
|
|
120
|
+
}];
|
|
121
|
+
readonly anonymous: false;
|
|
122
|
+
}, {
|
|
123
|
+
readonly type: "error";
|
|
124
|
+
readonly name: "HeaderLib__InvalidHeaderSize";
|
|
125
|
+
readonly inputs: readonly [{
|
|
126
|
+
readonly name: "expected";
|
|
127
|
+
readonly type: "uint256";
|
|
128
|
+
readonly internalType: "uint256";
|
|
129
|
+
}, {
|
|
130
|
+
readonly name: "actual";
|
|
131
|
+
readonly type: "uint256";
|
|
132
|
+
readonly internalType: "uint256";
|
|
133
|
+
}];
|
|
134
|
+
}, {
|
|
135
|
+
readonly type: "error";
|
|
136
|
+
readonly name: "Rollup__InvalidArchive";
|
|
137
|
+
readonly inputs: readonly [{
|
|
138
|
+
readonly name: "expected";
|
|
139
|
+
readonly type: "bytes32";
|
|
144
140
|
readonly internalType: "bytes32";
|
|
145
|
-
|
|
141
|
+
}, {
|
|
142
|
+
readonly name: "actual";
|
|
146
143
|
readonly type: "bytes32";
|
|
144
|
+
readonly internalType: "bytes32";
|
|
145
|
+
}];
|
|
146
|
+
}, {
|
|
147
|
+
readonly type: "error";
|
|
148
|
+
readonly name: "Rollup__InvalidChainId";
|
|
149
|
+
readonly inputs: readonly [{
|
|
150
|
+
readonly name: "expected";
|
|
151
|
+
readonly type: "uint256";
|
|
152
|
+
readonly internalType: "uint256";
|
|
153
|
+
}, {
|
|
154
|
+
readonly name: "actual";
|
|
155
|
+
readonly type: "uint256";
|
|
156
|
+
readonly internalType: "uint256";
|
|
157
|
+
}];
|
|
158
|
+
}, {
|
|
159
|
+
readonly type: "error";
|
|
160
|
+
readonly name: "Rollup__InvalidProof";
|
|
161
|
+
readonly inputs: readonly [];
|
|
162
|
+
}, {
|
|
163
|
+
readonly type: "error";
|
|
164
|
+
readonly name: "Rollup__InvalidVersion";
|
|
165
|
+
readonly inputs: readonly [{
|
|
166
|
+
readonly name: "expected";
|
|
167
|
+
readonly type: "uint256";
|
|
168
|
+
readonly internalType: "uint256";
|
|
169
|
+
}, {
|
|
170
|
+
readonly name: "actual";
|
|
171
|
+
readonly type: "uint256";
|
|
172
|
+
readonly internalType: "uint256";
|
|
173
|
+
}];
|
|
174
|
+
}, {
|
|
175
|
+
readonly type: "error";
|
|
176
|
+
readonly name: "Rollup__TimestampInFuture";
|
|
177
|
+
readonly inputs: readonly [];
|
|
178
|
+
}, {
|
|
179
|
+
readonly type: "error";
|
|
180
|
+
readonly name: "Rollup__TimestampTooOld";
|
|
181
|
+
readonly inputs: readonly [];
|
|
182
|
+
}, {
|
|
183
|
+
readonly type: "error";
|
|
184
|
+
readonly name: "Rollup__UnavailableTxs";
|
|
185
|
+
readonly inputs: readonly [{
|
|
186
|
+
readonly name: "txsHash";
|
|
187
|
+
readonly type: "bytes32";
|
|
188
|
+
readonly internalType: "bytes32";
|
|
147
189
|
}];
|
|
148
|
-
readonly stateMutability: "view";
|
|
149
|
-
readonly type: "function";
|
|
150
190
|
}];
|
|
151
191
|
//# sourceMappingURL=RollupAbi.d.ts.map
|
package/dest/RollupAbi.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RollupAbi.d.ts","sourceRoot":"","sources":["../generated/RollupAbi.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"RollupAbi.d.ts","sourceRoot":"","sources":["../generated/RollupAbi.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoPZ,CAAC"}
|
package/dest/RollupAbi.js
CHANGED
|
@@ -3,195 +3,247 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const RollupAbi = [
|
|
5
5
|
{
|
|
6
|
+
"type": "constructor",
|
|
6
7
|
"inputs": [
|
|
7
8
|
{
|
|
8
|
-
"internalType": "contract IRegistry",
|
|
9
9
|
"name": "_registry",
|
|
10
|
-
"type": "address"
|
|
11
|
-
|
|
12
|
-
],
|
|
13
|
-
"stateMutability": "nonpayable",
|
|
14
|
-
"type": "constructor"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"inputs": [
|
|
18
|
-
{
|
|
19
|
-
"internalType": "uint256",
|
|
20
|
-
"name": "expected",
|
|
21
|
-
"type": "uint256"
|
|
10
|
+
"type": "address",
|
|
11
|
+
"internalType": "contract IRegistry"
|
|
22
12
|
},
|
|
23
13
|
{
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
14
|
+
"name": "_availabilityOracle",
|
|
15
|
+
"type": "address",
|
|
16
|
+
"internalType": "contract IAvailabilityOracle"
|
|
27
17
|
}
|
|
28
18
|
],
|
|
29
|
-
"
|
|
30
|
-
"type": "error"
|
|
19
|
+
"stateMutability": "nonpayable"
|
|
31
20
|
},
|
|
32
21
|
{
|
|
22
|
+
"type": "function",
|
|
23
|
+
"name": "AVAILABILITY_ORACLE",
|
|
33
24
|
"inputs": [],
|
|
34
|
-
"
|
|
35
|
-
"type": "error"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"inputs": [
|
|
39
|
-
{
|
|
40
|
-
"internalType": "uint256",
|
|
41
|
-
"name": "expected",
|
|
42
|
-
"type": "uint256"
|
|
43
|
-
},
|
|
25
|
+
"outputs": [
|
|
44
26
|
{
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
27
|
+
"name": "",
|
|
28
|
+
"type": "address",
|
|
29
|
+
"internalType": "contract IAvailabilityOracle"
|
|
48
30
|
}
|
|
49
31
|
],
|
|
50
|
-
"
|
|
51
|
-
"type": "error"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"inputs": [],
|
|
55
|
-
"name": "Rollup__TimestampInFuture",
|
|
56
|
-
"type": "error"
|
|
32
|
+
"stateMutability": "view"
|
|
57
33
|
},
|
|
58
34
|
{
|
|
35
|
+
"type": "function",
|
|
36
|
+
"name": "REGISTRY",
|
|
59
37
|
"inputs": [],
|
|
60
|
-
"
|
|
61
|
-
"type": "error"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"inputs": [
|
|
38
|
+
"outputs": [
|
|
65
39
|
{
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
40
|
+
"name": "",
|
|
41
|
+
"type": "address",
|
|
42
|
+
"internalType": "contract IRegistry"
|
|
69
43
|
}
|
|
70
44
|
],
|
|
71
|
-
"
|
|
72
|
-
"type": "error"
|
|
45
|
+
"stateMutability": "view"
|
|
73
46
|
},
|
|
74
47
|
{
|
|
75
|
-
"
|
|
76
|
-
"
|
|
48
|
+
"type": "function",
|
|
49
|
+
"name": "VERIFIER",
|
|
50
|
+
"inputs": [],
|
|
51
|
+
"outputs": [
|
|
77
52
|
{
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"type": "uint256"
|
|
53
|
+
"name": "",
|
|
54
|
+
"type": "address",
|
|
55
|
+
"internalType": "contract MockVerifier"
|
|
82
56
|
}
|
|
83
57
|
],
|
|
84
|
-
"
|
|
85
|
-
"type": "event"
|
|
58
|
+
"stateMutability": "view"
|
|
86
59
|
},
|
|
87
60
|
{
|
|
61
|
+
"type": "function",
|
|
62
|
+
"name": "VERSION",
|
|
88
63
|
"inputs": [],
|
|
89
|
-
"name": "AVAILABILITY_ORACLE",
|
|
90
64
|
"outputs": [
|
|
91
65
|
{
|
|
92
|
-
"internalType": "contract AvailabilityOracle",
|
|
93
66
|
"name": "",
|
|
94
|
-
"type": "
|
|
67
|
+
"type": "uint256",
|
|
68
|
+
"internalType": "uint256"
|
|
95
69
|
}
|
|
96
70
|
],
|
|
97
|
-
"stateMutability": "view"
|
|
98
|
-
"type": "function"
|
|
71
|
+
"stateMutability": "view"
|
|
99
72
|
},
|
|
100
73
|
{
|
|
74
|
+
"type": "function",
|
|
75
|
+
"name": "archive",
|
|
101
76
|
"inputs": [],
|
|
102
|
-
"name": "REGISTRY",
|
|
103
77
|
"outputs": [
|
|
104
78
|
{
|
|
105
|
-
"internalType": "contract IRegistry",
|
|
106
79
|
"name": "",
|
|
107
|
-
"type": "
|
|
80
|
+
"type": "bytes32",
|
|
81
|
+
"internalType": "bytes32"
|
|
108
82
|
}
|
|
109
83
|
],
|
|
110
|
-
"stateMutability": "view"
|
|
111
|
-
"type": "function"
|
|
84
|
+
"stateMutability": "view"
|
|
112
85
|
},
|
|
113
86
|
{
|
|
87
|
+
"type": "function",
|
|
88
|
+
"name": "lastBlockTs",
|
|
114
89
|
"inputs": [],
|
|
115
|
-
"name": "VERIFIER",
|
|
116
90
|
"outputs": [
|
|
117
91
|
{
|
|
118
|
-
"internalType": "contract MockVerifier",
|
|
119
92
|
"name": "",
|
|
120
|
-
"type": "
|
|
93
|
+
"type": "uint256",
|
|
94
|
+
"internalType": "uint256"
|
|
121
95
|
}
|
|
122
96
|
],
|
|
123
|
-
"stateMutability": "view"
|
|
124
|
-
"type": "function"
|
|
97
|
+
"stateMutability": "view"
|
|
125
98
|
},
|
|
126
99
|
{
|
|
100
|
+
"type": "function",
|
|
101
|
+
"name": "lastWarpedBlockTs",
|
|
127
102
|
"inputs": [],
|
|
128
|
-
"name": "VERSION",
|
|
129
103
|
"outputs": [
|
|
130
104
|
{
|
|
131
|
-
"internalType": "uint256",
|
|
132
105
|
"name": "",
|
|
133
|
-
"type": "uint256"
|
|
106
|
+
"type": "uint256",
|
|
107
|
+
"internalType": "uint256"
|
|
134
108
|
}
|
|
135
109
|
],
|
|
136
|
-
"stateMutability": "view"
|
|
137
|
-
"type": "function"
|
|
110
|
+
"stateMutability": "view"
|
|
138
111
|
},
|
|
139
112
|
{
|
|
140
|
-
"
|
|
141
|
-
"name": "
|
|
142
|
-
"
|
|
113
|
+
"type": "function",
|
|
114
|
+
"name": "process",
|
|
115
|
+
"inputs": [
|
|
143
116
|
{
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
117
|
+
"name": "_header",
|
|
118
|
+
"type": "bytes",
|
|
119
|
+
"internalType": "bytes"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "_archive",
|
|
123
|
+
"type": "bytes32",
|
|
124
|
+
"internalType": "bytes32"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "_txsHash",
|
|
128
|
+
"type": "bytes32",
|
|
129
|
+
"internalType": "bytes32"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "_body",
|
|
133
|
+
"type": "bytes",
|
|
134
|
+
"internalType": "bytes"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "_proof",
|
|
138
|
+
"type": "bytes",
|
|
139
|
+
"internalType": "bytes"
|
|
147
140
|
}
|
|
148
141
|
],
|
|
149
|
-
"
|
|
150
|
-
"
|
|
142
|
+
"outputs": [],
|
|
143
|
+
"stateMutability": "nonpayable"
|
|
151
144
|
},
|
|
152
145
|
{
|
|
153
|
-
"
|
|
154
|
-
"name": "
|
|
155
|
-
"
|
|
146
|
+
"type": "event",
|
|
147
|
+
"name": "L2BlockProcessed",
|
|
148
|
+
"inputs": [
|
|
156
149
|
{
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
"
|
|
150
|
+
"name": "blockNumber",
|
|
151
|
+
"type": "uint256",
|
|
152
|
+
"indexed": true,
|
|
153
|
+
"internalType": "uint256"
|
|
160
154
|
}
|
|
161
155
|
],
|
|
162
|
-
"
|
|
163
|
-
"type": "function"
|
|
156
|
+
"anonymous": false
|
|
164
157
|
},
|
|
165
158
|
{
|
|
159
|
+
"type": "error",
|
|
160
|
+
"name": "HeaderLib__InvalidHeaderSize",
|
|
166
161
|
"inputs": [
|
|
167
162
|
{
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
"
|
|
163
|
+
"name": "expected",
|
|
164
|
+
"type": "uint256",
|
|
165
|
+
"internalType": "uint256"
|
|
171
166
|
},
|
|
172
167
|
{
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
"
|
|
168
|
+
"name": "actual",
|
|
169
|
+
"type": "uint256",
|
|
170
|
+
"internalType": "uint256"
|
|
176
171
|
}
|
|
177
|
-
]
|
|
178
|
-
"name": "process",
|
|
179
|
-
"outputs": [],
|
|
180
|
-
"stateMutability": "nonpayable",
|
|
181
|
-
"type": "function"
|
|
172
|
+
]
|
|
182
173
|
},
|
|
183
174
|
{
|
|
184
|
-
"
|
|
185
|
-
"name": "
|
|
186
|
-
"
|
|
175
|
+
"type": "error",
|
|
176
|
+
"name": "Rollup__InvalidArchive",
|
|
177
|
+
"inputs": [
|
|
187
178
|
{
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
"
|
|
179
|
+
"name": "expected",
|
|
180
|
+
"type": "bytes32",
|
|
181
|
+
"internalType": "bytes32"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "actual",
|
|
185
|
+
"type": "bytes32",
|
|
186
|
+
"internalType": "bytes32"
|
|
191
187
|
}
|
|
192
|
-
]
|
|
193
|
-
|
|
194
|
-
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"type": "error",
|
|
192
|
+
"name": "Rollup__InvalidChainId",
|
|
193
|
+
"inputs": [
|
|
194
|
+
{
|
|
195
|
+
"name": "expected",
|
|
196
|
+
"type": "uint256",
|
|
197
|
+
"internalType": "uint256"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "actual",
|
|
201
|
+
"type": "uint256",
|
|
202
|
+
"internalType": "uint256"
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"type": "error",
|
|
208
|
+
"name": "Rollup__InvalidProof",
|
|
209
|
+
"inputs": []
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"type": "error",
|
|
213
|
+
"name": "Rollup__InvalidVersion",
|
|
214
|
+
"inputs": [
|
|
215
|
+
{
|
|
216
|
+
"name": "expected",
|
|
217
|
+
"type": "uint256",
|
|
218
|
+
"internalType": "uint256"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "actual",
|
|
222
|
+
"type": "uint256",
|
|
223
|
+
"internalType": "uint256"
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"type": "error",
|
|
229
|
+
"name": "Rollup__TimestampInFuture",
|
|
230
|
+
"inputs": []
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"type": "error",
|
|
234
|
+
"name": "Rollup__TimestampTooOld",
|
|
235
|
+
"inputs": []
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"type": "error",
|
|
239
|
+
"name": "Rollup__UnavailableTxs",
|
|
240
|
+
"inputs": [
|
|
241
|
+
{
|
|
242
|
+
"name": "txsHash",
|
|
243
|
+
"type": "bytes32",
|
|
244
|
+
"internalType": "bytes32"
|
|
245
|
+
}
|
|
246
|
+
]
|
|
195
247
|
}
|
|
196
248
|
];
|
|
197
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
249
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUm9sbHVwQWJpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vZ2VuZXJhdGVkL1JvbGx1cEFiaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLFNBQVMsR0FBRztJQUN2QjtRQUNFLE1BQU0sRUFBRSxhQUFhO1FBQ3JCLFFBQVEsRUFBRTtZQUNSO2dCQUNFLE1BQU0sRUFBRSxXQUFXO2dCQUNuQixNQUFNLEVBQUUsU0FBUztnQkFDakIsY0FBYyxFQUFFLG9CQUFvQjthQUNyQztZQUNEO2dCQUNFLE1BQU0sRUFBRSxxQkFBcUI7Z0JBQzdCLE1BQU0sRUFBRSxTQUFTO2dCQUNqQixjQUFjLEVBQUUsOEJBQThCO2FBQy9DO1NBQ0Y7UUFDRCxpQkFBaUIsRUFBRSxZQUFZO0tBQ2hDO0lBQ0Q7UUFDRSxNQUFNLEVBQUUsVUFBVTtRQUNsQixNQUFNLEVBQUUscUJBQXFCO1FBQzdCLFFBQVEsRUFBRSxFQUFFO1FBQ1osU0FBUyxFQUFFO1lBQ1Q7Z0JBQ0UsT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