@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": "0x2E983A1Ba5e8b38AAAeC4B440B9dDcFBf72E15d1",
|
|
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": "0x8a45a70a6e246b3c179368ee2b64eff2377ff9edc50ea3b1e2b5299247ab7b62",
|
|
645
|
-
"receipt": {
|
|
646
|
-
"to": null,
|
|
647
|
-
"from": "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC",
|
|
648
|
-
"contractAddress": "0x2E983A1Ba5e8b38AAAeC4B440B9dDcFBf72E15d1",
|
|
649
|
-
"transactionIndex": 0,
|
|
650
|
-
"gasUsed": "1671217",
|
|
651
|
-
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
652
|
-
"blockHash": "0x4d4bbeba7ce068c6e37eb9edaf846abd50bc04dbf0deba188599ce1f369ceb61",
|
|
653
|
-
"transactionHash": "0x8a45a70a6e246b3c179368ee2b64eff2377ff9edc50ea3b1e2b5299247ab7b62",
|
|
654
|
-
"logs": [],
|
|
655
|
-
"blockNumber": 3,
|
|
656
|
-
"cumulativeGasUsed": "1671217",
|
|
657
|
-
"status": 1,
|
|
658
|
-
"byzantium": true
|
|
659
|
-
},
|
|
660
|
-
"args": [],
|
|
661
|
-
"numDeployments": 1,
|
|
662
|
-
"solcInputHash": "286a3c36538d8fd41416e187cae2c651",
|
|
663
|
-
"bytecode": "0x608060405234801561001057600080fd5b50611d78806100206000396000f3fe60806040526004361061018b5760003560e01c80638da5cb5b116100d6578063d350ad251161007f578063e0ad121a11610059578063e0ad121a14610653578063f2fde38b14610708578063fd9be5221461072857600080fd5b8063d350ad251461051c578063da26663a1461053c578063dbbb41551461063357600080fd5b8063c1840327116100b0578063c184032714610498578063c4d66de8146104bf578063cd68b79b146104df57600080fd5b80638da5cb5b1461041657806392807f5814610441578063c1723a1d1461048557600080fd5b80635e280f11116101385780637dc438a4116101125780637dc438a41461035e57806388a4124c1461037e5780638ca2fb08146103d657600080fd5b80635e280f11146102b1578063715018a6146103035780637bc3c9ab1461031857600080fd5b806336a5beba1161016957806336a5beba1461020957806352a72510146102715780635d6d7ccb1461029157600080fd5b806311f2c343146101905780632f7cb0b4146101c75780633161b7f6146101e9575b600080fd5b34801561019c57600080fd5b506101b46101ab36600461197b565b60009392505050565b6040519081526020015b60405180910390f35b3480156101d357600080fd5b506101e76101e23660046119ce565b610748565b005b3480156101f557600080fd5b506101e76102043660046119f0565b610785565b34801561021557600080fd5b5060408051808201825260008082526020918201528151808301835260685467ffffffffffffffff811680835263ffffffff680100000000000000009092048216928401928352845190815291511691810191909152016101be565b34801561027d57600080fd5b506101e761028c366004611a89565b610955565b34801561029d57600080fd5b506101e76102ac3660046119ce565b6109b3565b3480156102bd57600080fd5b50606a546102de9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101be565b34801561030f57600080fd5b506101e7610a7a565b34801561032457600080fd5b50610338610333366004611ad7565b610a8e565b604080519283526fffffffffffffffffffffffffffffffff9091166020830152016101be565b34801561036a57600080fd5b506101e7610379366004611af5565b610b29565b34801561038a57600080fd5b5061039e61039936600461197b565b610c36565b604080519485526fffffffffffffffffffffffffffffffff9384166020860152918316918401919091521660608201526080016101be565b3480156103e257600080fd5b506104066103f1366004611b0d565b60666020526000908152604090205460ff1681565b60405190151581526020016101be565b34801561042257600080fd5b5060335473ffffffffffffffffffffffffffffffffffffffff166102de565b34801561044d57600080fd5b506069546fffffffffffffffffffffffffffffffff165b6040516fffffffffffffffffffffffffffffffff90911681526020016101be565b61039e61049336600461197b565b610c58565b3480156104a457600080fd5b506065546fffffffffffffffffffffffffffffffff16610464565b3480156104cb57600080fd5b506101e76104da366004611b0d565b610c89565b3480156104eb57600080fd5b506069546104649070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1681565b34801561052857600080fd5b506101e76105373660046119ce565b610f70565b34801561054857600080fd5b506105ef610557366004611b28565b60408051606080820183526000808352602080840182905292840181905263ffffffff94851681526067835283902083519182018452546fffffffffffffffffffffffffffffffff81168252700100000000000000000000000000000000810467ffffffffffffffff169282019290925278010000000000000000000000000000000000000000000000009091049092169082015290565b6040805182516fffffffffffffffffffffffffffffffff16815260208084015167ffffffffffffffff16908201529181015163ffffffff16908201526060016101be565b34801561063f57600080fd5b506101e761064e366004611b0d565b610fbb565b34801561065f57600080fd5b506105ef61066e366004611b43565b60408051606080820183526000808352602080840182905292840181905261ffff949094168452606782529282902082519384018352546fffffffffffffffffffffffffffffffff8116845267ffffffffffffffff700100000000000000000000000000000000820416918401919091527801000000000000000000000000000000000000000000000000900463ffffffff169082015290565b34801561071457600080fd5b506101e7610723366004611b0d565b61100a565b34801561073457600080fd5b506101e7610743366004611b5e565b6110c1565b6107506110d7565b606980546fffffffffffffffffffffffffffffffff928316700100000000000000000000000000000000029216919091179055565b336107a560335473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610809573360009081526066602052604090205460ff16610809576040517f320ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610950573683838381811061082757610827611b88565b60800291909101915061094790506108426020830183611b28565b61085436849003840160208501611bcf565b805160208083015160409384015184516060810186526fffffffffffffffffffffffffffffffff948516815267ffffffffffffffff92831681850190815263ffffffff9283168288019081529783166000908152606790955295909320925183549551965194167fffffffffffffffff000000000000000000000000000000000000000000000000909516949094177001000000000000000000000000000000009590911694909402939093177fffffffff00000000ffffffffffffffffffffffffffffffffffffffffffffffff1678010000000000000000000000000000000000000000000000009190921602179055565b5060010161080c565b505050565b61095d6110d7565b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260666020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b336109d360335473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610a37573360009081526066602052604090205460ff16610a37576040517f320ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606980547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055565b610a826110d7565b610a8c6000611158565b565b6000808461ffff16606e1480610aa957508461ffff1661279f145b80610ab957508461ffff16614eaf145b15610ad657610acd8561ffff1685856111cf565b91509150610b21565b8461ffff16606f1480610aee57508461ffff16612794145b80610afe57508461ffff16614ea4145b15610b1257610acd8561ffff16858561132c565b610acd8561ffff1685856114dd565b935093915050565b33610b4960335473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610bad573360009081526066602052604090205460ff16610bad576040517f320ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bbd6108426020830183611b28565b6000610bcf60a0830160808401611c62565b90506000610be360c0840160a08501611b28565b6068805463ffffffff90921668010000000000000000027fffffffffffffffffffffffffffffffffffffffff00000000000000000000000090921667ffffffffffffffff90941693909317179091555050565b600080600080610c478787876115b2565b935093509350935093509350935093565b600080808080610c6c565b60405180910390fd5b610c778888886115b2565b94509450945094505093509350935093565b6000610cb37fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b905073ffffffffffffffffffffffffffffffffffffffff8116610d0c5773ffffffffffffffffffffffffffffffffffffffff7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355610d2e565b3373ffffffffffffffffffffffffffffffffffffffff821614610d2e57600080fd5b600054610100900460ff1615808015610d4e5750600054600160ff909116105b80610d685750303b158015610d68575060005460ff166001145b610df4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610c63565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610e5257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610e5a611689565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260666020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055606580547fffffffffffffffffffffffffffffffff000000000000000000000000000000001668056bc75e2d6310000017905560698054702f000000000000000000000000000000006fffffffffffffffffffffffffffffffff91909116179055801561095057600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b610f786110d7565b606580547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055565b610fc36110d7565b606a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6110126110d7565b73ffffffffffffffffffffffffffffffffffffffff81166110b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c63565b6110be81611158565b50565b6110c96110d7565b6110d38282611728565b5050565b60335473ffffffffffffffffffffffffffffffffffffffff163314610a8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c63565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b63ffffffff8381166000908152606760205260408120606854606954929384938492680100000000000000009004909116906064906112349070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1689611cac565b61123e9190611cf8565b6112489190611cac565b825490915060009061127c907801000000000000000000000000000000000000000000000000900463ffffffff1688611cac565b835460685491925060009167ffffffffffffffff700100000000000000000000000000000000909204821691849186916112b791168b611d0c565b6112c19190611d0c565b6112cb9190611d0c565b6112d59190611cac565b60655485549192506fffffffffffffffffffffffffffffffff908116916112fd911683611cac565b6113079190611cf8565b935493996fffffffffffffffffffffffffffffffff9094169850929650505050505050565b600080600061133a8661182e565b63ffffffff8082166000908152606760205260408120805493945092909161137f91780100000000000000000000000000000000000000000000000090041688611cac565b61138b90610c74611d0c565b82549091506000906113bb90700100000000000000000000000000000000900467ffffffffffffffff1683611cac565b63ffffffff808b16600090815260676020526040812080549394509290916114009178010000000000000000000000000000000000000000000000009004168b611cac565b8254909150600090700100000000000000000000000000000000900467ffffffffffffffff166114308b84611d0c565b61143a9190611cac565b60655487549192506000916fffffffffffffffffffffffffffffffff91821691611465911687611cac565b61146f9190611cf8565b60655485549192506000916fffffffffffffffffffffffffffffffff9182169161149a911685611cac565b6114a49190611cf8565b905060006114b28284611d0c565b9554959f6fffffffffffffffffffffffffffffffff9096169e50949c50505050505050505050505050565b63ffffffff8084166000908152606760205260408120805491928392839161152291780100000000000000000000000000000000000000000000000090041687611cac565b8254909150600090700100000000000000000000000000000000900467ffffffffffffffff166115528784611d0c565b61155c9190611cac565b60655484549192506fffffffffffffffffffffffffffffffff90811691611584911683611cac565b61158e9190611cf8565b925492986fffffffffffffffffffffffffffffffff90931697509195505050505050565b6000808080806115c461753089611d1f565b90508063ffffffff16606e14806115e257508063ffffffff1661279f145b806115f457508063ffffffff16614eaf145b1561160e576116048188886111cf565b909550935061165d565b8063ffffffff16606f148061162a57508063ffffffff16612794145b8061163c57508063ffffffff16614ea4145b1561164c5761160481888861132c565b6116578188886114dd565b90955093505b505060655460695493979296506fffffffffffffffffffffffffffffffff908116955090921692509050565b600054610100900460ff16611720576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610c63565b610a8c6118c2565b73ffffffffffffffffffffffffffffffffffffffff8216611775576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d80600081146117cf576040519150601f19603f3d011682016040523d82523d6000602084013e6117d4565b606091505b5050905080610950576040517f465bc83400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101839052604401610c63565b60008061183d61753084611d1f565b90508063ffffffff16606f036118565750606592915050565b8063ffffffff166127940361186f575061278992915050565b8063ffffffff16614ea4036118885750614e9992915050565b6040517fea25394500000000000000000000000000000000000000000000000000000000815263ffffffff82166004820152602401610c63565b600054610100900460ff16611959576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610c63565b610a8c33611158565b803563ffffffff8116811461197657600080fd5b919050565b60008060006060848603121561199057600080fd5b61199984611962565b95602085013595506040909401359392505050565b80356fffffffffffffffffffffffffffffffff8116811461197657600080fd5b6000602082840312156119e057600080fd5b6119e9826119ae565b9392505050565b60008060208385031215611a0357600080fd5b823567ffffffffffffffff80821115611a1b57600080fd5b818501915085601f830112611a2f57600080fd5b813581811115611a3e57600080fd5b8660208260071b8501011115611a5357600080fd5b60209290920196919550909350505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461197657600080fd5b60008060408385031215611a9c57600080fd5b611aa583611a65565b915060208301358015158114611aba57600080fd5b809150509250929050565b803561ffff8116811461197657600080fd5b600080600060608486031215611aec57600080fd5b61199984611ac5565b600060c08284031215611b0757600080fd5b50919050565b600060208284031215611b1f57600080fd5b6119e982611a65565b600060208284031215611b3a57600080fd5b6119e982611962565b600060208284031215611b5557600080fd5b6119e982611ac5565b60008060408385031215611b7157600080fd5b611b7a83611a65565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b803567ffffffffffffffff8116811461197657600080fd5b600060608284031215611be157600080fd5b6040516060810181811067ffffffffffffffff82111715611c2b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604052611c37836119ae565b8152611c4560208401611bb7565b6020820152611c5660408401611962565b60408201529392505050565b600060208284031215611c7457600080fd5b6119e982611bb7565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8082028115828204841417611cc357611cc3611c7d565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082611d0757611d07611cc9565b500490565b80820180821115611cc357611cc3611c7d565b600063ffffffff80841680611d3657611d36611cc9565b9216919091069291505056fea2646970667358221220150f3896450b67c96e7d5757d6c4f7c8d0906d020caff0476925b43bdd414c3b64736f6c63430008160033",
|
|
664
|
-
"deployedBytecode": "0x60806040526004361061018b5760003560e01c80638da5cb5b116100d6578063d350ad251161007f578063e0ad121a11610059578063e0ad121a14610653578063f2fde38b14610708578063fd9be5221461072857600080fd5b8063d350ad251461051c578063da26663a1461053c578063dbbb41551461063357600080fd5b8063c1840327116100b0578063c184032714610498578063c4d66de8146104bf578063cd68b79b146104df57600080fd5b80638da5cb5b1461041657806392807f5814610441578063c1723a1d1461048557600080fd5b80635e280f11116101385780637dc438a4116101125780637dc438a41461035e57806388a4124c1461037e5780638ca2fb08146103d657600080fd5b80635e280f11146102b1578063715018a6146103035780637bc3c9ab1461031857600080fd5b806336a5beba1161016957806336a5beba1461020957806352a72510146102715780635d6d7ccb1461029157600080fd5b806311f2c343146101905780632f7cb0b4146101c75780633161b7f6146101e9575b600080fd5b34801561019c57600080fd5b506101b46101ab36600461197b565b60009392505050565b6040519081526020015b60405180910390f35b3480156101d357600080fd5b506101e76101e23660046119ce565b610748565b005b3480156101f557600080fd5b506101e76102043660046119f0565b610785565b34801561021557600080fd5b5060408051808201825260008082526020918201528151808301835260685467ffffffffffffffff811680835263ffffffff680100000000000000009092048216928401928352845190815291511691810191909152016101be565b34801561027d57600080fd5b506101e761028c366004611a89565b610955565b34801561029d57600080fd5b506101e76102ac3660046119ce565b6109b3565b3480156102bd57600080fd5b50606a546102de9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101be565b34801561030f57600080fd5b506101e7610a7a565b34801561032457600080fd5b50610338610333366004611ad7565b610a8e565b604080519283526fffffffffffffffffffffffffffffffff9091166020830152016101be565b34801561036a57600080fd5b506101e7610379366004611af5565b610b29565b34801561038a57600080fd5b5061039e61039936600461197b565b610c36565b604080519485526fffffffffffffffffffffffffffffffff9384166020860152918316918401919091521660608201526080016101be565b3480156103e257600080fd5b506104066103f1366004611b0d565b60666020526000908152604090205460ff1681565b60405190151581526020016101be565b34801561042257600080fd5b5060335473ffffffffffffffffffffffffffffffffffffffff166102de565b34801561044d57600080fd5b506069546fffffffffffffffffffffffffffffffff165b6040516fffffffffffffffffffffffffffffffff90911681526020016101be565b61039e61049336600461197b565b610c58565b3480156104a457600080fd5b506065546fffffffffffffffffffffffffffffffff16610464565b3480156104cb57600080fd5b506101e76104da366004611b0d565b610c89565b3480156104eb57600080fd5b506069546104649070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1681565b34801561052857600080fd5b506101e76105373660046119ce565b610f70565b34801561054857600080fd5b506105ef610557366004611b28565b60408051606080820183526000808352602080840182905292840181905263ffffffff94851681526067835283902083519182018452546fffffffffffffffffffffffffffffffff81168252700100000000000000000000000000000000810467ffffffffffffffff169282019290925278010000000000000000000000000000000000000000000000009091049092169082015290565b6040805182516fffffffffffffffffffffffffffffffff16815260208084015167ffffffffffffffff16908201529181015163ffffffff16908201526060016101be565b34801561063f57600080fd5b506101e761064e366004611b0d565b610fbb565b34801561065f57600080fd5b506105ef61066e366004611b43565b60408051606080820183526000808352602080840182905292840181905261ffff949094168452606782529282902082519384018352546fffffffffffffffffffffffffffffffff8116845267ffffffffffffffff700100000000000000000000000000000000820416918401919091527801000000000000000000000000000000000000000000000000900463ffffffff169082015290565b34801561071457600080fd5b506101e7610723366004611b0d565b61100a565b34801561073457600080fd5b506101e7610743366004611b5e565b6110c1565b6107506110d7565b606980546fffffffffffffffffffffffffffffffff928316700100000000000000000000000000000000029216919091179055565b336107a560335473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610809573360009081526066602052604090205460ff16610809576040517f320ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610950573683838381811061082757610827611b88565b60800291909101915061094790506108426020830183611b28565b61085436849003840160208501611bcf565b805160208083015160409384015184516060810186526fffffffffffffffffffffffffffffffff948516815267ffffffffffffffff92831681850190815263ffffffff9283168288019081529783166000908152606790955295909320925183549551965194167fffffffffffffffff000000000000000000000000000000000000000000000000909516949094177001000000000000000000000000000000009590911694909402939093177fffffffff00000000ffffffffffffffffffffffffffffffffffffffffffffffff1678010000000000000000000000000000000000000000000000009190921602179055565b5060010161080c565b505050565b61095d6110d7565b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260666020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b336109d360335473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610a37573360009081526066602052604090205460ff16610a37576040517f320ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606980547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055565b610a826110d7565b610a8c6000611158565b565b6000808461ffff16606e1480610aa957508461ffff1661279f145b80610ab957508461ffff16614eaf145b15610ad657610acd8561ffff1685856111cf565b91509150610b21565b8461ffff16606f1480610aee57508461ffff16612794145b80610afe57508461ffff16614ea4145b15610b1257610acd8561ffff16858561132c565b610acd8561ffff1685856114dd565b935093915050565b33610b4960335473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1614610bad573360009081526066602052604090205460ff16610bad576040517f320ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bbd6108426020830183611b28565b6000610bcf60a0830160808401611c62565b90506000610be360c0840160a08501611b28565b6068805463ffffffff90921668010000000000000000027fffffffffffffffffffffffffffffffffffffffff00000000000000000000000090921667ffffffffffffffff90941693909317179091555050565b600080600080610c478787876115b2565b935093509350935093509350935093565b600080808080610c6c565b60405180910390fd5b610c778888886115b2565b94509450945094505093509350935093565b6000610cb37fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b905073ffffffffffffffffffffffffffffffffffffffff8116610d0c5773ffffffffffffffffffffffffffffffffffffffff7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355610d2e565b3373ffffffffffffffffffffffffffffffffffffffff821614610d2e57600080fd5b600054610100900460ff1615808015610d4e5750600054600160ff909116105b80610d685750303b158015610d68575060005460ff166001145b610df4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610c63565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610e5257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610e5a611689565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260666020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055606580547fffffffffffffffffffffffffffffffff000000000000000000000000000000001668056bc75e2d6310000017905560698054702f000000000000000000000000000000006fffffffffffffffffffffffffffffffff91909116179055801561095057600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b610f786110d7565b606580547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055565b610fc36110d7565b606a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6110126110d7565b73ffffffffffffffffffffffffffffffffffffffff81166110b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c63565b6110be81611158565b50565b6110c96110d7565b6110d38282611728565b5050565b60335473ffffffffffffffffffffffffffffffffffffffff163314610a8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c63565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b63ffffffff8381166000908152606760205260408120606854606954929384938492680100000000000000009004909116906064906112349070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1689611cac565b61123e9190611cf8565b6112489190611cac565b825490915060009061127c907801000000000000000000000000000000000000000000000000900463ffffffff1688611cac565b835460685491925060009167ffffffffffffffff700100000000000000000000000000000000909204821691849186916112b791168b611d0c565b6112c19190611d0c565b6112cb9190611d0c565b6112d59190611cac565b60655485549192506fffffffffffffffffffffffffffffffff908116916112fd911683611cac565b6113079190611cf8565b935493996fffffffffffffffffffffffffffffffff9094169850929650505050505050565b600080600061133a8661182e565b63ffffffff8082166000908152606760205260408120805493945092909161137f91780100000000000000000000000000000000000000000000000090041688611cac565b61138b90610c74611d0c565b82549091506000906113bb90700100000000000000000000000000000000900467ffffffffffffffff1683611cac565b63ffffffff808b16600090815260676020526040812080549394509290916114009178010000000000000000000000000000000000000000000000009004168b611cac565b8254909150600090700100000000000000000000000000000000900467ffffffffffffffff166114308b84611d0c565b61143a9190611cac565b60655487549192506000916fffffffffffffffffffffffffffffffff91821691611465911687611cac565b61146f9190611cf8565b60655485549192506000916fffffffffffffffffffffffffffffffff9182169161149a911685611cac565b6114a49190611cf8565b905060006114b28284611d0c565b9554959f6fffffffffffffffffffffffffffffffff9096169e50949c50505050505050505050505050565b63ffffffff8084166000908152606760205260408120805491928392839161152291780100000000000000000000000000000000000000000000000090041687611cac565b8254909150600090700100000000000000000000000000000000900467ffffffffffffffff166115528784611d0c565b61155c9190611cac565b60655484549192506fffffffffffffffffffffffffffffffff90811691611584911683611cac565b61158e9190611cf8565b925492986fffffffffffffffffffffffffffffffff90931697509195505050505050565b6000808080806115c461753089611d1f565b90508063ffffffff16606e14806115e257508063ffffffff1661279f145b806115f457508063ffffffff16614eaf145b1561160e576116048188886111cf565b909550935061165d565b8063ffffffff16606f148061162a57508063ffffffff16612794145b8061163c57508063ffffffff16614ea4145b1561164c5761160481888861132c565b6116578188886114dd565b90955093505b505060655460695493979296506fffffffffffffffffffffffffffffffff908116955090921692509050565b600054610100900460ff16611720576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610c63565b610a8c6118c2565b73ffffffffffffffffffffffffffffffffffffffff8216611775576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d80600081146117cf576040519150601f19603f3d011682016040523d82523d6000602084013e6117d4565b606091505b5050905080610950576040517f465bc83400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101839052604401610c63565b60008061183d61753084611d1f565b90508063ffffffff16606f036118565750606592915050565b8063ffffffff166127940361186f575061278992915050565b8063ffffffff16614ea4036118885750614e9992915050565b6040517fea25394500000000000000000000000000000000000000000000000000000000815263ffffffff82166004820152602401610c63565b600054610100900460ff16611959576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610c63565b610a8c33611158565b803563ffffffff8116811461197657600080fd5b919050565b60008060006060848603121561199057600080fd5b61199984611962565b95602085013595506040909401359392505050565b80356fffffffffffffffffffffffffffffffff8116811461197657600080fd5b6000602082840312156119e057600080fd5b6119e9826119ae565b9392505050565b60008060208385031215611a0357600080fd5b823567ffffffffffffffff80821115611a1b57600080fd5b818501915085601f830112611a2f57600080fd5b813581811115611a3e57600080fd5b8660208260071b8501011115611a5357600080fd5b60209290920196919550909350505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461197657600080fd5b60008060408385031215611a9c57600080fd5b611aa583611a65565b915060208301358015158114611aba57600080fd5b809150509250929050565b803561ffff8116811461197657600080fd5b600080600060608486031215611aec57600080fd5b61199984611ac5565b600060c08284031215611b0757600080fd5b50919050565b600060208284031215611b1f57600080fd5b6119e982611a65565b600060208284031215611b3a57600080fd5b6119e982611962565b600060208284031215611b5557600080fd5b6119e982611ac5565b60008060408385031215611b7157600080fd5b611b7a83611a65565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b803567ffffffffffffffff8116811461197657600080fd5b600060608284031215611be157600080fd5b6040516060810181811067ffffffffffffffff82111715611c2b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604052611c37836119ae565b8152611c4560208401611bb7565b6020820152611c5660408401611962565b60408201529392505050565b600060208284031215611c7457600080fd5b6119e982611bb7565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8082028115828204841417611cc357611cc3611c7d565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082611d0757611d07611cc9565b500490565b80820180821115611cc357611cc3611c7d565b600063ffffffff80841680611d3657611d36611cc9565b9216919091069291505056fea2646970667358221220150f3896450b67c96e7d5757d6c4f7c8d0906d020caff0476925b43bdd414c3b64736f6c63430008160033",
|
|
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
|
-
}
|