@layerzerolabs/lz-evm-sdk-v2 2.1.13 → 2.1.15
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/deployments/blast-mainnet/DVN.json +1918 -0
- package/deployments/blast-mainnet/DVNFeeLib.json +399 -0
- package/deployments/blast-mainnet/DefaultProxyAdmin.json +259 -0
- package/deployments/blast-mainnet/EndpointV2.json +3001 -0
- package/deployments/blast-mainnet/EndpointV2View.json +436 -0
- package/deployments/blast-mainnet/EndpointV2View_Implementation.json +314 -0
- package/deployments/blast-mainnet/EndpointV2View_Proxy.json +231 -0
- package/deployments/blast-mainnet/Executor.json +1501 -0
- package/deployments/blast-mainnet/ExecutorFeeLib.json +424 -0
- package/deployments/blast-mainnet/ExecutorProxyAdmin.json +284 -0
- package/deployments/blast-mainnet/Executor_Implementation.json +1592 -0
- package/deployments/blast-mainnet/Executor_Proxy.json +336 -0
- package/deployments/blast-mainnet/LzExecutor.json +758 -0
- package/deployments/blast-mainnet/LzExecutor_Implementation.json +704 -0
- package/deployments/blast-mainnet/LzExecutor_Proxy.json +245 -0
- package/deployments/blast-mainnet/PriceFeed.json +891 -0
- package/deployments/blast-mainnet/PriceFeedProxyAdmin.json +284 -0
- package/deployments/blast-mainnet/PriceFeed_Implementation.json +913 -0
- package/deployments/blast-mainnet/PriceFeed_Proxy.json +245 -0
- package/deployments/blast-mainnet/ReceiveUln301.json +1293 -0
- package/deployments/blast-mainnet/ReceiveUln301View.json +355 -0
- package/deployments/blast-mainnet/ReceiveUln301View_Implementation.json +232 -0
- package/deployments/blast-mainnet/ReceiveUln301View_Proxy.json +231 -0
- package/deployments/blast-mainnet/ReceiveUln302.json +1007 -0
- package/deployments/blast-mainnet/ReceiveUln302View.json +479 -0
- package/deployments/blast-mainnet/ReceiveUln302View_Implementation.json +385 -0
- package/deployments/blast-mainnet/ReceiveUln302View_Proxy.json +231 -0
- package/deployments/blast-mainnet/SendUln301.json +1570 -0
- package/deployments/blast-mainnet/SendUln302.json +1528 -0
- package/deployments/blast-mainnet/Treasury.json +413 -0
- package/deployments/blast-mainnet/TreasuryFeeHandler.json +126 -0
- package/package.json +9 -9
- package/deployments/arbitrum-sandbox-local/DVN.json +0 -1864
- package/deployments/arbitrum-sandbox-local/DVNDecompressor.json +0 -500
- package/deployments/arbitrum-sandbox-local/DVNFeeLib.json +0 -398
- package/deployments/arbitrum-sandbox-local/PriceFeed.json +0 -890
- package/deployments/arbitrum-sandbox-local/PriceFeedProxyAdmin.json +0 -283
- package/deployments/arbitrum-sandbox-local/PriceFeed_Implementation.json +0 -912
- package/deployments/arbitrum-sandbox-local/PriceFeed_Proxy.json +0 -244
- package/deployments/tron-sandbox-local/DVN.json +0 -1864
- package/deployments/tron-sandbox-local/DVNDecompressor.json +0 -500
- package/deployments/tron-sandbox-local/DVNFeeLib.json +0 -398
- package/deployments/tron-sandbox-local/PriceFeed.json +0 -890
- package/deployments/tron-sandbox-local/PriceFeedProxyAdmin.json +0 -283
- package/deployments/tron-sandbox-local/PriceFeed_Implementation.json +0 -912
- package/deployments/tron-sandbox-local/PriceFeed_Proxy.json +0 -244
|
@@ -1,912 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"address": "0xFA64cAf04BdC939f70Ba65db1A0db21D6a696879",
|
|
3
|
-
"abi": [
|
|
4
|
-
{
|
|
5
|
-
"inputs": [
|
|
6
|
-
{
|
|
7
|
-
"internalType": "uint256",
|
|
8
|
-
"name": "provided",
|
|
9
|
-
"type": "uint256"
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"internalType": "uint256",
|
|
13
|
-
"name": "required",
|
|
14
|
-
"type": "uint256"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"name": "LZ_PriceFeed_InsufficientFee",
|
|
18
|
-
"type": "error"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"inputs": [],
|
|
22
|
-
"name": "LZ_PriceFeed_OnlyPriceUpdater",
|
|
23
|
-
"type": "error"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"inputs": [
|
|
27
|
-
{
|
|
28
|
-
"internalType": "uint32",
|
|
29
|
-
"name": "l2Eid",
|
|
30
|
-
"type": "uint32"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"name": "LZ_PriceFeed_UnknownL2Eid",
|
|
34
|
-
"type": "error"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"inputs": [
|
|
38
|
-
{
|
|
39
|
-
"internalType": "address",
|
|
40
|
-
"name": "_to",
|
|
41
|
-
"type": "address"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"internalType": "uint256",
|
|
45
|
-
"name": "_value",
|
|
46
|
-
"type": "uint256"
|
|
47
|
-
}
|
|
48
|
-
],
|
|
49
|
-
"name": "Transfer_NativeFailed",
|
|
50
|
-
"type": "error"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"inputs": [],
|
|
54
|
-
"name": "Transfer_ToAddressIsZero",
|
|
55
|
-
"type": "error"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"anonymous": false,
|
|
59
|
-
"inputs": [
|
|
60
|
-
{
|
|
61
|
-
"indexed": false,
|
|
62
|
-
"internalType": "uint8",
|
|
63
|
-
"name": "version",
|
|
64
|
-
"type": "uint8"
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
"name": "Initialized",
|
|
68
|
-
"type": "event"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"anonymous": false,
|
|
72
|
-
"inputs": [
|
|
73
|
-
{
|
|
74
|
-
"indexed": true,
|
|
75
|
-
"internalType": "address",
|
|
76
|
-
"name": "previousOwner",
|
|
77
|
-
"type": "address"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"indexed": true,
|
|
81
|
-
"internalType": "address",
|
|
82
|
-
"name": "newOwner",
|
|
83
|
-
"type": "address"
|
|
84
|
-
}
|
|
85
|
-
],
|
|
86
|
-
"name": "OwnershipTransferred",
|
|
87
|
-
"type": "event"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"inputs": [],
|
|
91
|
-
"name": "ARBITRUM_COMPRESSION_PERCENT",
|
|
92
|
-
"outputs": [
|
|
93
|
-
{
|
|
94
|
-
"internalType": "uint128",
|
|
95
|
-
"name": "",
|
|
96
|
-
"type": "uint128"
|
|
97
|
-
}
|
|
98
|
-
],
|
|
99
|
-
"stateMutability": "view",
|
|
100
|
-
"type": "function"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"inputs": [],
|
|
104
|
-
"name": "arbitrumPriceExt",
|
|
105
|
-
"outputs": [
|
|
106
|
-
{
|
|
107
|
-
"components": [
|
|
108
|
-
{
|
|
109
|
-
"internalType": "uint64",
|
|
110
|
-
"name": "gasPerL2Tx",
|
|
111
|
-
"type": "uint64"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"internalType": "uint32",
|
|
115
|
-
"name": "gasPerL1CallDataByte",
|
|
116
|
-
"type": "uint32"
|
|
117
|
-
}
|
|
118
|
-
],
|
|
119
|
-
"internalType": "struct ILayerZeroPriceFeed.ArbitrumPriceExt",
|
|
120
|
-
"name": "",
|
|
121
|
-
"type": "tuple"
|
|
122
|
-
}
|
|
123
|
-
],
|
|
124
|
-
"stateMutability": "view",
|
|
125
|
-
"type": "function"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"inputs": [],
|
|
129
|
-
"name": "endpoint",
|
|
130
|
-
"outputs": [
|
|
131
|
-
{
|
|
132
|
-
"internalType": "contract ILayerZeroEndpointV2",
|
|
133
|
-
"name": "",
|
|
134
|
-
"type": "address"
|
|
135
|
-
}
|
|
136
|
-
],
|
|
137
|
-
"stateMutability": "view",
|
|
138
|
-
"type": "function"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"inputs": [
|
|
142
|
-
{
|
|
143
|
-
"internalType": "uint16",
|
|
144
|
-
"name": "_dstEid",
|
|
145
|
-
"type": "uint16"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"internalType": "uint256",
|
|
149
|
-
"name": "_callDataSize",
|
|
150
|
-
"type": "uint256"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"internalType": "uint256",
|
|
154
|
-
"name": "_gas",
|
|
155
|
-
"type": "uint256"
|
|
156
|
-
}
|
|
157
|
-
],
|
|
158
|
-
"name": "estimateFeeByChain",
|
|
159
|
-
"outputs": [
|
|
160
|
-
{
|
|
161
|
-
"internalType": "uint256",
|
|
162
|
-
"name": "fee",
|
|
163
|
-
"type": "uint256"
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"internalType": "uint128",
|
|
167
|
-
"name": "priceRatio",
|
|
168
|
-
"type": "uint128"
|
|
169
|
-
}
|
|
170
|
-
],
|
|
171
|
-
"stateMutability": "view",
|
|
172
|
-
"type": "function"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"inputs": [
|
|
176
|
-
{
|
|
177
|
-
"internalType": "uint32",
|
|
178
|
-
"name": "_dstEid",
|
|
179
|
-
"type": "uint32"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"internalType": "uint256",
|
|
183
|
-
"name": "_callDataSize",
|
|
184
|
-
"type": "uint256"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"internalType": "uint256",
|
|
188
|
-
"name": "_gas",
|
|
189
|
-
"type": "uint256"
|
|
190
|
-
}
|
|
191
|
-
],
|
|
192
|
-
"name": "estimateFeeByEid",
|
|
193
|
-
"outputs": [
|
|
194
|
-
{
|
|
195
|
-
"internalType": "uint256",
|
|
196
|
-
"name": "",
|
|
197
|
-
"type": "uint256"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"internalType": "uint128",
|
|
201
|
-
"name": "",
|
|
202
|
-
"type": "uint128"
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"internalType": "uint128",
|
|
206
|
-
"name": "",
|
|
207
|
-
"type": "uint128"
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"internalType": "uint128",
|
|
211
|
-
"name": "",
|
|
212
|
-
"type": "uint128"
|
|
213
|
-
}
|
|
214
|
-
],
|
|
215
|
-
"stateMutability": "view",
|
|
216
|
-
"type": "function"
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
"inputs": [
|
|
220
|
-
{
|
|
221
|
-
"internalType": "uint32",
|
|
222
|
-
"name": "_dstEid",
|
|
223
|
-
"type": "uint32"
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
"internalType": "uint256",
|
|
227
|
-
"name": "_callDataSize",
|
|
228
|
-
"type": "uint256"
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
"internalType": "uint256",
|
|
232
|
-
"name": "_gas",
|
|
233
|
-
"type": "uint256"
|
|
234
|
-
}
|
|
235
|
-
],
|
|
236
|
-
"name": "estimateFeeOnSend",
|
|
237
|
-
"outputs": [
|
|
238
|
-
{
|
|
239
|
-
"internalType": "uint256",
|
|
240
|
-
"name": "",
|
|
241
|
-
"type": "uint256"
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"internalType": "uint128",
|
|
245
|
-
"name": "",
|
|
246
|
-
"type": "uint128"
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"internalType": "uint128",
|
|
250
|
-
"name": "",
|
|
251
|
-
"type": "uint128"
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
"internalType": "uint128",
|
|
255
|
-
"name": "",
|
|
256
|
-
"type": "uint128"
|
|
257
|
-
}
|
|
258
|
-
],
|
|
259
|
-
"stateMutability": "payable",
|
|
260
|
-
"type": "function"
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"inputs": [
|
|
264
|
-
{
|
|
265
|
-
"internalType": "uint32",
|
|
266
|
-
"name": "",
|
|
267
|
-
"type": "uint32"
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"internalType": "uint256",
|
|
271
|
-
"name": "",
|
|
272
|
-
"type": "uint256"
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
"internalType": "uint256",
|
|
276
|
-
"name": "",
|
|
277
|
-
"type": "uint256"
|
|
278
|
-
}
|
|
279
|
-
],
|
|
280
|
-
"name": "getFee",
|
|
281
|
-
"outputs": [
|
|
282
|
-
{
|
|
283
|
-
"internalType": "uint256",
|
|
284
|
-
"name": "",
|
|
285
|
-
"type": "uint256"
|
|
286
|
-
}
|
|
287
|
-
],
|
|
288
|
-
"stateMutability": "pure",
|
|
289
|
-
"type": "function"
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
"inputs": [
|
|
293
|
-
{
|
|
294
|
-
"internalType": "uint32",
|
|
295
|
-
"name": "_dstEid",
|
|
296
|
-
"type": "uint32"
|
|
297
|
-
}
|
|
298
|
-
],
|
|
299
|
-
"name": "getPrice",
|
|
300
|
-
"outputs": [
|
|
301
|
-
{
|
|
302
|
-
"components": [
|
|
303
|
-
{
|
|
304
|
-
"internalType": "uint128",
|
|
305
|
-
"name": "priceRatio",
|
|
306
|
-
"type": "uint128"
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
"internalType": "uint64",
|
|
310
|
-
"name": "gasPriceInUnit",
|
|
311
|
-
"type": "uint64"
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
"internalType": "uint32",
|
|
315
|
-
"name": "gasPerByte",
|
|
316
|
-
"type": "uint32"
|
|
317
|
-
}
|
|
318
|
-
],
|
|
319
|
-
"internalType": "struct ILayerZeroPriceFeed.Price",
|
|
320
|
-
"name": "price",
|
|
321
|
-
"type": "tuple"
|
|
322
|
-
}
|
|
323
|
-
],
|
|
324
|
-
"stateMutability": "view",
|
|
325
|
-
"type": "function"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"inputs": [
|
|
329
|
-
{
|
|
330
|
-
"internalType": "uint16",
|
|
331
|
-
"name": "_dstEid",
|
|
332
|
-
"type": "uint16"
|
|
333
|
-
}
|
|
334
|
-
],
|
|
335
|
-
"name": "getPrice",
|
|
336
|
-
"outputs": [
|
|
337
|
-
{
|
|
338
|
-
"components": [
|
|
339
|
-
{
|
|
340
|
-
"internalType": "uint128",
|
|
341
|
-
"name": "priceRatio",
|
|
342
|
-
"type": "uint128"
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
"internalType": "uint64",
|
|
346
|
-
"name": "gasPriceInUnit",
|
|
347
|
-
"type": "uint64"
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
"internalType": "uint32",
|
|
351
|
-
"name": "gasPerByte",
|
|
352
|
-
"type": "uint32"
|
|
353
|
-
}
|
|
354
|
-
],
|
|
355
|
-
"internalType": "struct ILayerZeroPriceFeed.Price",
|
|
356
|
-
"name": "price",
|
|
357
|
-
"type": "tuple"
|
|
358
|
-
}
|
|
359
|
-
],
|
|
360
|
-
"stateMutability": "view",
|
|
361
|
-
"type": "function"
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
"inputs": [],
|
|
365
|
-
"name": "getPriceRatioDenominator",
|
|
366
|
-
"outputs": [
|
|
367
|
-
{
|
|
368
|
-
"internalType": "uint128",
|
|
369
|
-
"name": "",
|
|
370
|
-
"type": "uint128"
|
|
371
|
-
}
|
|
372
|
-
],
|
|
373
|
-
"stateMutability": "view",
|
|
374
|
-
"type": "function"
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
"inputs": [
|
|
378
|
-
{
|
|
379
|
-
"internalType": "address",
|
|
380
|
-
"name": "_priceUpdater",
|
|
381
|
-
"type": "address"
|
|
382
|
-
}
|
|
383
|
-
],
|
|
384
|
-
"name": "initialize",
|
|
385
|
-
"outputs": [],
|
|
386
|
-
"stateMutability": "nonpayable",
|
|
387
|
-
"type": "function"
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
"inputs": [],
|
|
391
|
-
"name": "nativeTokenPriceUSD",
|
|
392
|
-
"outputs": [
|
|
393
|
-
{
|
|
394
|
-
"internalType": "uint128",
|
|
395
|
-
"name": "",
|
|
396
|
-
"type": "uint128"
|
|
397
|
-
}
|
|
398
|
-
],
|
|
399
|
-
"stateMutability": "view",
|
|
400
|
-
"type": "function"
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
"inputs": [],
|
|
404
|
-
"name": "owner",
|
|
405
|
-
"outputs": [
|
|
406
|
-
{
|
|
407
|
-
"internalType": "address",
|
|
408
|
-
"name": "",
|
|
409
|
-
"type": "address"
|
|
410
|
-
}
|
|
411
|
-
],
|
|
412
|
-
"stateMutability": "view",
|
|
413
|
-
"type": "function"
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
"inputs": [
|
|
417
|
-
{
|
|
418
|
-
"internalType": "address",
|
|
419
|
-
"name": "updater",
|
|
420
|
-
"type": "address"
|
|
421
|
-
}
|
|
422
|
-
],
|
|
423
|
-
"name": "priceUpdater",
|
|
424
|
-
"outputs": [
|
|
425
|
-
{
|
|
426
|
-
"internalType": "bool",
|
|
427
|
-
"name": "active",
|
|
428
|
-
"type": "bool"
|
|
429
|
-
}
|
|
430
|
-
],
|
|
431
|
-
"stateMutability": "view",
|
|
432
|
-
"type": "function"
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
"inputs": [],
|
|
436
|
-
"name": "renounceOwnership",
|
|
437
|
-
"outputs": [],
|
|
438
|
-
"stateMutability": "nonpayable",
|
|
439
|
-
"type": "function"
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
"inputs": [
|
|
443
|
-
{
|
|
444
|
-
"internalType": "uint128",
|
|
445
|
-
"name": "_compressionPercent",
|
|
446
|
-
"type": "uint128"
|
|
447
|
-
}
|
|
448
|
-
],
|
|
449
|
-
"name": "setArbitrumCompressionPercent",
|
|
450
|
-
"outputs": [],
|
|
451
|
-
"stateMutability": "nonpayable",
|
|
452
|
-
"type": "function"
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
"inputs": [
|
|
456
|
-
{
|
|
457
|
-
"internalType": "address",
|
|
458
|
-
"name": "_endpoint",
|
|
459
|
-
"type": "address"
|
|
460
|
-
}
|
|
461
|
-
],
|
|
462
|
-
"name": "setEndpoint",
|
|
463
|
-
"outputs": [],
|
|
464
|
-
"stateMutability": "nonpayable",
|
|
465
|
-
"type": "function"
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
"inputs": [
|
|
469
|
-
{
|
|
470
|
-
"internalType": "uint128",
|
|
471
|
-
"name": "_nativeTokenPriceUSD",
|
|
472
|
-
"type": "uint128"
|
|
473
|
-
}
|
|
474
|
-
],
|
|
475
|
-
"name": "setNativeTokenPriceUSD",
|
|
476
|
-
"outputs": [],
|
|
477
|
-
"stateMutability": "nonpayable",
|
|
478
|
-
"type": "function"
|
|
479
|
-
},
|
|
480
|
-
{
|
|
481
|
-
"inputs": [
|
|
482
|
-
{
|
|
483
|
-
"components": [
|
|
484
|
-
{
|
|
485
|
-
"internalType": "uint32",
|
|
486
|
-
"name": "eid",
|
|
487
|
-
"type": "uint32"
|
|
488
|
-
},
|
|
489
|
-
{
|
|
490
|
-
"components": [
|
|
491
|
-
{
|
|
492
|
-
"internalType": "uint128",
|
|
493
|
-
"name": "priceRatio",
|
|
494
|
-
"type": "uint128"
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
"internalType": "uint64",
|
|
498
|
-
"name": "gasPriceInUnit",
|
|
499
|
-
"type": "uint64"
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
"internalType": "uint32",
|
|
503
|
-
"name": "gasPerByte",
|
|
504
|
-
"type": "uint32"
|
|
505
|
-
}
|
|
506
|
-
],
|
|
507
|
-
"internalType": "struct ILayerZeroPriceFeed.Price",
|
|
508
|
-
"name": "price",
|
|
509
|
-
"type": "tuple"
|
|
510
|
-
}
|
|
511
|
-
],
|
|
512
|
-
"internalType": "struct ILayerZeroPriceFeed.UpdatePrice[]",
|
|
513
|
-
"name": "_price",
|
|
514
|
-
"type": "tuple[]"
|
|
515
|
-
}
|
|
516
|
-
],
|
|
517
|
-
"name": "setPrice",
|
|
518
|
-
"outputs": [],
|
|
519
|
-
"stateMutability": "nonpayable",
|
|
520
|
-
"type": "function"
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"inputs": [
|
|
524
|
-
{
|
|
525
|
-
"components": [
|
|
526
|
-
{
|
|
527
|
-
"internalType": "uint32",
|
|
528
|
-
"name": "eid",
|
|
529
|
-
"type": "uint32"
|
|
530
|
-
},
|
|
531
|
-
{
|
|
532
|
-
"components": [
|
|
533
|
-
{
|
|
534
|
-
"internalType": "uint128",
|
|
535
|
-
"name": "priceRatio",
|
|
536
|
-
"type": "uint128"
|
|
537
|
-
},
|
|
538
|
-
{
|
|
539
|
-
"internalType": "uint64",
|
|
540
|
-
"name": "gasPriceInUnit",
|
|
541
|
-
"type": "uint64"
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
"internalType": "uint32",
|
|
545
|
-
"name": "gasPerByte",
|
|
546
|
-
"type": "uint32"
|
|
547
|
-
}
|
|
548
|
-
],
|
|
549
|
-
"internalType": "struct ILayerZeroPriceFeed.Price",
|
|
550
|
-
"name": "price",
|
|
551
|
-
"type": "tuple"
|
|
552
|
-
},
|
|
553
|
-
{
|
|
554
|
-
"components": [
|
|
555
|
-
{
|
|
556
|
-
"internalType": "uint64",
|
|
557
|
-
"name": "gasPerL2Tx",
|
|
558
|
-
"type": "uint64"
|
|
559
|
-
},
|
|
560
|
-
{
|
|
561
|
-
"internalType": "uint32",
|
|
562
|
-
"name": "gasPerL1CallDataByte",
|
|
563
|
-
"type": "uint32"
|
|
564
|
-
}
|
|
565
|
-
],
|
|
566
|
-
"internalType": "struct ILayerZeroPriceFeed.ArbitrumPriceExt",
|
|
567
|
-
"name": "extend",
|
|
568
|
-
"type": "tuple"
|
|
569
|
-
}
|
|
570
|
-
],
|
|
571
|
-
"internalType": "struct ILayerZeroPriceFeed.UpdatePriceExt",
|
|
572
|
-
"name": "_update",
|
|
573
|
-
"type": "tuple"
|
|
574
|
-
}
|
|
575
|
-
],
|
|
576
|
-
"name": "setPriceForArbitrum",
|
|
577
|
-
"outputs": [],
|
|
578
|
-
"stateMutability": "nonpayable",
|
|
579
|
-
"type": "function"
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
"inputs": [
|
|
583
|
-
{
|
|
584
|
-
"internalType": "uint128",
|
|
585
|
-
"name": "_denominator",
|
|
586
|
-
"type": "uint128"
|
|
587
|
-
}
|
|
588
|
-
],
|
|
589
|
-
"name": "setPriceRatioDenominator",
|
|
590
|
-
"outputs": [],
|
|
591
|
-
"stateMutability": "nonpayable",
|
|
592
|
-
"type": "function"
|
|
593
|
-
},
|
|
594
|
-
{
|
|
595
|
-
"inputs": [
|
|
596
|
-
{
|
|
597
|
-
"internalType": "address",
|
|
598
|
-
"name": "_addr",
|
|
599
|
-
"type": "address"
|
|
600
|
-
},
|
|
601
|
-
{
|
|
602
|
-
"internalType": "bool",
|
|
603
|
-
"name": "_active",
|
|
604
|
-
"type": "bool"
|
|
605
|
-
}
|
|
606
|
-
],
|
|
607
|
-
"name": "setPriceUpdater",
|
|
608
|
-
"outputs": [],
|
|
609
|
-
"stateMutability": "nonpayable",
|
|
610
|
-
"type": "function"
|
|
611
|
-
},
|
|
612
|
-
{
|
|
613
|
-
"inputs": [
|
|
614
|
-
{
|
|
615
|
-
"internalType": "address",
|
|
616
|
-
"name": "newOwner",
|
|
617
|
-
"type": "address"
|
|
618
|
-
}
|
|
619
|
-
],
|
|
620
|
-
"name": "transferOwnership",
|
|
621
|
-
"outputs": [],
|
|
622
|
-
"stateMutability": "nonpayable",
|
|
623
|
-
"type": "function"
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
"inputs": [
|
|
627
|
-
{
|
|
628
|
-
"internalType": "address",
|
|
629
|
-
"name": "_to",
|
|
630
|
-
"type": "address"
|
|
631
|
-
},
|
|
632
|
-
{
|
|
633
|
-
"internalType": "uint256",
|
|
634
|
-
"name": "_amount",
|
|
635
|
-
"type": "uint256"
|
|
636
|
-
}
|
|
637
|
-
],
|
|
638
|
-
"name": "withdrawFee",
|
|
639
|
-
"outputs": [],
|
|
640
|
-
"stateMutability": "nonpayable",
|
|
641
|
-
"type": "function"
|
|
642
|
-
}
|
|
643
|
-
],
|
|
644
|
-
"transactionHash": "0x879d52359c8d5a290cc5bd0e09689a12486bd6286ad17f821df4ae0880dbc098",
|
|
645
|
-
"receipt": {
|
|
646
|
-
"to": null,
|
|
647
|
-
"from": "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC",
|
|
648
|
-
"contractAddress": "0xFA64cAf04BdC939f70Ba65db1A0db21D6a696879",
|
|
649
|
-
"transactionIndex": 0,
|
|
650
|
-
"gasUsed": "1649572",
|
|
651
|
-
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
652
|
-
"blockHash": "0x000000000000003d3aed7d7c1d31505d2d34d403419d4565aab53c43056db56e",
|
|
653
|
-
"transactionHash": "0x879d52359c8d5a290cc5bd0e09689a12486bd6286ad17f821df4ae0880dbc098",
|
|
654
|
-
"logs": [],
|
|
655
|
-
"blockNumber": 61,
|
|
656
|
-
"cumulativeGasUsed": "1649572",
|
|
657
|
-
"status": 1,
|
|
658
|
-
"byzantium": true
|
|
659
|
-
},
|
|
660
|
-
"args": [],
|
|
661
|
-
"numDeployments": 1,
|
|
662
|
-
"solcInputHash": "a71075ae75ad3765de4259439cd68087",
|
|
663
|
-
"bytecode": "0x608060405234801561001057600080fd5b50d3801561001d57600080fd5b50d2801561002a57600080fd5b5061202f8061003a6000396000f3fe60806040526004361061018b5760003560e01c80638da5cb5b116100d6578063d350ad251161007f578063e0ad121a11610059578063e0ad121a1461085b578063f2fde38b1461092a578063fd9be5221461096457600080fd5b8063d350ad25146106d6578063da26663a14610710578063dbbb41551461082157600080fd5b8063c1840327116100b0578063c184032714610604578063c4d66de814610645578063cd68b79b1461067f57600080fd5b80638da5cb5b1461054e57806392807f5814610593578063c1723a1d146105f157600080fd5b80635e280f11116101385780637dc438a4116101125780637dc438a41461044857806388a4124c146104825780638ca2fb08146104f457600080fd5b80635e280f111461034d578063715018a6146103b95780637bc3c9ab146103e857600080fd5b806336a5beba1161016957806336a5beba1461025757806352a72510146102d95780635d6d7ccb1461031357600080fd5b806311f2c343146101905780632f7cb0b4146101e15780633161b7f61461021d575b600080fd5b34801561019c57600080fd5b50d380156101a957600080fd5b50d280156101b657600080fd5b506101ce6101c5366004611bdb565b60009392505050565b6040519081526020015b60405180910390f35b3480156101ed57600080fd5b50d380156101fa57600080fd5b50d2801561020757600080fd5b5061021b610216366004611c2e565b61099e565b005b34801561022957600080fd5b50d3801561023657600080fd5b50d2801561024357600080fd5b5061021b610252366004611c50565b6109db565b34801561026357600080fd5b50d3801561027057600080fd5b50d2801561027d57600080fd5b5060408051808201825260008082526020918201528151808301835260685467ffffffffffffffff811680835263ffffffff680100000000000000009092048216928401928352845190815291511691810191909152016101d8565b3480156102e557600080fd5b50d380156102f257600080fd5b50d280156102ff57600080fd5b5061021b61030e366004611d08565b610bb5565b34801561031f57600080fd5b50d3801561032c57600080fd5b50d2801561033957600080fd5b5061021b610348366004611c2e565b610c13565b34801561035957600080fd5b50d3801561036657600080fd5b50d2801561037357600080fd5b50606a546103949073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101d8565b3480156103c557600080fd5b50d380156103d257600080fd5b50d280156103df57600080fd5b5061021b610cda565b3480156103f457600080fd5b50d3801561040157600080fd5b50d2801561040e57600080fd5b5061042261041d366004611d56565b610cee565b604080519283526fffffffffffffffffffffffffffffffff9091166020830152016101d8565b34801561045457600080fd5b50d3801561046157600080fd5b50d2801561046e57600080fd5b5061021b61047d366004611d74565b610d89565b34801561048e57600080fd5b50d3801561049b57600080fd5b50d280156104a857600080fd5b506104bc6104b7366004611bdb565b610e96565b604080519485526fffffffffffffffffffffffffffffffff9384166020860152918316918401919091521660608201526080016101d8565b34801561050057600080fd5b50d3801561050d57600080fd5b50d2801561051a57600080fd5b5061053e610529366004611d8c565b60666020526000908152604090205460ff1681565b60405190151581526020016101d8565b34801561055a57600080fd5b50d3801561056757600080fd5b50d2801561057457600080fd5b5060335473ffffffffffffffffffffffffffffffffffffffff16610394565b34801561059f57600080fd5b50d380156105ac57600080fd5b50d280156105b957600080fd5b506069546fffffffffffffffffffffffffffffffff165b6040516fffffffffffffffffffffffffffffffff90911681526020016101d8565b6104bc6105ff366004611bdb565b610eb8565b34801561061057600080fd5b50d3801561061d57600080fd5b50d2801561062a57600080fd5b506065546fffffffffffffffffffffffffffffffff166105d0565b34801561065157600080fd5b50d3801561065e57600080fd5b50d2801561066b57600080fd5b5061021b61067a366004611d8c565b610ee9565b34801561068b57600080fd5b50d3801561069857600080fd5b50d280156106a557600080fd5b506069546105d09070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1681565b3480156106e257600080fd5b50d380156106ef57600080fd5b50d280156106fc57600080fd5b5061021b61070b366004611c2e565b6111d0565b34801561071c57600080fd5b50d3801561072957600080fd5b50d2801561073657600080fd5b506107dd610745366004611da7565b60408051606080820183526000808352602080840182905292840181905263ffffffff94851681526067835283902083519182018452546fffffffffffffffffffffffffffffffff81168252700100000000000000000000000000000000810467ffffffffffffffff169282019290925278010000000000000000000000000000000000000000000000009091049092169082015290565b6040805182516fffffffffffffffffffffffffffffffff16815260208084015167ffffffffffffffff16908201529181015163ffffffff16908201526060016101d8565b34801561082d57600080fd5b50d3801561083a57600080fd5b50d2801561084757600080fd5b5061021b610856366004611d8c565b61121b565b34801561086757600080fd5b50d3801561087457600080fd5b50d2801561088157600080fd5b506107dd610890366004611dc2565b60408051606080820183526000808352602080840182905292840181905261ffff949094168452606782529282902082519384018352546fffffffffffffffffffffffffffffffff8116845267ffffffffffffffff700100000000000000000000000000000000820416918401919091527801000000000000000000000000000000000000000000000000900463ffffffff169082015290565b34801561093657600080fd5b50d3801561094357600080fd5b50d2801561095057600080fd5b5061021b61095f366004611d8c565b61126a565b34801561097057600080fd5b50d3801561097d57600080fd5b50d2801561098a57600080fd5b5061021b610999366004611ddd565b611321565b6109a6611337565b606980546fffffffffffffffffffffffffffffffff928316700100000000000000000000000000000000029216919091179055565b336109fb60335473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610a5f573360009081526066602052604090205460ff16610a5f576040517f320ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610bb05736838383818110610a7d57610a7d611e07565b608002919091019150610b9d9050610a986020830183611da7565b610aaa36849003840160208501611e4e565b805160208083015160409384015184516060810186526fffffffffffffffffffffffffffffffff948516815267ffffffffffffffff92831681850190815263ffffffff9283168288019081529783166000908152606790955295909320925183549551965194167fffffffffffffffff000000000000000000000000000000000000000000000000909516949094177001000000000000000000000000000000009590911694909402939093177fffffffff00000000ffffffffffffffffffffffffffffffffffffffffffffffff1678010000000000000000000000000000000000000000000000009190921602179055565b5080610ba881611f10565b915050610a62565b505050565b610bbd611337565b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260666020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b33610c3360335473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610c97573360009081526066602052604090205460ff16610c97576040517f320ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606980547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055565b610ce2611337565b610cec60006113b8565b565b6000808461ffff16606e1480610d0957508461ffff1661279f145b80610d1957508461ffff16614eaf145b15610d3657610d2d8561ffff16858561142f565b91509150610d81565b8461ffff16606f1480610d4e57508461ffff16612794145b80610d5e57508461ffff16614ea4145b15610d7257610d2d8561ffff16858561158c565b610d2d8561ffff16858561173d565b935093915050565b33610da960335473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610e0d573360009081526066602052604090205460ff16610e0d576040517f320ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e1d610a986020830183611da7565b6000610e2f60a0830160808401611f48565b90506000610e4360c0840160a08501611da7565b6068805463ffffffff90921668010000000000000000027fffffffffffffffffffffffffffffffffffffffff00000000000000000000000090921667ffffffffffffffff90941693909317179091555050565b600080600080610ea7878787611812565b935093509350935093509350935093565b600080808080610ecc565b60405180910390fd5b610ed7888888611812565b94509450945094505093509350935093565b6000610f137fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b905073ffffffffffffffffffffffffffffffffffffffff8116610f6c5773ffffffffffffffffffffffffffffffffffffffff7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355610f8e565b3373ffffffffffffffffffffffffffffffffffffffff821614610f8e57600080fd5b600054610100900460ff1615808015610fae5750600054600160ff909116105b80610fc85750303b158015610fc8575060005460ff166001145b611054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610ec3565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156110b257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b6110ba6118e9565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260666020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055606580547fffffffffffffffffffffffffffffffff000000000000000000000000000000001668056bc75e2d6310000017905560698054702f000000000000000000000000000000006fffffffffffffffffffffffffffffffff919091161790558015610bb057600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b6111d8611337565b606580547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055565b611223611337565b606a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b611272611337565b73ffffffffffffffffffffffffffffffffffffffff8116611315576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610ec3565b61131e816113b8565b50565b611329611337565b6113338282611988565b5050565b60335473ffffffffffffffffffffffffffffffffffffffff163314610cec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ec3565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b63ffffffff8381166000908152606760205260408120606854606954929384938492680100000000000000009004909116906064906114949070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1689611f63565b61149e9190611faf565b6114a89190611f63565b82549091506000906114dc907801000000000000000000000000000000000000000000000000900463ffffffff1688611f63565b835460685491925060009167ffffffffffffffff7001000000000000000000000000000000009092048216918491869161151791168b611fc3565b6115219190611fc3565b61152b9190611fc3565b6115359190611f63565b60655485549192506fffffffffffffffffffffffffffffffff9081169161155d911683611f63565b6115679190611faf565b935493996fffffffffffffffffffffffffffffffff9094169850929650505050505050565b600080600061159a86611a8e565b63ffffffff808216600090815260676020526040812080549394509290916115df91780100000000000000000000000000000000000000000000000090041688611f63565b6115eb90610c74611fc3565b825490915060009061161b90700100000000000000000000000000000000900467ffffffffffffffff1683611f63565b63ffffffff808b16600090815260676020526040812080549394509290916116609178010000000000000000000000000000000000000000000000009004168b611f63565b8254909150600090700100000000000000000000000000000000900467ffffffffffffffff166116908b84611fc3565b61169a9190611f63565b60655487549192506000916fffffffffffffffffffffffffffffffff918216916116c5911687611f63565b6116cf9190611faf565b60655485549192506000916fffffffffffffffffffffffffffffffff918216916116fa911685611f63565b6117049190611faf565b905060006117128284611fc3565b9554959f6fffffffffffffffffffffffffffffffff9096169e50949c50505050505050505050505050565b63ffffffff8084166000908152606760205260408120805491928392839161178291780100000000000000000000000000000000000000000000000090041687611f63565b8254909150600090700100000000000000000000000000000000900467ffffffffffffffff166117b28784611fc3565b6117bc9190611f63565b60655484549192506fffffffffffffffffffffffffffffffff908116916117e4911683611f63565b6117ee9190611faf565b925492986fffffffffffffffffffffffffffffffff90931697509195505050505050565b60008080808061182461753089611fd6565b90508063ffffffff16606e148061184257508063ffffffff1661279f145b8061185457508063ffffffff16614eaf145b1561186e5761186481888861142f565b90955093506118bd565b8063ffffffff16606f148061188a57508063ffffffff16612794145b8061189c57508063ffffffff16614ea4145b156118ac5761186481888861158c565b6118b781888861173d565b90955093505b505060655460695493979296506fffffffffffffffffffffffffffffffff908116955090921692509050565b600054610100900460ff16611980576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610ec3565b610cec611b22565b73ffffffffffffffffffffffffffffffffffffffff82166119d5576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114611a2f576040519150601f19603f3d011682016040523d82523d6000602084013e611a34565b606091505b5050905080610bb0576040517f465bc83400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101839052604401610ec3565b600080611a9d61753084611fd6565b90508063ffffffff16606f03611ab65750606592915050565b8063ffffffff1661279403611acf575061278992915050565b8063ffffffff16614ea403611ae85750614e9992915050565b6040517fea25394500000000000000000000000000000000000000000000000000000000815263ffffffff82166004820152602401610ec3565b600054610100900460ff16611bb9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610ec3565b610cec336113b8565b803563ffffffff81168114611bd657600080fd5b919050565b600080600060608486031215611bf057600080fd5b611bf984611bc2565b95602085013595506040909401359392505050565b80356fffffffffffffffffffffffffffffffff81168114611bd657600080fd5b600060208284031215611c4057600080fd5b611c4982611c0e565b9392505050565b60008060208385031215611c6357600080fd5b823567ffffffffffffffff80821115611c7b57600080fd5b818501915085601f830112611c8f57600080fd5b813581811115611c9e57600080fd5b8660208260071b8501011115611cb357600080fd5b60209290920196919550909350505050565b6000813574ffffffffffffffffffffffffffffffffffffffffff81168114611cec57600080fd5b73ffffffffffffffffffffffffffffffffffffffff1692915050565b60008060408385031215611d1b57600080fd5b611d2483611cc5565b915060208301358015158114611d3957600080fd5b809150509250929050565b803561ffff81168114611bd657600080fd5b600080600060608486031215611d6b57600080fd5b611bf984611d44565b600060c08284031215611d8657600080fd5b50919050565b600060208284031215611d9e57600080fd5b611c4982611cc5565b600060208284031215611db957600080fd5b611c4982611bc2565b600060208284031215611dd457600080fd5b611c4982611d44565b60008060408385031215611df057600080fd5b611df983611cc5565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b803567ffffffffffffffff81168114611bd657600080fd5b600060608284031215611e6057600080fd5b6040516060810181811067ffffffffffffffff82111715611eaa577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604052611eb683611c0e565b8152611ec460208401611e36565b6020820152611ed560408401611bc2565b60408201529392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611f4157611f41611ee1565b5060010190565b600060208284031215611f5a57600080fd5b611c4982611e36565b8082028115828204841417611f7a57611f7a611ee1565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082611fbe57611fbe611f80565b500490565b80820180821115611f7a57611f7a611ee1565b600063ffffffff80841680611fed57611fed611f80565b9216919091069291505056fea26474726f6e58221220fa6afe2ab1ce06141baf501611d159ece1591afb66e66a343b496b3b5e5c4e4364736f6c63430008140033",
|
|
664
|
-
"deployedBytecode": "0x60806040526004361061018b5760003560e01c80638da5cb5b116100d6578063d350ad251161007f578063e0ad121a11610059578063e0ad121a1461085b578063f2fde38b1461092a578063fd9be5221461096457600080fd5b8063d350ad25146106d6578063da26663a14610710578063dbbb41551461082157600080fd5b8063c1840327116100b0578063c184032714610604578063c4d66de814610645578063cd68b79b1461067f57600080fd5b80638da5cb5b1461054e57806392807f5814610593578063c1723a1d146105f157600080fd5b80635e280f11116101385780637dc438a4116101125780637dc438a41461044857806388a4124c146104825780638ca2fb08146104f457600080fd5b80635e280f111461034d578063715018a6146103b95780637bc3c9ab146103e857600080fd5b806336a5beba1161016957806336a5beba1461025757806352a72510146102d95780635d6d7ccb1461031357600080fd5b806311f2c343146101905780632f7cb0b4146101e15780633161b7f61461021d575b600080fd5b34801561019c57600080fd5b50d380156101a957600080fd5b50d280156101b657600080fd5b506101ce6101c5366004611bdb565b60009392505050565b6040519081526020015b60405180910390f35b3480156101ed57600080fd5b50d380156101fa57600080fd5b50d2801561020757600080fd5b5061021b610216366004611c2e565b61099e565b005b34801561022957600080fd5b50d3801561023657600080fd5b50d2801561024357600080fd5b5061021b610252366004611c50565b6109db565b34801561026357600080fd5b50d3801561027057600080fd5b50d2801561027d57600080fd5b5060408051808201825260008082526020918201528151808301835260685467ffffffffffffffff811680835263ffffffff680100000000000000009092048216928401928352845190815291511691810191909152016101d8565b3480156102e557600080fd5b50d380156102f257600080fd5b50d280156102ff57600080fd5b5061021b61030e366004611d08565b610bb5565b34801561031f57600080fd5b50d3801561032c57600080fd5b50d2801561033957600080fd5b5061021b610348366004611c2e565b610c13565b34801561035957600080fd5b50d3801561036657600080fd5b50d2801561037357600080fd5b50606a546103949073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101d8565b3480156103c557600080fd5b50d380156103d257600080fd5b50d280156103df57600080fd5b5061021b610cda565b3480156103f457600080fd5b50d3801561040157600080fd5b50d2801561040e57600080fd5b5061042261041d366004611d56565b610cee565b604080519283526fffffffffffffffffffffffffffffffff9091166020830152016101d8565b34801561045457600080fd5b50d3801561046157600080fd5b50d2801561046e57600080fd5b5061021b61047d366004611d74565b610d89565b34801561048e57600080fd5b50d3801561049b57600080fd5b50d280156104a857600080fd5b506104bc6104b7366004611bdb565b610e96565b604080519485526fffffffffffffffffffffffffffffffff9384166020860152918316918401919091521660608201526080016101d8565b34801561050057600080fd5b50d3801561050d57600080fd5b50d2801561051a57600080fd5b5061053e610529366004611d8c565b60666020526000908152604090205460ff1681565b60405190151581526020016101d8565b34801561055a57600080fd5b50d3801561056757600080fd5b50d2801561057457600080fd5b5060335473ffffffffffffffffffffffffffffffffffffffff16610394565b34801561059f57600080fd5b50d380156105ac57600080fd5b50d280156105b957600080fd5b506069546fffffffffffffffffffffffffffffffff165b6040516fffffffffffffffffffffffffffffffff90911681526020016101d8565b6104bc6105ff366004611bdb565b610eb8565b34801561061057600080fd5b50d3801561061d57600080fd5b50d2801561062a57600080fd5b506065546fffffffffffffffffffffffffffffffff166105d0565b34801561065157600080fd5b50d3801561065e57600080fd5b50d2801561066b57600080fd5b5061021b61067a366004611d8c565b610ee9565b34801561068b57600080fd5b50d3801561069857600080fd5b50d280156106a557600080fd5b506069546105d09070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1681565b3480156106e257600080fd5b50d380156106ef57600080fd5b50d280156106fc57600080fd5b5061021b61070b366004611c2e565b6111d0565b34801561071c57600080fd5b50d3801561072957600080fd5b50d2801561073657600080fd5b506107dd610745366004611da7565b60408051606080820183526000808352602080840182905292840181905263ffffffff94851681526067835283902083519182018452546fffffffffffffffffffffffffffffffff81168252700100000000000000000000000000000000810467ffffffffffffffff169282019290925278010000000000000000000000000000000000000000000000009091049092169082015290565b6040805182516fffffffffffffffffffffffffffffffff16815260208084015167ffffffffffffffff16908201529181015163ffffffff16908201526060016101d8565b34801561082d57600080fd5b50d3801561083a57600080fd5b50d2801561084757600080fd5b5061021b610856366004611d8c565b61121b565b34801561086757600080fd5b50d3801561087457600080fd5b50d2801561088157600080fd5b506107dd610890366004611dc2565b60408051606080820183526000808352602080840182905292840181905261ffff949094168452606782529282902082519384018352546fffffffffffffffffffffffffffffffff8116845267ffffffffffffffff700100000000000000000000000000000000820416918401919091527801000000000000000000000000000000000000000000000000900463ffffffff169082015290565b34801561093657600080fd5b50d3801561094357600080fd5b50d2801561095057600080fd5b5061021b61095f366004611d8c565b61126a565b34801561097057600080fd5b50d3801561097d57600080fd5b50d2801561098a57600080fd5b5061021b610999366004611ddd565b611321565b6109a6611337565b606980546fffffffffffffffffffffffffffffffff928316700100000000000000000000000000000000029216919091179055565b336109fb60335473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610a5f573360009081526066602052604090205460ff16610a5f576040517f320ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610bb05736838383818110610a7d57610a7d611e07565b608002919091019150610b9d9050610a986020830183611da7565b610aaa36849003840160208501611e4e565b805160208083015160409384015184516060810186526fffffffffffffffffffffffffffffffff948516815267ffffffffffffffff92831681850190815263ffffffff9283168288019081529783166000908152606790955295909320925183549551965194167fffffffffffffffff000000000000000000000000000000000000000000000000909516949094177001000000000000000000000000000000009590911694909402939093177fffffffff00000000ffffffffffffffffffffffffffffffffffffffffffffffff1678010000000000000000000000000000000000000000000000009190921602179055565b5080610ba881611f10565b915050610a62565b505050565b610bbd611337565b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260666020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b33610c3360335473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610c97573360009081526066602052604090205460ff16610c97576040517f320ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606980547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055565b610ce2611337565b610cec60006113b8565b565b6000808461ffff16606e1480610d0957508461ffff1661279f145b80610d1957508461ffff16614eaf145b15610d3657610d2d8561ffff16858561142f565b91509150610d81565b8461ffff16606f1480610d4e57508461ffff16612794145b80610d5e57508461ffff16614ea4145b15610d7257610d2d8561ffff16858561158c565b610d2d8561ffff16858561173d565b935093915050565b33610da960335473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610e0d573360009081526066602052604090205460ff16610e0d576040517f320ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e1d610a986020830183611da7565b6000610e2f60a0830160808401611f48565b90506000610e4360c0840160a08501611da7565b6068805463ffffffff90921668010000000000000000027fffffffffffffffffffffffffffffffffffffffff00000000000000000000000090921667ffffffffffffffff90941693909317179091555050565b600080600080610ea7878787611812565b935093509350935093509350935093565b600080808080610ecc565b60405180910390fd5b610ed7888888611812565b94509450945094505093509350935093565b6000610f137fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b905073ffffffffffffffffffffffffffffffffffffffff8116610f6c5773ffffffffffffffffffffffffffffffffffffffff7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355610f8e565b3373ffffffffffffffffffffffffffffffffffffffff821614610f8e57600080fd5b600054610100900460ff1615808015610fae5750600054600160ff909116105b80610fc85750303b158015610fc8575060005460ff166001145b611054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610ec3565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156110b257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b6110ba6118e9565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260666020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055606580547fffffffffffffffffffffffffffffffff000000000000000000000000000000001668056bc75e2d6310000017905560698054702f000000000000000000000000000000006fffffffffffffffffffffffffffffffff919091161790558015610bb057600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b6111d8611337565b606580547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055565b611223611337565b606a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b611272611337565b73ffffffffffffffffffffffffffffffffffffffff8116611315576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610ec3565b61131e816113b8565b50565b611329611337565b6113338282611988565b5050565b60335473ffffffffffffffffffffffffffffffffffffffff163314610cec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ec3565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b63ffffffff8381166000908152606760205260408120606854606954929384938492680100000000000000009004909116906064906114949070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1689611f63565b61149e9190611faf565b6114a89190611f63565b82549091506000906114dc907801000000000000000000000000000000000000000000000000900463ffffffff1688611f63565b835460685491925060009167ffffffffffffffff7001000000000000000000000000000000009092048216918491869161151791168b611fc3565b6115219190611fc3565b61152b9190611fc3565b6115359190611f63565b60655485549192506fffffffffffffffffffffffffffffffff9081169161155d911683611f63565b6115679190611faf565b935493996fffffffffffffffffffffffffffffffff9094169850929650505050505050565b600080600061159a86611a8e565b63ffffffff808216600090815260676020526040812080549394509290916115df91780100000000000000000000000000000000000000000000000090041688611f63565b6115eb90610c74611fc3565b825490915060009061161b90700100000000000000000000000000000000900467ffffffffffffffff1683611f63565b63ffffffff808b16600090815260676020526040812080549394509290916116609178010000000000000000000000000000000000000000000000009004168b611f63565b8254909150600090700100000000000000000000000000000000900467ffffffffffffffff166116908b84611fc3565b61169a9190611f63565b60655487549192506000916fffffffffffffffffffffffffffffffff918216916116c5911687611f63565b6116cf9190611faf565b60655485549192506000916fffffffffffffffffffffffffffffffff918216916116fa911685611f63565b6117049190611faf565b905060006117128284611fc3565b9554959f6fffffffffffffffffffffffffffffffff9096169e50949c50505050505050505050505050565b63ffffffff8084166000908152606760205260408120805491928392839161178291780100000000000000000000000000000000000000000000000090041687611f63565b8254909150600090700100000000000000000000000000000000900467ffffffffffffffff166117b28784611fc3565b6117bc9190611f63565b60655484549192506fffffffffffffffffffffffffffffffff908116916117e4911683611f63565b6117ee9190611faf565b925492986fffffffffffffffffffffffffffffffff90931697509195505050505050565b60008080808061182461753089611fd6565b90508063ffffffff16606e148061184257508063ffffffff1661279f145b8061185457508063ffffffff16614eaf145b1561186e5761186481888861142f565b90955093506118bd565b8063ffffffff16606f148061188a57508063ffffffff16612794145b8061189c57508063ffffffff16614ea4145b156118ac5761186481888861158c565b6118b781888861173d565b90955093505b505060655460695493979296506fffffffffffffffffffffffffffffffff908116955090921692509050565b600054610100900460ff16611980576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610ec3565b610cec611b22565b73ffffffffffffffffffffffffffffffffffffffff82166119d5576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114611a2f576040519150601f19603f3d011682016040523d82523d6000602084013e611a34565b606091505b5050905080610bb0576040517f465bc83400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101839052604401610ec3565b600080611a9d61753084611fd6565b90508063ffffffff16606f03611ab65750606592915050565b8063ffffffff1661279403611acf575061278992915050565b8063ffffffff16614ea403611ae85750614e9992915050565b6040517fea25394500000000000000000000000000000000000000000000000000000000815263ffffffff82166004820152602401610ec3565b600054610100900460ff16611bb9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610ec3565b610cec336113b8565b803563ffffffff81168114611bd657600080fd5b919050565b600080600060608486031215611bf057600080fd5b611bf984611bc2565b95602085013595506040909401359392505050565b80356fffffffffffffffffffffffffffffffff81168114611bd657600080fd5b600060208284031215611c4057600080fd5b611c4982611c0e565b9392505050565b60008060208385031215611c6357600080fd5b823567ffffffffffffffff80821115611c7b57600080fd5b818501915085601f830112611c8f57600080fd5b813581811115611c9e57600080fd5b8660208260071b8501011115611cb357600080fd5b60209290920196919550909350505050565b6000813574ffffffffffffffffffffffffffffffffffffffffff81168114611cec57600080fd5b73ffffffffffffffffffffffffffffffffffffffff1692915050565b60008060408385031215611d1b57600080fd5b611d2483611cc5565b915060208301358015158114611d3957600080fd5b809150509250929050565b803561ffff81168114611bd657600080fd5b600080600060608486031215611d6b57600080fd5b611bf984611d44565b600060c08284031215611d8657600080fd5b50919050565b600060208284031215611d9e57600080fd5b611c4982611cc5565b600060208284031215611db957600080fd5b611c4982611bc2565b600060208284031215611dd457600080fd5b611c4982611d44565b60008060408385031215611df057600080fd5b611df983611cc5565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b803567ffffffffffffffff81168114611bd657600080fd5b600060608284031215611e6057600080fd5b6040516060810181811067ffffffffffffffff82111715611eaa577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604052611eb683611c0e565b8152611ec460208401611e36565b6020820152611ed560408401611bc2565b60408201529392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611f4157611f41611ee1565b5060010190565b600060208284031215611f5a57600080fd5b611c4982611e36565b8082028115828204841417611f7a57611f7a611ee1565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082611fbe57611fbe611f80565b500490565b80820180821115611f7a57611f7a611ee1565b600063ffffffff80841680611fed57611fed611f80565b9216919091069291505056fea26474726f6e58221220fa6afe2ab1ce06141baf501611d159ece1591afb66e66a343b496b3b5e5c4e4364736f6c63430008140033",
|
|
665
|
-
"devdoc": {
|
|
666
|
-
"events": {
|
|
667
|
-
"Initialized(uint8)": {
|
|
668
|
-
"details": "Triggered when the contract has been initialized or reinitialized."
|
|
669
|
-
}
|
|
670
|
-
},
|
|
671
|
-
"kind": "dev",
|
|
672
|
-
"methods": {
|
|
673
|
-
"owner()": {
|
|
674
|
-
"details": "Returns the address of the current owner."
|
|
675
|
-
},
|
|
676
|
-
"renounceOwnership()": {
|
|
677
|
-
"details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."
|
|
678
|
-
},
|
|
679
|
-
"transferOwnership(address)": {
|
|
680
|
-
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
681
|
-
}
|
|
682
|
-
},
|
|
683
|
-
"version": 1
|
|
684
|
-
},
|
|
685
|
-
"userdoc": {
|
|
686
|
-
"kind": "user",
|
|
687
|
-
"methods": {},
|
|
688
|
-
"version": 1
|
|
689
|
-
},
|
|
690
|
-
"storageLayout": {
|
|
691
|
-
"storage": [
|
|
692
|
-
{
|
|
693
|
-
"astId": 5398,
|
|
694
|
-
"contract": "contracts/PriceFeed.sol:PriceFeed",
|
|
695
|
-
"label": "_initialized",
|
|
696
|
-
"offset": 0,
|
|
697
|
-
"slot": "0",
|
|
698
|
-
"type": "t_uint8"
|
|
699
|
-
},
|
|
700
|
-
{
|
|
701
|
-
"astId": 5401,
|
|
702
|
-
"contract": "contracts/PriceFeed.sol:PriceFeed",
|
|
703
|
-
"label": "_initializing",
|
|
704
|
-
"offset": 1,
|
|
705
|
-
"slot": "0",
|
|
706
|
-
"type": "t_bool"
|
|
707
|
-
},
|
|
708
|
-
{
|
|
709
|
-
"astId": 6153,
|
|
710
|
-
"contract": "contracts/PriceFeed.sol:PriceFeed",
|
|
711
|
-
"label": "__gap",
|
|
712
|
-
"offset": 0,
|
|
713
|
-
"slot": "1",
|
|
714
|
-
"type": "t_array(t_uint256)50_storage"
|
|
715
|
-
},
|
|
716
|
-
{
|
|
717
|
-
"astId": 5270,
|
|
718
|
-
"contract": "contracts/PriceFeed.sol:PriceFeed",
|
|
719
|
-
"label": "_owner",
|
|
720
|
-
"offset": 0,
|
|
721
|
-
"slot": "51",
|
|
722
|
-
"type": "t_address"
|
|
723
|
-
},
|
|
724
|
-
{
|
|
725
|
-
"astId": 5390,
|
|
726
|
-
"contract": "contracts/PriceFeed.sol:PriceFeed",
|
|
727
|
-
"label": "__gap",
|
|
728
|
-
"offset": 0,
|
|
729
|
-
"slot": "52",
|
|
730
|
-
"type": "t_array(t_uint256)49_storage"
|
|
731
|
-
},
|
|
732
|
-
{
|
|
733
|
-
"astId": 13624,
|
|
734
|
-
"contract": "contracts/PriceFeed.sol:PriceFeed",
|
|
735
|
-
"label": "PRICE_RATIO_DENOMINATOR",
|
|
736
|
-
"offset": 0,
|
|
737
|
-
"slot": "101",
|
|
738
|
-
"type": "t_uint128"
|
|
739
|
-
},
|
|
740
|
-
{
|
|
741
|
-
"astId": 13628,
|
|
742
|
-
"contract": "contracts/PriceFeed.sol:PriceFeed",
|
|
743
|
-
"label": "priceUpdater",
|
|
744
|
-
"offset": 0,
|
|
745
|
-
"slot": "102",
|
|
746
|
-
"type": "t_mapping(t_address,t_bool)"
|
|
747
|
-
},
|
|
748
|
-
{
|
|
749
|
-
"astId": 13633,
|
|
750
|
-
"contract": "contracts/PriceFeed.sol:PriceFeed",
|
|
751
|
-
"label": "_defaultModelPrice",
|
|
752
|
-
"offset": 0,
|
|
753
|
-
"slot": "103",
|
|
754
|
-
"type": "t_mapping(t_uint32,t_struct(Price)17883_storage)"
|
|
755
|
-
},
|
|
756
|
-
{
|
|
757
|
-
"astId": 13636,
|
|
758
|
-
"contract": "contracts/PriceFeed.sol:PriceFeed",
|
|
759
|
-
"label": "_arbitrumPriceExt",
|
|
760
|
-
"offset": 0,
|
|
761
|
-
"slot": "104",
|
|
762
|
-
"type": "t_struct(ArbitrumPriceExt)17895_storage"
|
|
763
|
-
},
|
|
764
|
-
{
|
|
765
|
-
"astId": 13638,
|
|
766
|
-
"contract": "contracts/PriceFeed.sol:PriceFeed",
|
|
767
|
-
"label": "_nativePriceUSD",
|
|
768
|
-
"offset": 0,
|
|
769
|
-
"slot": "105",
|
|
770
|
-
"type": "t_uint128"
|
|
771
|
-
},
|
|
772
|
-
{
|
|
773
|
-
"astId": 13640,
|
|
774
|
-
"contract": "contracts/PriceFeed.sol:PriceFeed",
|
|
775
|
-
"label": "ARBITRUM_COMPRESSION_PERCENT",
|
|
776
|
-
"offset": 16,
|
|
777
|
-
"slot": "105",
|
|
778
|
-
"type": "t_uint128"
|
|
779
|
-
},
|
|
780
|
-
{
|
|
781
|
-
"astId": 13643,
|
|
782
|
-
"contract": "contracts/PriceFeed.sol:PriceFeed",
|
|
783
|
-
"label": "endpoint",
|
|
784
|
-
"offset": 0,
|
|
785
|
-
"slot": "106",
|
|
786
|
-
"type": "t_contract(ILayerZeroEndpointV2)2612"
|
|
787
|
-
}
|
|
788
|
-
],
|
|
789
|
-
"types": {
|
|
790
|
-
"t_address": {
|
|
791
|
-
"encoding": "inplace",
|
|
792
|
-
"label": "address",
|
|
793
|
-
"numberOfBytes": "20"
|
|
794
|
-
},
|
|
795
|
-
"t_array(t_uint256)49_storage": {
|
|
796
|
-
"base": "t_uint256",
|
|
797
|
-
"encoding": "inplace",
|
|
798
|
-
"label": "uint256[49]",
|
|
799
|
-
"numberOfBytes": "1568"
|
|
800
|
-
},
|
|
801
|
-
"t_array(t_uint256)50_storage": {
|
|
802
|
-
"base": "t_uint256",
|
|
803
|
-
"encoding": "inplace",
|
|
804
|
-
"label": "uint256[50]",
|
|
805
|
-
"numberOfBytes": "1600"
|
|
806
|
-
},
|
|
807
|
-
"t_bool": {
|
|
808
|
-
"encoding": "inplace",
|
|
809
|
-
"label": "bool",
|
|
810
|
-
"numberOfBytes": "1"
|
|
811
|
-
},
|
|
812
|
-
"t_contract(ILayerZeroEndpointV2)2612": {
|
|
813
|
-
"encoding": "inplace",
|
|
814
|
-
"label": "contract ILayerZeroEndpointV2",
|
|
815
|
-
"numberOfBytes": "20"
|
|
816
|
-
},
|
|
817
|
-
"t_mapping(t_address,t_bool)": {
|
|
818
|
-
"encoding": "mapping",
|
|
819
|
-
"key": "t_address",
|
|
820
|
-
"label": "mapping(address => bool)",
|
|
821
|
-
"numberOfBytes": "32",
|
|
822
|
-
"value": "t_bool"
|
|
823
|
-
},
|
|
824
|
-
"t_mapping(t_uint32,t_struct(Price)17883_storage)": {
|
|
825
|
-
"encoding": "mapping",
|
|
826
|
-
"key": "t_uint32",
|
|
827
|
-
"label": "mapping(uint32 => struct ILayerZeroPriceFeed.Price)",
|
|
828
|
-
"numberOfBytes": "32",
|
|
829
|
-
"value": "t_struct(Price)17883_storage"
|
|
830
|
-
},
|
|
831
|
-
"t_struct(ArbitrumPriceExt)17895_storage": {
|
|
832
|
-
"encoding": "inplace",
|
|
833
|
-
"label": "struct ILayerZeroPriceFeed.ArbitrumPriceExt",
|
|
834
|
-
"members": [
|
|
835
|
-
{
|
|
836
|
-
"astId": 17892,
|
|
837
|
-
"contract": "contracts/PriceFeed.sol:PriceFeed",
|
|
838
|
-
"label": "gasPerL2Tx",
|
|
839
|
-
"offset": 0,
|
|
840
|
-
"slot": "0",
|
|
841
|
-
"type": "t_uint64"
|
|
842
|
-
},
|
|
843
|
-
{
|
|
844
|
-
"astId": 17894,
|
|
845
|
-
"contract": "contracts/PriceFeed.sol:PriceFeed",
|
|
846
|
-
"label": "gasPerL1CallDataByte",
|
|
847
|
-
"offset": 8,
|
|
848
|
-
"slot": "0",
|
|
849
|
-
"type": "t_uint32"
|
|
850
|
-
}
|
|
851
|
-
],
|
|
852
|
-
"numberOfBytes": "32"
|
|
853
|
-
},
|
|
854
|
-
"t_struct(Price)17883_storage": {
|
|
855
|
-
"encoding": "inplace",
|
|
856
|
-
"label": "struct ILayerZeroPriceFeed.Price",
|
|
857
|
-
"members": [
|
|
858
|
-
{
|
|
859
|
-
"astId": 17878,
|
|
860
|
-
"contract": "contracts/PriceFeed.sol:PriceFeed",
|
|
861
|
-
"label": "priceRatio",
|
|
862
|
-
"offset": 0,
|
|
863
|
-
"slot": "0",
|
|
864
|
-
"type": "t_uint128"
|
|
865
|
-
},
|
|
866
|
-
{
|
|
867
|
-
"astId": 17880,
|
|
868
|
-
"contract": "contracts/PriceFeed.sol:PriceFeed",
|
|
869
|
-
"label": "gasPriceInUnit",
|
|
870
|
-
"offset": 16,
|
|
871
|
-
"slot": "0",
|
|
872
|
-
"type": "t_uint64"
|
|
873
|
-
},
|
|
874
|
-
{
|
|
875
|
-
"astId": 17882,
|
|
876
|
-
"contract": "contracts/PriceFeed.sol:PriceFeed",
|
|
877
|
-
"label": "gasPerByte",
|
|
878
|
-
"offset": 24,
|
|
879
|
-
"slot": "0",
|
|
880
|
-
"type": "t_uint32"
|
|
881
|
-
}
|
|
882
|
-
],
|
|
883
|
-
"numberOfBytes": "32"
|
|
884
|
-
},
|
|
885
|
-
"t_uint128": {
|
|
886
|
-
"encoding": "inplace",
|
|
887
|
-
"label": "uint128",
|
|
888
|
-
"numberOfBytes": "16"
|
|
889
|
-
},
|
|
890
|
-
"t_uint256": {
|
|
891
|
-
"encoding": "inplace",
|
|
892
|
-
"label": "uint256",
|
|
893
|
-
"numberOfBytes": "32"
|
|
894
|
-
},
|
|
895
|
-
"t_uint32": {
|
|
896
|
-
"encoding": "inplace",
|
|
897
|
-
"label": "uint32",
|
|
898
|
-
"numberOfBytes": "4"
|
|
899
|
-
},
|
|
900
|
-
"t_uint64": {
|
|
901
|
-
"encoding": "inplace",
|
|
902
|
-
"label": "uint64",
|
|
903
|
-
"numberOfBytes": "8"
|
|
904
|
-
},
|
|
905
|
-
"t_uint8": {
|
|
906
|
-
"encoding": "inplace",
|
|
907
|
-
"label": "uint8",
|
|
908
|
-
"numberOfBytes": "1"
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
}
|