@reyaxyz/common 0.161.0 → 0.161.1

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.
@@ -0,0 +1,376 @@
1
+ {
2
+ "abi": [
3
+ {
4
+ "inputs": [
5
+ {
6
+ "components": [
7
+ {
8
+ "internalType": "address",
9
+ "name": "target",
10
+ "type": "address"
11
+ },
12
+ {
13
+ "internalType": "bytes",
14
+ "name": "callData",
15
+ "type": "bytes"
16
+ }
17
+ ],
18
+ "internalType": "struct ArbMulticall2.Call[]",
19
+ "name": "calls",
20
+ "type": "tuple[]"
21
+ }
22
+ ],
23
+ "name": "aggregate",
24
+ "outputs": [
25
+ {
26
+ "internalType": "uint256",
27
+ "name": "blockNumber",
28
+ "type": "uint256"
29
+ },
30
+ {
31
+ "internalType": "bytes[]",
32
+ "name": "returnData",
33
+ "type": "bytes[]"
34
+ }
35
+ ],
36
+ "stateMutability": "nonpayable",
37
+ "type": "function"
38
+ },
39
+ {
40
+ "inputs": [
41
+ {
42
+ "components": [
43
+ {
44
+ "internalType": "address",
45
+ "name": "target",
46
+ "type": "address"
47
+ },
48
+ {
49
+ "internalType": "bytes",
50
+ "name": "callData",
51
+ "type": "bytes"
52
+ }
53
+ ],
54
+ "internalType": "struct ArbMulticall2.Call[]",
55
+ "name": "calls",
56
+ "type": "tuple[]"
57
+ }
58
+ ],
59
+ "name": "blockAndAggregate",
60
+ "outputs": [
61
+ {
62
+ "internalType": "uint256",
63
+ "name": "blockNumber",
64
+ "type": "uint256"
65
+ },
66
+ {
67
+ "internalType": "bytes32",
68
+ "name": "blockHash",
69
+ "type": "bytes32"
70
+ },
71
+ {
72
+ "components": [
73
+ {
74
+ "internalType": "bool",
75
+ "name": "success",
76
+ "type": "bool"
77
+ },
78
+ {
79
+ "internalType": "bytes",
80
+ "name": "returnData",
81
+ "type": "bytes"
82
+ }
83
+ ],
84
+ "internalType": "struct ArbMulticall2.Result[]",
85
+ "name": "returnData",
86
+ "type": "tuple[]"
87
+ }
88
+ ],
89
+ "stateMutability": "nonpayable",
90
+ "type": "function"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "uint256",
96
+ "name": "blockNumber",
97
+ "type": "uint256"
98
+ }
99
+ ],
100
+ "name": "getBlockHash",
101
+ "outputs": [
102
+ {
103
+ "internalType": "bytes32",
104
+ "name": "blockHash",
105
+ "type": "bytes32"
106
+ }
107
+ ],
108
+ "stateMutability": "view",
109
+ "type": "function"
110
+ },
111
+ {
112
+ "inputs": [],
113
+ "name": "getBlockNumber",
114
+ "outputs": [
115
+ {
116
+ "internalType": "uint256",
117
+ "name": "blockNumber",
118
+ "type": "uint256"
119
+ }
120
+ ],
121
+ "stateMutability": "view",
122
+ "type": "function"
123
+ },
124
+ {
125
+ "inputs": [],
126
+ "name": "getCurrentBlockCoinbase",
127
+ "outputs": [
128
+ {
129
+ "internalType": "address",
130
+ "name": "coinbase",
131
+ "type": "address"
132
+ }
133
+ ],
134
+ "stateMutability": "view",
135
+ "type": "function"
136
+ },
137
+ {
138
+ "inputs": [],
139
+ "name": "getCurrentBlockDifficulty",
140
+ "outputs": [
141
+ {
142
+ "internalType": "uint256",
143
+ "name": "difficulty",
144
+ "type": "uint256"
145
+ }
146
+ ],
147
+ "stateMutability": "view",
148
+ "type": "function"
149
+ },
150
+ {
151
+ "inputs": [],
152
+ "name": "getCurrentBlockGasLimit",
153
+ "outputs": [
154
+ {
155
+ "internalType": "uint256",
156
+ "name": "gaslimit",
157
+ "type": "uint256"
158
+ }
159
+ ],
160
+ "stateMutability": "view",
161
+ "type": "function"
162
+ },
163
+ {
164
+ "inputs": [],
165
+ "name": "getCurrentBlockTimestamp",
166
+ "outputs": [
167
+ {
168
+ "internalType": "uint256",
169
+ "name": "timestamp",
170
+ "type": "uint256"
171
+ }
172
+ ],
173
+ "stateMutability": "view",
174
+ "type": "function"
175
+ },
176
+ {
177
+ "inputs": [
178
+ {
179
+ "internalType": "address",
180
+ "name": "addr",
181
+ "type": "address"
182
+ }
183
+ ],
184
+ "name": "getEthBalance",
185
+ "outputs": [
186
+ {
187
+ "internalType": "uint256",
188
+ "name": "balance",
189
+ "type": "uint256"
190
+ }
191
+ ],
192
+ "stateMutability": "view",
193
+ "type": "function"
194
+ },
195
+ {
196
+ "inputs": [],
197
+ "name": "getL1BlockNumber",
198
+ "outputs": [
199
+ {
200
+ "internalType": "uint256",
201
+ "name": "l1BlockNumber",
202
+ "type": "uint256"
203
+ }
204
+ ],
205
+ "stateMutability": "view",
206
+ "type": "function"
207
+ },
208
+ {
209
+ "inputs": [],
210
+ "name": "getLastBlockHash",
211
+ "outputs": [
212
+ {
213
+ "internalType": "bytes32",
214
+ "name": "blockHash",
215
+ "type": "bytes32"
216
+ }
217
+ ],
218
+ "stateMutability": "view",
219
+ "type": "function"
220
+ },
221
+ {
222
+ "inputs": [
223
+ {
224
+ "internalType": "bool",
225
+ "name": "requireSuccess",
226
+ "type": "bool"
227
+ },
228
+ {
229
+ "components": [
230
+ {
231
+ "internalType": "address",
232
+ "name": "target",
233
+ "type": "address"
234
+ },
235
+ {
236
+ "internalType": "bytes",
237
+ "name": "callData",
238
+ "type": "bytes"
239
+ }
240
+ ],
241
+ "internalType": "struct ArbMulticall2.Call[]",
242
+ "name": "calls",
243
+ "type": "tuple[]"
244
+ }
245
+ ],
246
+ "name": "tryAggregate",
247
+ "outputs": [
248
+ {
249
+ "components": [
250
+ {
251
+ "internalType": "bool",
252
+ "name": "success",
253
+ "type": "bool"
254
+ },
255
+ {
256
+ "internalType": "bytes",
257
+ "name": "returnData",
258
+ "type": "bytes"
259
+ }
260
+ ],
261
+ "internalType": "struct ArbMulticall2.Result[]",
262
+ "name": "returnData",
263
+ "type": "tuple[]"
264
+ }
265
+ ],
266
+ "stateMutability": "nonpayable",
267
+ "type": "function"
268
+ },
269
+ {
270
+ "inputs": [
271
+ {
272
+ "internalType": "bool",
273
+ "name": "requireSuccess",
274
+ "type": "bool"
275
+ },
276
+ {
277
+ "components": [
278
+ {
279
+ "internalType": "address",
280
+ "name": "target",
281
+ "type": "address"
282
+ },
283
+ {
284
+ "internalType": "bytes",
285
+ "name": "callData",
286
+ "type": "bytes"
287
+ }
288
+ ],
289
+ "internalType": "struct ArbMulticall2.Call[]",
290
+ "name": "calls",
291
+ "type": "tuple[]"
292
+ }
293
+ ],
294
+ "name": "tryAggregateGasRation",
295
+ "outputs": [
296
+ {
297
+ "components": [
298
+ {
299
+ "internalType": "bool",
300
+ "name": "success",
301
+ "type": "bool"
302
+ },
303
+ {
304
+ "internalType": "bytes",
305
+ "name": "returnData",
306
+ "type": "bytes"
307
+ }
308
+ ],
309
+ "internalType": "struct ArbMulticall2.Result[]",
310
+ "name": "returnData",
311
+ "type": "tuple[]"
312
+ }
313
+ ],
314
+ "stateMutability": "nonpayable",
315
+ "type": "function"
316
+ },
317
+ {
318
+ "inputs": [
319
+ {
320
+ "internalType": "bool",
321
+ "name": "requireSuccess",
322
+ "type": "bool"
323
+ },
324
+ {
325
+ "components": [
326
+ {
327
+ "internalType": "address",
328
+ "name": "target",
329
+ "type": "address"
330
+ },
331
+ {
332
+ "internalType": "bytes",
333
+ "name": "callData",
334
+ "type": "bytes"
335
+ }
336
+ ],
337
+ "internalType": "struct ArbMulticall2.Call[]",
338
+ "name": "calls",
339
+ "type": "tuple[]"
340
+ }
341
+ ],
342
+ "name": "tryBlockAndAggregate",
343
+ "outputs": [
344
+ {
345
+ "internalType": "uint256",
346
+ "name": "blockNumber",
347
+ "type": "uint256"
348
+ },
349
+ {
350
+ "internalType": "bytes32",
351
+ "name": "blockHash",
352
+ "type": "bytes32"
353
+ },
354
+ {
355
+ "components": [
356
+ {
357
+ "internalType": "bool",
358
+ "name": "success",
359
+ "type": "bool"
360
+ },
361
+ {
362
+ "internalType": "bytes",
363
+ "name": "returnData",
364
+ "type": "bytes"
365
+ }
366
+ ],
367
+ "internalType": "struct ArbMulticall2.Result[]",
368
+ "name": "returnData",
369
+ "type": "tuple[]"
370
+ }
371
+ ],
372
+ "stateMutability": "nonpayable",
373
+ "type": "function"
374
+ }
375
+ ]
376
+ }
@@ -14,10 +14,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.Socket_VaultWithPayloadAbi = exports.PeripheryAbi = exports.CoreAbi = void 0;
17
+ exports.Socket_VaultWithPayloadAbi = exports.PeripheryAbi = exports.MulticallAbi = exports.CoreAbi = void 0;
18
18
  __exportStar(require("./action"), exports);
