@aztec/l1-artifacts 0.7.2 → 0.7.3
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/.tsbuildinfo +1 -0
- package/dest/ContractDeploymentEmitterAbi.d.ts +88 -0
- package/dest/ContractDeploymentEmitterAbi.d.ts.map +1 -0
- package/dest/ContractDeploymentEmitterAbi.js +109 -0
- package/dest/ContractDeploymentEmitterBytecode.d.ts +5 -0
- package/dest/ContractDeploymentEmitterBytecode.d.ts.map +1 -0
- package/dest/ContractDeploymentEmitterBytecode.js +5 -0
- package/dest/DecoderHelperAbi.d.ts +75 -0
- package/dest/DecoderHelperAbi.d.ts.map +1 -0
- package/dest/DecoderHelperAbi.js +98 -0
- package/dest/DecoderHelperBytecode.d.ts +5 -0
- package/dest/DecoderHelperBytecode.d.ts.map +1 -0
- package/dest/DecoderHelperBytecode.js +5 -0
- package/dest/IERC20Abi.d.ts +145 -0
- package/dest/IERC20Abi.d.ts.map +1 -0
- package/dest/IERC20Abi.js +189 -0
- package/dest/IERC20Bytecode.d.ts +5 -0
- package/dest/IERC20Bytecode.d.ts.map +1 -0
- package/dest/IERC20Bytecode.js +5 -0
- package/dest/InboxAbi.d.ts +415 -0
- package/dest/InboxAbi.d.ts.map +1 -0
- package/dest/InboxAbi.js +540 -0
- package/dest/InboxBytecode.d.ts +5 -0
- package/dest/InboxBytecode.d.ts.map +1 -0
- package/dest/InboxBytecode.js +5 -0
- package/dest/OutboxAbi.d.ts +253 -0
- package/dest/OutboxAbi.d.ts.map +1 -0
- package/dest/OutboxAbi.js +333 -0
- package/dest/OutboxBytecode.d.ts +5 -0
- package/dest/OutboxBytecode.d.ts.map +1 -0
- package/dest/OutboxBytecode.js +5 -0
- package/dest/PortalERC20Abi.d.ts +229 -0
- package/dest/PortalERC20Abi.d.ts.map +1 -0
- package/dest/PortalERC20Abi.js +299 -0
- package/dest/PortalERC20Bytecode.d.ts +5 -0
- package/dest/PortalERC20Bytecode.d.ts.map +1 -0
- package/dest/PortalERC20Bytecode.js +5 -0
- package/dest/RegistryAbi.d.ts +159 -0
- package/dest/RegistryAbi.d.ts.map +1 -0
- package/dest/RegistryAbi.js +209 -0
- package/dest/RegistryBytecode.d.ts +5 -0
- package/dest/RegistryBytecode.d.ts.map +1 -0
- package/dest/RegistryBytecode.js +5 -0
- package/dest/RollupAbi.d.ts +145 -0
- package/dest/RollupAbi.d.ts.map +1 -0
- package/dest/RollupAbi.js +189 -0
- package/dest/RollupBytecode.d.ts +5 -0
- package/dest/RollupBytecode.d.ts.map +1 -0
- package/dest/RollupBytecode.js +5 -0
- package/dest/TokenPortalAbi.d.ts +135 -0
- package/dest/TokenPortalAbi.d.ts.map +1 -0
- package/dest/TokenPortalAbi.js +175 -0
- package/dest/TokenPortalBytecode.d.ts +5 -0
- package/dest/TokenPortalBytecode.d.ts.map +1 -0
- package/dest/TokenPortalBytecode.js +5 -0
- package/dest/UniswapPortalAbi.d.ts +99 -0
- package/dest/UniswapPortalAbi.d.ts.map +1 -0
- package/dest/UniswapPortalAbi.js +127 -0
- package/dest/UniswapPortalBytecode.d.ts +5 -0
- package/dest/UniswapPortalBytecode.d.ts.map +1 -0
- package/dest/UniswapPortalBytecode.js +5 -0
- package/dest/index.d.ts +21 -0
- package/dest/index.d.ts.map +1 -0
- package/dest/index.js +22 -0
- package/package.json +1 -1
- package/Dockerfile +0 -14
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Registry ABI.
|
|
3
|
+
*/
|
|
4
|
+
export declare const RegistryAbi: readonly [{
|
|
5
|
+
readonly inputs: readonly [];
|
|
6
|
+
readonly stateMutability: "nonpayable";
|
|
7
|
+
readonly type: "constructor";
|
|
8
|
+
}, {
|
|
9
|
+
readonly inputs: readonly [{
|
|
10
|
+
readonly internalType: "address";
|
|
11
|
+
readonly name: "rollup";
|
|
12
|
+
readonly type: "address";
|
|
13
|
+
}];
|
|
14
|
+
readonly name: "Registry__RollupAlreadyRegistered";
|
|
15
|
+
readonly type: "error";
|
|
16
|
+
}, {
|
|
17
|
+
readonly inputs: readonly [{
|
|
18
|
+
readonly internalType: "address";
|
|
19
|
+
readonly name: "rollup";
|
|
20
|
+
readonly type: "address";
|
|
21
|
+
}];
|
|
22
|
+
readonly name: "Registry__RollupNotRegistered";
|
|
23
|
+
readonly type: "error";
|
|
24
|
+
}, {
|
|
25
|
+
readonly inputs: readonly [];
|
|
26
|
+
readonly name: "getCurrentSnapshot";
|
|
27
|
+
readonly outputs: readonly [{
|
|
28
|
+
readonly components: readonly [{
|
|
29
|
+
readonly internalType: "address";
|
|
30
|
+
readonly name: "rollup";
|
|
31
|
+
readonly type: "address";
|
|
32
|
+
}, {
|
|
33
|
+
readonly internalType: "address";
|
|
34
|
+
readonly name: "inbox";
|
|
35
|
+
readonly type: "address";
|
|
36
|
+
}, {
|
|
37
|
+
readonly internalType: "address";
|
|
38
|
+
readonly name: "outbox";
|
|
39
|
+
readonly type: "address";
|
|
40
|
+
}, {
|
|
41
|
+
readonly internalType: "uint256";
|
|
42
|
+
readonly name: "blockNumber";
|
|
43
|
+
readonly type: "uint256";
|
|
44
|
+
}];
|
|
45
|
+
readonly internalType: "struct DataStructures.RegistrySnapshot";
|
|
46
|
+
readonly name: "";
|
|
47
|
+
readonly type: "tuple";
|
|
48
|
+
}];
|
|
49
|
+
readonly stateMutability: "view";
|
|
50
|
+
readonly type: "function";
|
|
51
|
+
}, {
|
|
52
|
+
readonly inputs: readonly [];
|
|
53
|
+
readonly name: "getInbox";
|
|
54
|
+
readonly outputs: readonly [{
|
|
55
|
+
readonly internalType: "contract IInbox";
|
|
56
|
+
readonly name: "";
|
|
57
|
+
readonly type: "address";
|
|
58
|
+
}];
|
|
59
|
+
readonly stateMutability: "view";
|
|
60
|
+
readonly type: "function";
|
|
61
|
+
}, {
|
|
62
|
+
readonly inputs: readonly [];
|
|
63
|
+
readonly name: "getOutbox";
|
|
64
|
+
readonly outputs: readonly [{
|
|
65
|
+
readonly internalType: "contract IOutbox";
|
|
66
|
+
readonly name: "";
|
|
67
|
+
readonly type: "address";
|
|
68
|
+
}];
|
|
69
|
+
readonly stateMutability: "view";
|
|
70
|
+
readonly type: "function";
|
|
71
|
+
}, {
|
|
72
|
+
readonly inputs: readonly [];
|
|
73
|
+
readonly name: "getRollup";
|
|
74
|
+
readonly outputs: readonly [{
|
|
75
|
+
readonly internalType: "contract IRollup";
|
|
76
|
+
readonly name: "";
|
|
77
|
+
readonly type: "address";
|
|
78
|
+
}];
|
|
79
|
+
readonly stateMutability: "view";
|
|
80
|
+
readonly type: "function";
|
|
81
|
+
}, {
|
|
82
|
+
readonly inputs: readonly [{
|
|
83
|
+
readonly internalType: "uint256";
|
|
84
|
+
readonly name: "_version";
|
|
85
|
+
readonly type: "uint256";
|
|
86
|
+
}];
|
|
87
|
+
readonly name: "getSnapshot";
|
|
88
|
+
readonly outputs: readonly [{
|
|
89
|
+
readonly components: readonly [{
|
|
90
|
+
readonly internalType: "address";
|
|
91
|
+
readonly name: "rollup";
|
|
92
|
+
readonly type: "address";
|
|
93
|
+
}, {
|
|
94
|
+
readonly internalType: "address";
|
|
95
|
+
readonly name: "inbox";
|
|
96
|
+
readonly type: "address";
|
|
97
|
+
}, {
|
|
98
|
+
readonly internalType: "address";
|
|
99
|
+
readonly name: "outbox";
|
|
100
|
+
readonly type: "address";
|
|
101
|
+
}, {
|
|
102
|
+
readonly internalType: "uint256";
|
|
103
|
+
readonly name: "blockNumber";
|
|
104
|
+
readonly type: "uint256";
|
|
105
|
+
}];
|
|
106
|
+
readonly internalType: "struct DataStructures.RegistrySnapshot";
|
|
107
|
+
readonly name: "";
|
|
108
|
+
readonly type: "tuple";
|
|
109
|
+
}];
|
|
110
|
+
readonly stateMutability: "view";
|
|
111
|
+
readonly type: "function";
|
|
112
|
+
}, {
|
|
113
|
+
readonly inputs: readonly [{
|
|
114
|
+
readonly internalType: "address";
|
|
115
|
+
readonly name: "_rollup";
|
|
116
|
+
readonly type: "address";
|
|
117
|
+
}];
|
|
118
|
+
readonly name: "getVersionFor";
|
|
119
|
+
readonly outputs: readonly [{
|
|
120
|
+
readonly internalType: "uint256";
|
|
121
|
+
readonly name: "";
|
|
122
|
+
readonly type: "uint256";
|
|
123
|
+
}];
|
|
124
|
+
readonly stateMutability: "view";
|
|
125
|
+
readonly type: "function";
|
|
126
|
+
}, {
|
|
127
|
+
readonly inputs: readonly [];
|
|
128
|
+
readonly name: "numberOfVersions";
|
|
129
|
+
readonly outputs: readonly [{
|
|
130
|
+
readonly internalType: "uint256";
|
|
131
|
+
readonly name: "";
|
|
132
|
+
readonly type: "uint256";
|
|
133
|
+
}];
|
|
134
|
+
readonly stateMutability: "view";
|
|
135
|
+
readonly type: "function";
|
|
136
|
+
}, {
|
|
137
|
+
readonly inputs: readonly [{
|
|
138
|
+
readonly internalType: "address";
|
|
139
|
+
readonly name: "_rollup";
|
|
140
|
+
readonly type: "address";
|
|
141
|
+
}, {
|
|
142
|
+
readonly internalType: "address";
|
|
143
|
+
readonly name: "_inbox";
|
|
144
|
+
readonly type: "address";
|
|
145
|
+
}, {
|
|
146
|
+
readonly internalType: "address";
|
|
147
|
+
readonly name: "_outbox";
|
|
148
|
+
readonly type: "address";
|
|
149
|
+
}];
|
|
150
|
+
readonly name: "upgrade";
|
|
151
|
+
readonly outputs: readonly [{
|
|
152
|
+
readonly internalType: "uint256";
|
|
153
|
+
readonly name: "";
|
|
154
|
+
readonly type: "uint256";
|
|
155
|
+
}];
|
|
156
|
+
readonly stateMutability: "nonpayable";
|
|
157
|
+
readonly type: "function";
|
|
158
|
+
}];
|
|
159
|
+
//# sourceMappingURL=RegistryAbi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RegistryAbi.d.ts","sourceRoot":"","sources":["../generated/RegistryAbi.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4Md,CAAC"}
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Registry ABI.
|
|
3
|
+
*/
|
|
4
|
+
export const RegistryAbi = [
|
|
5
|
+
{
|
|
6
|
+
"inputs": [],
|
|
7
|
+
"stateMutability": "nonpayable",
|
|
8
|
+
"type": "constructor"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"inputs": [
|
|
12
|
+
{
|
|
13
|
+
"internalType": "address",
|
|
14
|
+
"name": "rollup",
|
|
15
|
+
"type": "address"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"name": "Registry__RollupAlreadyRegistered",
|
|
19
|
+
"type": "error"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"inputs": [
|
|
23
|
+
{
|
|
24
|
+
"internalType": "address",
|
|
25
|
+
"name": "rollup",
|
|
26
|
+
"type": "address"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"name": "Registry__RollupNotRegistered",
|
|
30
|
+
"type": "error"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"inputs": [],
|
|
34
|
+
"name": "getCurrentSnapshot",
|
|
35
|
+
"outputs": [
|
|
36
|
+
{
|
|
37
|
+
"components": [
|
|
38
|
+
{
|
|
39
|
+
"internalType": "address",
|
|
40
|
+
"name": "rollup",
|
|
41
|
+
"type": "address"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"internalType": "address",
|
|
45
|
+
"name": "inbox",
|
|
46
|
+
"type": "address"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"internalType": "address",
|
|
50
|
+
"name": "outbox",
|
|
51
|
+
"type": "address"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"internalType": "uint256",
|
|
55
|
+
"name": "blockNumber",
|
|
56
|
+
"type": "uint256"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"internalType": "struct DataStructures.RegistrySnapshot",
|
|
60
|
+
"name": "",
|
|
61
|
+
"type": "tuple"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"stateMutability": "view",
|
|
65
|
+
"type": "function"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"inputs": [],
|
|
69
|
+
"name": "getInbox",
|
|
70
|
+
"outputs": [
|
|
71
|
+
{
|
|
72
|
+
"internalType": "contract IInbox",
|
|
73
|
+
"name": "",
|
|
74
|
+
"type": "address"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"stateMutability": "view",
|
|
78
|
+
"type": "function"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"inputs": [],
|
|
82
|
+
"name": "getOutbox",
|
|
83
|
+
"outputs": [
|
|
84
|
+
{
|
|
85
|
+
"internalType": "contract IOutbox",
|
|
86
|
+
"name": "",
|
|
87
|
+
"type": "address"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"stateMutability": "view",
|
|
91
|
+
"type": "function"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"inputs": [],
|
|
95
|
+
"name": "getRollup",
|
|
96
|
+
"outputs": [
|
|
97
|
+
{
|
|
98
|
+
"internalType": "contract IRollup",
|
|
99
|
+
"name": "",
|
|
100
|
+
"type": "address"
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"stateMutability": "view",
|
|
104
|
+
"type": "function"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"inputs": [
|
|
108
|
+
{
|
|
109
|
+
"internalType": "uint256",
|
|
110
|
+
"name": "_version",
|
|
111
|
+
"type": "uint256"
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"name": "getSnapshot",
|
|
115
|
+
"outputs": [
|
|
116
|
+
{
|
|
117
|
+
"components": [
|
|
118
|
+
{
|
|
119
|
+
"internalType": "address",
|
|
120
|
+
"name": "rollup",
|
|
121
|
+
"type": "address"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"internalType": "address",
|
|
125
|
+
"name": "inbox",
|
|
126
|
+
"type": "address"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"internalType": "address",
|
|
130
|
+
"name": "outbox",
|
|
131
|
+
"type": "address"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"internalType": "uint256",
|
|
135
|
+
"name": "blockNumber",
|
|
136
|
+
"type": "uint256"
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
"internalType": "struct DataStructures.RegistrySnapshot",
|
|
140
|
+
"name": "",
|
|
141
|
+
"type": "tuple"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"stateMutability": "view",
|
|
145
|
+
"type": "function"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"inputs": [
|
|
149
|
+
{
|
|
150
|
+
"internalType": "address",
|
|
151
|
+
"name": "_rollup",
|
|
152
|
+
"type": "address"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"name": "getVersionFor",
|
|
156
|
+
"outputs": [
|
|
157
|
+
{
|
|
158
|
+
"internalType": "uint256",
|
|
159
|
+
"name": "",
|
|
160
|
+
"type": "uint256"
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"stateMutability": "view",
|
|
164
|
+
"type": "function"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"inputs": [],
|
|
168
|
+
"name": "numberOfVersions",
|
|
169
|
+
"outputs": [
|
|
170
|
+
{
|
|
171
|
+
"internalType": "uint256",
|
|
172
|
+
"name": "",
|
|
173
|
+
"type": "uint256"
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"stateMutability": "view",
|
|
177
|
+
"type": "function"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"inputs": [
|
|
181
|
+
{
|
|
182
|
+
"internalType": "address",
|
|
183
|
+
"name": "_rollup",
|
|
184
|
+
"type": "address"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"internalType": "address",
|
|
188
|
+
"name": "_inbox",
|
|
189
|
+
"type": "address"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"internalType": "address",
|
|
193
|
+
"name": "_outbox",
|
|
194
|
+
"type": "address"
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
"name": "upgrade",
|
|
198
|
+
"outputs": [
|
|
199
|
+
{
|
|
200
|
+
"internalType": "uint256",
|
|
201
|
+
"name": "",
|
|
202
|
+
"type": "uint256"
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
"stateMutability": "nonpayable",
|
|
206
|
+
"type": "function"
|
|
207
|
+
}
|
|
208
|
+
];
|
|
209
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVnaXN0cnlBYmkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9nZW5lcmF0ZWQvUmVnaXN0cnlBYmkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFDSCxNQUFNLENBQUMsTUFBTSxXQUFXLEdBQUc7SUFDekI7UUFDRSxRQUFRLEVBQUUsRUFBRTtRQUNaLGlCQUFpQixFQUFFLFlBQVk7UUFDL0IsTUFBTSxFQUFFLGFBQWE7S0FDdEI7SUFDRDtRQUNFLFFBQVEsRUFBRTtZQUNSO2dCQUNFLGNBQWMsRUFBRSxTQUFTO2dCQUN6QixNQUFNLEVBQUUsUUFBUTtnQkFDaEIsTUFBTSxFQUFFLFNBQVM7YUFDbEI7U0FDRjtRQUNELE1BQU0sRUFBRSxtQ0FBbUM7UUFDM0MsTUFBTSxFQUFFLE9BQU87S0FDaEI7SUFDRDtRQUNFLFFBQVEsRUFBRTtZQUNSO2dCQUN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0UsY0FBYyxFQUFFLFNBQVM7Z0JBQ3pCLE1BQU0sRUFBRSxTQUFTO2dCQUNqQixNQUFNLEVBQUUsU0FBUzthQUNsQjtZQUNEO2dCQUNFLGNBQWMsRUFBRSxTQUFTO2dCQUN6QixNQUFNLEVBQUUsUUFBUTtnQkFDaEIsTUFBTSxFQUFFLFNBQVM7YUFDbEI7WUFDRDtnQkFDRSxjQUFjLEVBQUUsU0FBUztnQkFDekIsTUFBTSxFQUFFLFNBQVM7Z0JBQ2pCLE1BQU0sRUFBRSxTQUFTO2FBQ2xCO1NBQ0Y7UUFDRCxNQUFNLEVBQUUsU0FBUztRQUNqQixTQUFTLEVBQUU7WUFDVDtnQkFDRSxjQUFjLEVBQUUsU0FBUztnQkFDekIsTUFBTSxFQUFFLEVBQUU7Z0JBQ1YsTUFBTSxFQUFFLFNBQVM7YUFDbEI7U0FDRjtRQUNELGlCQUFpQixFQUFFLFlBQVk7UUFDL0IsTUFBTSxFQUFFLFVBQVU7S0FDbkI7Q0FDTyxDQUFDIn0=
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Registry bytecode.
|
|
3
|
+
*/
|
|
4
|
+
export declare const RegistryBytecode = "0x608060405234801561001057600080fd5b5061001e61dead8080610024565b5061018d565b6001600160a01b0383166000908152600660205260408120541580159061006d57604051633c34eabf60e01b81526001600160a01b038616600482015260240160405180910390fd5b604080516080810182526001600160a01b03808816808352878216602084018190529187169383018490524360608401819052600180546001600160a01b03199081169093179055600280548316909317909255600380549091169093179092556004919091556000805481806100e383610166565b909155506000818152600560209081526040808320865181546001600160a01b03199081166001600160a01b03928316178355888501516001840180548316918416919091179055888401516002840180549092169083161790556060909701516003909101559990941681526006909352969091208690555093949350505050565b60006001820161018657634e487b7160e01b600052601160045260246000fd5b5060010190565b6104bf8061019c6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063a4d2342a1161005b578063a4d2342a146101a0578063f000999e146101b1578063f6fc7eb6146101c4578063fe8beb711461022657600080fd5b8063368c093c1461008d5780635a4ce7ba146100b757806376f10ad0146100ce578063a32fbb7b1461018f575b600080fd5b6002546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b6100c060005481565b6040519081526020016100ae565b61014f6100dc3660046103c8565b6040805160808082018352600080835260208084018290528385018290526060938401829052948152600585528390208351918201845280546001600160a01b03908116835260018201548116958301959095526002810154909416928101929092526003909201549181019190915290565b6040805182516001600160a01b039081168252602080850151821690830152838301511691810191909152606091820151918101919091526080016100ae565b6003546001600160a01b031661009a565b6001546001600160a01b031661009a565b6100c06101bf3660046103fd565b610239565b61014f60408051608081018252600080825260208201819052918101829052606081019190915250604080516080810182526001546001600160a01b039081168252600254811660208301526003541691810191909152600454606082015290565b6100c0610234366004610440565b61037c565b6001600160a01b0383166000908152600660205260408120541580159061028357604051633c34eabf60e01b81526001600160a01b03861660048201526024015b60405180910390fd5b604080516080810182526001600160a01b03808816808352878216602084018190529187169383018490524360608401819052600180546001600160a01b03199081169093179055600280548316909317909255600380549091169093179092556004919091556000805481806102f983610462565b909155506000818152600560209081526040808320865181546001600160a01b03199081166001600160a01b03928316178355888501516001840180548316918416919091179055888401516002840180549092169083161790556060909701516003909101559990941681526006909352969091208690555093949350505050565b6001600160a01b038116600090815260066020526040812054801515806103c15760405163a1fee4cf60e01b81526001600160a01b038516600482015260240161027a565b5092915050565b6000602082840312156103da57600080fd5b5035919050565b80356001600160a01b03811681146103f857600080fd5b919050565b60008060006060848603121561041257600080fd5b61041b846103e1565b9250610429602085016103e1565b9150610437604085016103e1565b90509250925092565b60006020828403121561045257600080fd5b61045b826103e1565b9392505050565b60006001820161048257634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220edddc3318fed076e0885b4e1c914a2cf6e66b937dc1c0c62b754449b32645c7964736f6c63430008150033";
|
|
5
|
+
//# sourceMappingURL=RegistryBytecode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RegistryBytecode.d.ts","sourceRoot":"","sources":["../generated/RegistryBytecode.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,gBAAgB,6rGAA6rG,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Registry bytecode.
|
|
3
|
+
*/
|
|
4
|
+
export const RegistryBytecode = "0x608060405234801561001057600080fd5b5061001e61dead8080610024565b5061018d565b6001600160a01b0383166000908152600660205260408120541580159061006d57604051633c34eabf60e01b81526001600160a01b038616600482015260240160405180910390fd5b604080516080810182526001600160a01b03808816808352878216602084018190529187169383018490524360608401819052600180546001600160a01b03199081169093179055600280548316909317909255600380549091169093179092556004919091556000805481806100e383610166565b909155506000818152600560209081526040808320865181546001600160a01b03199081166001600160a01b03928316178355888501516001840180548316918416919091179055888401516002840180549092169083161790556060909701516003909101559990941681526006909352969091208690555093949350505050565b60006001820161018657634e487b7160e01b600052601160045260246000fd5b5060010190565b6104bf8061019c6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063a4d2342a1161005b578063a4d2342a146101a0578063f000999e146101b1578063f6fc7eb6146101c4578063fe8beb711461022657600080fd5b8063368c093c1461008d5780635a4ce7ba146100b757806376f10ad0146100ce578063a32fbb7b1461018f575b600080fd5b6002546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b6100c060005481565b6040519081526020016100ae565b61014f6100dc3660046103c8565b6040805160808082018352600080835260208084018290528385018290526060938401829052948152600585528390208351918201845280546001600160a01b03908116835260018201548116958301959095526002810154909416928101929092526003909201549181019190915290565b6040805182516001600160a01b039081168252602080850151821690830152838301511691810191909152606091820151918101919091526080016100ae565b6003546001600160a01b031661009a565b6001546001600160a01b031661009a565b6100c06101bf3660046103fd565b610239565b61014f60408051608081018252600080825260208201819052918101829052606081019190915250604080516080810182526001546001600160a01b039081168252600254811660208301526003541691810191909152600454606082015290565b6100c0610234366004610440565b61037c565b6001600160a01b0383166000908152600660205260408120541580159061028357604051633c34eabf60e01b81526001600160a01b03861660048201526024015b60405180910390fd5b604080516080810182526001600160a01b03808816808352878216602084018190529187169383018490524360608401819052600180546001600160a01b03199081169093179055600280548316909317909255600380549091169093179092556004919091556000805481806102f983610462565b909155506000818152600560209081526040808320865181546001600160a01b03199081166001600160a01b03928316178355888501516001840180548316918416919091179055888401516002840180549092169083161790556060909701516003909101559990941681526006909352969091208690555093949350505050565b6001600160a01b038116600090815260066020526040812054801515806103c15760405163a1fee4cf60e01b81526001600160a01b038516600482015260240161027a565b5092915050565b6000602082840312156103da57600080fd5b5035919050565b80356001600160a01b03811681146103f857600080fd5b919050565b60008060006060848603121561041257600080fd5b61041b846103e1565b9250610429602085016103e1565b9150610437604085016103e1565b90509250925092565b60006020828403121561045257600080fd5b61045b826103e1565b9392505050565b60006001820161048257634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220edddc3318fed076e0885b4e1c914a2cf6e66b937dc1c0c62b754449b32645c7964736f6c63430008150033";
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVnaXN0cnlCeXRlY29kZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL2dlbmVyYXRlZC9SZWdpc3RyeUJ5dGVjb2RlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sZ0JBQWdCLEdBQUcsMHJHQUEwckcsQ0FBQyJ9
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Rollup ABI.
|
|
3
|
+
*/
|
|
4
|
+
export declare const RollupAbi: readonly [{
|
|
5
|
+
readonly inputs: readonly [{
|
|
6
|
+
readonly internalType: "contract IRegistry";
|
|
7
|
+
readonly name: "_registry";
|
|
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: "bytes32";
|
|
31
|
+
readonly name: "expected";
|
|
32
|
+
readonly type: "bytes32";
|
|
33
|
+
}, {
|
|
34
|
+
readonly internalType: "bytes32";
|
|
35
|
+
readonly name: "actual";
|
|
36
|
+
readonly type: "bytes32";
|
|
37
|
+
}];
|
|
38
|
+
readonly name: "Rollup__InvalidStateHash";
|
|
39
|
+
readonly type: "error";
|
|
40
|
+
}, {
|
|
41
|
+
readonly inputs: readonly [{
|
|
42
|
+
readonly internalType: "uint256";
|
|
43
|
+
readonly name: "expected";
|
|
44
|
+
readonly type: "uint256";
|
|
45
|
+
}, {
|
|
46
|
+
readonly internalType: "uint256";
|
|
47
|
+
readonly name: "actual";
|
|
48
|
+
readonly type: "uint256";
|
|
49
|
+
}];
|
|
50
|
+
readonly name: "Rollup__InvalidVersion";
|
|
51
|
+
readonly type: "error";
|
|
52
|
+
}, {
|
|
53
|
+
readonly inputs: readonly [];
|
|
54
|
+
readonly name: "Rollup__TimestampInFuture";
|
|
55
|
+
readonly type: "error";
|
|
56
|
+
}, {
|
|
57
|
+
readonly inputs: readonly [];
|
|
58
|
+
readonly name: "Rollup__TimestampTooOld";
|
|
59
|
+
readonly type: "error";
|
|
60
|
+
}, {
|
|
61
|
+
readonly anonymous: false;
|
|
62
|
+
readonly inputs: readonly [{
|
|
63
|
+
readonly indexed: true;
|
|
64
|
+
readonly internalType: "uint256";
|
|
65
|
+
readonly name: "blockNum";
|
|
66
|
+
readonly type: "uint256";
|
|
67
|
+
}];
|
|
68
|
+
readonly name: "L2BlockProcessed";
|
|
69
|
+
readonly type: "event";
|
|
70
|
+
}, {
|
|
71
|
+
readonly inputs: readonly [];
|
|
72
|
+
readonly name: "REGISTRY";
|
|
73
|
+
readonly outputs: readonly [{
|
|
74
|
+
readonly internalType: "contract IRegistry";
|
|
75
|
+
readonly name: "";
|
|
76
|
+
readonly type: "address";
|
|
77
|
+
}];
|
|
78
|
+
readonly stateMutability: "view";
|
|
79
|
+
readonly type: "function";
|
|
80
|
+
}, {
|
|
81
|
+
readonly inputs: readonly [];
|
|
82
|
+
readonly name: "VERIFIER";
|
|
83
|
+
readonly outputs: readonly [{
|
|
84
|
+
readonly internalType: "contract MockVerifier";
|
|
85
|
+
readonly name: "";
|
|
86
|
+
readonly type: "address";
|
|
87
|
+
}];
|
|
88
|
+
readonly stateMutability: "view";
|
|
89
|
+
readonly type: "function";
|
|
90
|
+
}, {
|
|
91
|
+
readonly inputs: readonly [];
|
|
92
|
+
readonly name: "VERSION";
|
|
93
|
+
readonly outputs: readonly [{
|
|
94
|
+
readonly internalType: "uint256";
|
|
95
|
+
readonly name: "";
|
|
96
|
+
readonly type: "uint256";
|
|
97
|
+
}];
|
|
98
|
+
readonly stateMutability: "view";
|
|
99
|
+
readonly type: "function";
|
|
100
|
+
}, {
|
|
101
|
+
readonly inputs: readonly [];
|
|
102
|
+
readonly name: "lastBlockTs";
|
|
103
|
+
readonly outputs: readonly [{
|
|
104
|
+
readonly internalType: "uint256";
|
|
105
|
+
readonly name: "";
|
|
106
|
+
readonly type: "uint256";
|
|
107
|
+
}];
|
|
108
|
+
readonly stateMutability: "view";
|
|
109
|
+
readonly type: "function";
|
|
110
|
+
}, {
|
|
111
|
+
readonly inputs: readonly [];
|
|
112
|
+
readonly name: "lastWarpedBlockTs";
|
|
113
|
+
readonly outputs: readonly [{
|
|
114
|
+
readonly internalType: "uint256";
|
|
115
|
+
readonly name: "";
|
|
116
|
+
readonly type: "uint256";
|
|
117
|
+
}];
|
|
118
|
+
readonly stateMutability: "view";
|
|
119
|
+
readonly type: "function";
|
|
120
|
+
}, {
|
|
121
|
+
readonly inputs: readonly [{
|
|
122
|
+
readonly internalType: "bytes";
|
|
123
|
+
readonly name: "_proof";
|
|
124
|
+
readonly type: "bytes";
|
|
125
|
+
}, {
|
|
126
|
+
readonly internalType: "bytes";
|
|
127
|
+
readonly name: "_l2Block";
|
|
128
|
+
readonly type: "bytes";
|
|
129
|
+
}];
|
|
130
|
+
readonly name: "process";
|
|
131
|
+
readonly outputs: readonly [];
|
|
132
|
+
readonly stateMutability: "nonpayable";
|
|
133
|
+
readonly type: "function";
|
|
134
|
+
}, {
|
|
135
|
+
readonly inputs: readonly [];
|
|
136
|
+
readonly name: "rollupStateHash";
|
|
137
|
+
readonly outputs: readonly [{
|
|
138
|
+
readonly internalType: "bytes32";
|
|
139
|
+
readonly name: "";
|
|
140
|
+
readonly type: "bytes32";
|
|
141
|
+
}];
|
|
142
|
+
readonly stateMutability: "view";
|
|
143
|
+
readonly type: "function";
|
|
144
|
+
}];
|
|
145
|
+
//# sourceMappingURL=RollupAbi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RollupAbi.d.ts","sourceRoot":"","sources":["../generated/RollupAbi.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwLZ,CAAC"}
|