19
19
  var CoreProxy_json_1 = require("./abis/CoreProxy.json");
20
20
  Object.defineProperty(exports, "CoreAbi", { enumerable: true, get: function () { return CoreProxy_json_1.abi; } });
21
+ var MulticallV2_json_1 = require("./abis/MulticallV2.json");
22
+ Object.defineProperty(exports, "MulticallAbi", { enumerable: true, get: function () { return MulticallV2_json_1.abi; } });
21
23
  var Periphery_json_1 = require("./abis/Periphery.json");
22
24
  Object.defineProperty(exports, "PeripheryAbi", { enumerable: true, get: function () { return Periphery_json_1.abi; } });
23
25
  var VaultWithPayload_json_1 = require("./abis/socket/VaultWithPayload.json");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"/","sources":["transactions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,wDAAuD;AAA9C,yGAAA,GAAG,OAAW;AACvB,wDAA4D;AAAnD,8GAAA,GAAG,OAAgB;AAC5B,6EAAwF;AAA/E,mIAAA,GAAG,OAA8B;AAC1C,sDAAoC;AACpC,mDAAiC;AACjC,yCAAuB;AACvB,0CAAwB;AACxB,8CAA4B;AAC5B,2CAAyB;AACzB,uDAAqC;AACrC,gDAA8B","sourcesContent":["export * from './action';\nexport { abi as CoreAbi } from './abis/CoreProxy.json';\nexport { abi as PeripheryAbi } from './abis/Periphery.json';\nexport { abi as Socket_VaultWithPayloadAbi } from './abis/socket/VaultWithPayload.json';\nexport * from './contractAddresses';\nexport * from './routerCommands';\nexport * from './sign';\nexport * from './trade';\nexport * from './txHelpers';\nexport * from './consts';\nexport * from './executeTransaction';\nexport * from './permissions';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"/","sources":["transactions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,wDAAuD;AAA9C,yGAAA,GAAG,OAAW;AACvB,4DAA8D;AAArD,gHAAA,GAAG,OAAgB;AAC5B,wDAA4D;AAAnD,8GAAA,GAAG,OAAgB;AAC5B,6EAAwF;AAA/E,mIAAA,GAAG,OAA8B;AAC1C,sDAAoC;AACpC,mDAAiC;AACjC,yCAAuB;AACvB,0CAAwB;AACxB,8CAA4B;AAC5B,2CAAyB;AACzB,uDAAqC;AACrC,gDAA8B","sourcesContent":["export * from './action';\nexport { abi as CoreAbi } from './abis/CoreProxy.json';\nexport { abi as MulticallAbi } from './abis/MulticallV2.json';\nexport { abi as PeripheryAbi } from './abis/Periphery.json';\nexport { abi as Socket_VaultWithPayloadAbi } from './abis/socket/VaultWithPayload.json';\nexport * from './contractAddresses';\nexport * from './routerCommands';\nexport * from './sign';\nexport * from './trade';\nexport * from './txHelpers';\nexport * from './consts';\nexport * from './executeTransaction';\nexport * from './permissions';\n"]}
@@ -1,5 +1,6 @@
1
1
  export * from './action';
2
2
  export { abi as CoreAbi } from './abis/CoreProxy.json';
3
+ export { abi as MulticallAbi } from './abis/MulticallV2.json';
3
4
  export { abi as PeripheryAbi } from './abis/Periphery.json';
4
5
  export { abi as Socket_VaultWithPayloadAbi } from './abis/socket/VaultWithPayload.json';
5
6
  export * from './contractAddresses';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["transactions/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,GAAG,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,GAAG,IAAI,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACxF,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["transactions/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,GAAG,IAAI,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,GAAG,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,GAAG,IAAI,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACxF,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reyaxyz/common",
3
- "version": "0.161.0",
3
+ "version": "0.161.1",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -43,5 +43,5 @@
43
43
  "generate:coverage-badges": "npx istanbul-badges-readme --silent"
44
44
  },
45
45
  "packageManager": "pnpm@8.3.1",
46
- "gitHead": "1c1306ecbf15ef8c38c4800bed57db0779cbf6b8"
46
+ "gitHead": "d7b2b4a9a7aa250e2f617fb4070b16d93a8a8c19"
47
47
  }
@@ -0,0 +1,376 @@
1
+ {
2
+ "abi": [
3
+ {
4
+ "inputs": [
5
+ {
6
+ "components": [
7
+ {
8
+ "internalType": "address",
9
+ "name": "target",
10
+ "type": "address"
11
+ },
12
+ {
13
+ "internalType": "bytes",
14
+ "name": "callData",
15
+ "type": "bytes"
16
+ }
17
+ ],
18
+ "internalType": "struct ArbMulticall2.Call[]",
19
+ "name": "calls",
20
+ "type": "tuple[]"
21
+ }
22
+ ],
23
+ "name": "aggregate",
24
+ "outputs": [
25
+ {
26
+ "internalType": "uint256",
27
+ "name": "blockNumber",
28
+ "type": "uint256"
29
+ },
30
+ {
31
+ "internalType": "bytes[]",
32
+ "name": "returnData",
33
+ "type": "bytes[]"
34
+ }
35
+ ],
36
+ "stateMutability": "nonpayable",
37
+ "type": "function"
38
+ },
39
+ {
40
+ "inputs": [
41
+ {
42
+ "components": [
43
+ {
44
+ "internalType": "address",
45
+ "name": "target",
46
+ "type": "address"
47
+ },
48
+ {
49
+ "internalType": "bytes",
50
+ "name": "callData",
51
+ "type": "bytes"
52
+ }
53
+ ],
54
+ "internalType": "struct ArbMulticall2.Call[]",
55
+ "name": "calls",
56
+ "type": "tuple[]"
57
+ }
58
+ ],
59
+ "name": "blockAndAggregate",
60
+ "outputs": [
61
+ {
62
+ "internalType": "uint256",
63
+ "name": "blockNumber",
64
+ "type": "uint256"
65
+ },
66
+ {
67
+ "internalType": "bytes32",
68
+ "name": "blockHash",
69
+ "type": "bytes32"
70
+ },
71
+ {
72
+ "components": [
73
+ {
74
+ "internalType": "bool",
75
+ "name": "success",
76
+ "type": "bool"
77
+ },
78
+ {
79
+ "internalType": "bytes",
80
+ "name": "returnData",
81
+ "type": "bytes"
82
+ }
83
+ ],
84
+ "internalType": "struct ArbMulticall2.Result[]",
85
+ "name": "returnData",
86
+ "type": "tuple[]"
87
+ }
88
+ ],
89
+ "stateMutability": "nonpayable",
90
+ "type": "function"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "uint256",
96
+ "name": "blockNumber",
97
+ "type": "uint256"
98
+ }
99
+ ],
100
+ "name": "getBlockHash",
101
+ "outputs": [
102
+ {
103
+ "internalType": "bytes32",
104
+ "name": "blockHash",
105
+ "type": "bytes32"
106
+ }
107
+ ],
108
+ "stateMutability": "view",
109
+ "type": "function"
110
+ },
111
+ {
112
+ "inputs": [],
113
+ "name": "getBlockNumber",
114
+ "outputs": [
115
+ {
116
+ "internalType": "uint256",
117
+ "name": "blockNumber",
118
+ "type": "uint256"
119
+ }
120
+ ],
121
+ "stateMutability": "view",
122
+ "type": "function"
123
+ },
124
+ {
125
+ "inputs": [],
126
+ "name": "getCurrentBlockCoinbase",
127
+ "outputs": [
128
+ {
129
+ "internalType": "address",
130
+ "name": "coinbase",
131
+ "type": "address"
132
+ }
133
+ ],
134
+ "stateMutability": "view",
135
+ "type": "function"
136
+ },
137
+ {
138
+ "inputs": [],
139
+ "name": "getCurrentBlockDifficulty",
140
+ "outputs": [
141
+ {
142
+ "internalType": "uint256",
143
+ "name": "difficulty",
144
+ "type": "uint256"
145
+ }
146
+ ],
147
+ "stateMutability": "view",
148
+ "type": "function"
149
+ },
150
+ {
151
+ "inputs": [],
152
+ "name": "getCurrentBlockGasLimit",
153
+ "outputs": [
154
+ {
155
+ "internalType": "uint256",
156
+ "name": "gaslimit",
157
+ "type": "uint256"
158
+ }
159
+ ],
160
+ "stateMutability": "view",
161
+ "type": "function"
162
+ },
163
+ {
164
+ "inputs": [],
165
+ "name": "getCurrentBlockTimestamp",
166
+ "outputs": [
167
+ {
168
+ "internalType": "uint256",
169
+ "name": "timestamp",
170
+ "type": "uint256"
171
+ }
172
+ ],
173
+ "stateMutability": "view",
174
+ "type": "function"
175
+ },
176
+ {
177
+ "inputs": [
178
+ {
179
+ "internalType": "address",
180
+ "name": "addr",
181
+ "type": "address"
182
+ }
183
+ ],
184
+ "name": "getEthBalance",
185
+ "outputs": [
186
+ {
187
+ "internalType": "uint256",
188
+ "name": "balance",
189
+ "type": "uint256"
190
+ }
191
+ ],
192
+ "stateMutability": "view",
193
+ "type": "function"
194
+ },
195
+ {
196
+ "inputs": [],
197
+ "name": "getL1BlockNumber",
198
+ "outputs": [
199
+ {
200
+ "internalType": "uint256",
201
+ "name": "l1BlockNumber",
202
+ "type": "uint256"
203
+ }
204
+ ],
205
+ "stateMutability": "view",
206
+ "type": "function"
207
+ },
208
+ {
209
+ "inputs": [],
210
+ "name": "getLastBlockHash",
211
+ "outputs": [
212
+ {
213
+ "internalType": "bytes32",
214
+ "name": "blockHash",
215
+ "type": "bytes32"
216
+ }
217
+ ],
218
+ "stateMutability": "view",
219
+ "type": "function"
220
+ },
221
+ {
222
+ "inputs": [
223
+ {
224
+ "internalType": "bool",
225
+ "name": "requireSuccess",
226
+ "type": "bool"
227
+ },
228
+ {
229
+ "components": [
230
+ {
231
+ "internalType": "address",
232
+ "name": "target",
233
+ "type": "address"
234
+ },
235
+ {
236
+ "internalType": "bytes",
237
+ "name": "callData",
238
+ "type": "bytes"
239
+ }
240
+ ],
241
+ "internalType": "struct ArbMulticall2.Call[]",
242
+ "name": "calls",
243
+ "type": "tuple[]"
244
+ }
245
+ ],
246
+ "name": "tryAggregate",
247
+ "outputs": [
248
+ {
249
+ "components": [
250
+ {
251
+ "internalType": "bool",
252
+ "name": "success",
253
+ "type": "bool"
254
+ },
255
+ {
256
+ "internalType": "bytes",
257
+ "name": "returnData",
258
+ "type": "bytes"
259
+ }
260
+ ],
261
+ "internalType": "struct ArbMulticall2.Result[]",
262
+ "name": "returnData",
263
+ "type": "tuple[]"
264
+ }
265
+ ],
266
+ "stateMutability": "nonpayable",
267
+ "type": "function"
268
+ },
269
+ {
270
+ "inputs": [
271
+ {
272
+ "internalType": "bool",
273
+ "name": "requireSuccess",
274
+ "type": "bool"
275
+ },
276
+ {
277
+ "components": [
278
+ {
279
+ "internalType": "address",
280
+ "name": "target",
281
+ "type": "address"
282
+ },
283
+ {
284
+ "internalType": "bytes",
285
+ "name": "callData",
286
+ "type": "bytes"
287
+ }
288
+ ],
289
+ "internalType": "struct ArbMulticall2.Call[]",
290
+ "name": "calls",
291
+ "type": "tuple[]"
292
+ }
293
+ ],
294
+ "name": "tryAggregateGasRation",
295
+ "outputs": [
296
+ {
297
+ "components": [
298
+ {
299
+ "internalType": "bool",
300
+ "name": "success",
301
+ "type": "bool"
302
+ },
303
+ {
304
+ "internalType": "bytes",
305
+ "name": "returnData",
306
+ "type": "bytes"
307
+ }
308
+ ],
309
+ "internalType": "struct ArbMulticall2.Result[]",
310
+ "name": "returnData",
311
+ "type": "tuple[]"
312
+ }
313
+ ],
314
+ "stateMutability": "nonpayable",
315
+ "type": "function"
316
+ },
317
+ {
318
+ "inputs": [
319
+ {
320
+ "internalType": "bool",
321
+ "name": "requireSuccess",
322
+ "type": "bool"
323
+ },
324
+ {
325
+ "components": [
326
+ {
327
+ "internalType": "address",
328
+ "name": "target",
329
+ "type": "address"
330
+ },
331
+ {
332
+ "internalType": "bytes",
333
+ "name": "callData",
334
+ "type": "bytes"
335
+ }
336
+ ],
337
+ "internalType": "struct ArbMulticall2.Call[]",
338
+ "name": "calls",
339
+ "type": "tuple[]"
340
+ }
341
+ ],
342
+ "name": "tryBlockAndAggregate",
343
+ "outputs": [
344
+ {
345
+ "internalType": "uint256",
346
+ "name": "blockNumber",
347
+ "type": "uint256"
348
+ },
349
+ {
350
+ "internalType": "bytes32",
351
+ "name": "blockHash",
352
+ "type": "bytes32"
353
+ },
354
+ {
355
+ "components": [
356
+ {
357
+ "internalType": "bool",
358
+ "name": "success",
359
+ "type": "bool"
360
+ },
361
+ {
362
+ "internalType": "bytes",
363
+ "name": "returnData",
364
+ "type": "bytes"
365
+ }
366
+ ],
367
+ "internalType": "struct ArbMulticall2.Result[]",
368
+ "name": "returnData",
369
+ "type": "tuple[]"
370
+ }
371
+ ],
372
+ "stateMutability": "nonpayable",
373
+ "type": "function"
374
+ }
375
+ ]
376
+ }
@@ -1,5 +1,6 @@
1
1
  export * from './action';
2
2
  export { abi as CoreAbi } from './abis/CoreProxy.json';
3
+ export { abi as MulticallAbi } from './abis/MulticallV2.json';
3
4
  export { abi as PeripheryAbi } from './abis/Periphery.json';
4
5
  export { abi as Socket_VaultWithPayloadAbi } from './abis/socket/VaultWithPayload.json';
5
6
  export * from './contractAddresses';