@layerzerolabs/lz-evm-sdk-v2 2.0.15 → 2.0.16
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/artifacts/contracts/Executor.sol/Executor.json +2 -2
- package/artifacts/contracts/ExecutorFeeLib.sol/ExecutorFeeLib.json +7 -2
- package/artifacts/contracts/interfaces/IExecutorFeeLib.sol/IExecutorFeeLib.json +5 -0
- package/deployments/avalanche-testnet/AxelarDVNAdapterFeeLib.json +10 -10
- package/deployments/avalanche-testnet/AxelarDVNAdapterFeeLib_Implementation.json +40 -40
- package/deployments/ethereum-sandbox-local/DVN.json +76 -76
- package/deployments/ethereum-sandbox-local/DVNFeeLib.json +23 -23
- package/deployments/ethereum-sandbox-local/DefaultProxyAdmin.json +258 -0
- package/deployments/ethereum-sandbox-local/EndpointV2.json +141 -150
- package/deployments/{blast-testnet/Executor_Proxy.json → ethereum-sandbox-local/EndpointV2View.json} +259 -189
- package/deployments/ethereum-sandbox-local/EndpointV2View_Implementation.json +313 -0
- package/deployments/ethereum-sandbox-local/EndpointV2View_Proxy.json +230 -0
- package/deployments/ethereum-sandbox-local/Executor.json +86 -86
- package/deployments/ethereum-sandbox-local/ExecutorFeeLib.json +38 -33
- package/deployments/ethereum-sandbox-local/ExecutorProxyAdmin.json +17 -17
- package/deployments/ethereum-sandbox-local/Executor_Implementation.json +61 -61
- package/deployments/ethereum-sandbox-local/Executor_Proxy.json +66 -66
- package/deployments/{blast-testnet/PriceFeed.json → ethereum-sandbox-local/LzExecutor.json} +275 -408
- package/deployments/ethereum-sandbox-local/LzExecutor_Implementation.json +703 -0
- package/deployments/{blast-testnet/PriceFeed_Proxy.json → ethereum-sandbox-local/LzExecutor_Proxy.json} +37 -37
- package/deployments/ethereum-sandbox-local/NonceContractMock.json +6 -6
- package/deployments/ethereum-sandbox-local/PriceFeed.json +18 -18
- package/deployments/ethereum-sandbox-local/PriceFeedProxyAdmin.json +5 -5
- package/deployments/ethereum-sandbox-local/PriceFeed_Implementation.json +44 -44
- package/deployments/ethereum-sandbox-local/PriceFeed_Proxy.json +5 -5
- package/deployments/ethereum-sandbox-local/ReceiveUln301.json +126 -98
- package/deployments/ethereum-sandbox-local/ReceiveUln301View.json +354 -0
- package/deployments/ethereum-sandbox-local/ReceiveUln301View_Implementation.json +231 -0
- package/deployments/ethereum-sandbox-local/ReceiveUln301View_Proxy.json +230 -0
- package/deployments/ethereum-sandbox-local/ReceiveUln302.json +114 -62
- package/deployments/ethereum-sandbox-local/ReceiveUln302View.json +478 -0
- package/deployments/ethereum-sandbox-local/ReceiveUln302View_Implementation.json +384 -0
- package/deployments/ethereum-sandbox-local/ReceiveUln302View_Proxy.json +230 -0
- package/deployments/ethereum-sandbox-local/SendUln301.json +112 -112
- package/deployments/ethereum-sandbox-local/SendUln302.json +109 -109
- package/deployments/ethereum-sandbox-local/SimpleMessageLib.json +23 -23
- package/deployments/ethereum-sandbox-local/Treasury.json +21 -21
- package/deployments/ethereum-sandbox-local/TreasuryFeeHandler.json +12 -12
- package/deployments/polygon-sandbox-local/DVN.json +76 -76
- package/deployments/polygon-sandbox-local/DVNFeeLib.json +23 -23
- package/deployments/polygon-sandbox-local/DefaultProxyAdmin.json +258 -0
- package/deployments/polygon-sandbox-local/EndpointV2.json +141 -150
- package/deployments/polygon-sandbox-local/EndpointV2View.json +435 -0
- package/deployments/polygon-sandbox-local/EndpointV2View_Implementation.json +313 -0
- package/deployments/polygon-sandbox-local/EndpointV2View_Proxy.json +230 -0
- package/deployments/polygon-sandbox-local/Executor.json +86 -86
- package/deployments/polygon-sandbox-local/ExecutorFeeLib.json +38 -33
- package/deployments/polygon-sandbox-local/ExecutorProxyAdmin.json +17 -17
- package/deployments/polygon-sandbox-local/Executor_Implementation.json +61 -61
- package/deployments/polygon-sandbox-local/Executor_Proxy.json +66 -66
- package/deployments/{joc-testnet/PriceFeed.json → polygon-sandbox-local/LzExecutor.json} +275 -408
- package/deployments/polygon-sandbox-local/LzExecutor_Implementation.json +703 -0
- package/deployments/{joc-testnet/PriceFeed_Proxy.json → polygon-sandbox-local/LzExecutor_Proxy.json} +37 -37
- package/deployments/polygon-sandbox-local/NonceContractMock.json +6 -6
- package/deployments/polygon-sandbox-local/PriceFeed.json +18 -18
- package/deployments/polygon-sandbox-local/PriceFeedProxyAdmin.json +5 -5
- package/deployments/polygon-sandbox-local/PriceFeed_Implementation.json +44 -44
- package/deployments/polygon-sandbox-local/PriceFeed_Proxy.json +5 -5
- package/deployments/polygon-sandbox-local/ReceiveUln301.json +126 -98
- package/deployments/polygon-sandbox-local/ReceiveUln301View.json +354 -0
- package/deployments/polygon-sandbox-local/ReceiveUln301View_Implementation.json +231 -0
- package/deployments/polygon-sandbox-local/ReceiveUln301View_Proxy.json +230 -0
- package/deployments/polygon-sandbox-local/ReceiveUln302.json +114 -62
- package/deployments/polygon-sandbox-local/ReceiveUln302View.json +478 -0
- package/deployments/polygon-sandbox-local/ReceiveUln302View_Implementation.json +384 -0
- package/deployments/polygon-sandbox-local/ReceiveUln302View_Proxy.json +230 -0
- package/deployments/polygon-sandbox-local/SendUln301.json +112 -112
- package/deployments/polygon-sandbox-local/SendUln302.json +109 -109
- package/deployments/polygon-sandbox-local/SimpleMessageLib.json +23 -23
- package/deployments/polygon-sandbox-local/Treasury.json +21 -21
- package/deployments/polygon-sandbox-local/TreasuryFeeHandler.json +12 -12
- package/dist/{index-htDjTX1I.d.mts → index-3seuukWJ.d.mts} +10 -2
- package/dist/{index-htDjTX1I.d.ts → index-3seuukWJ.d.ts} +10 -2
- package/dist/index.browser.cjs +12 -2
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.d.mts +1 -1
- package/dist/index.browser.d.ts +1 -1
- package/dist/index.browser.mjs +12 -2
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.cjs +12 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +12 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -8
- package/deployments/blast-testnet/DVN.json +0 -1929
- package/deployments/blast-testnet/DVNFeeLib.json +0 -387
- package/deployments/blast-testnet/EndpointV2.json +0 -3000
- package/deployments/blast-testnet/Executor.json +0 -1532
- package/deployments/blast-testnet/ExecutorFeeLib.json +0 -407
- package/deployments/blast-testnet/ExecutorProxyAdmin.json +0 -283
- package/deployments/blast-testnet/Executor_Implementation.json +0 -1591
- package/deployments/blast-testnet/PriceFeedProxyAdmin.json +0 -283
- package/deployments/blast-testnet/PriceFeed_Implementation.json +0 -912
- package/deployments/blast-testnet/ReceiveUln301.json +0 -1292
- package/deployments/blast-testnet/ReceiveUln302.json +0 -1006
- package/deployments/blast-testnet/SendUln301.json +0 -1569
- package/deployments/blast-testnet/SendUln302.json +0 -1527
- package/deployments/blast-testnet/Treasury.json +0 -412
- package/deployments/blast-testnet/TreasuryFeeHandler.json +0 -125
- package/deployments/joc-testnet/PriceFeedProxyAdmin.json +0 -283
- package/deployments/joc-testnet/PriceFeed_Implementation.json +0 -912
- package/deployments/rarible-mainnet/PriceFeed.json +0 -891
- package/deployments/rarible-mainnet/PriceFeedProxyAdmin.json +0 -284
- package/deployments/rarible-mainnet/PriceFeed_Implementation.json +0 -913
- package/deployments/rarible-mainnet/PriceFeed_Proxy.json +0 -245
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x050499eBdbBBc1216011dE07A48b5182c983Ae74",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"anonymous": false,
|
|
@@ -112,35 +112,18 @@
|
|
|
112
112
|
"type": "receive"
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
|
-
"inputs": [
|
|
116
|
-
|
|
117
|
-
"internalType": "uint256",
|
|
118
|
-
"name": "provided",
|
|
119
|
-
"type": "uint256"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"internalType": "uint256",
|
|
123
|
-
"name": "required",
|
|
124
|
-
"type": "uint256"
|
|
125
|
-
}
|
|
126
|
-
],
|
|
127
|
-
"name": "LZ_PriceFeed_InsufficientFee",
|
|
115
|
+
"inputs": [],
|
|
116
|
+
"name": "LzExecutor_Executed",
|
|
128
117
|
"type": "error"
|
|
129
118
|
},
|
|
130
119
|
{
|
|
131
120
|
"inputs": [],
|
|
132
|
-
"name": "
|
|
121
|
+
"name": "LzExecutor_ReceiveLibViewNotSet",
|
|
133
122
|
"type": "error"
|
|
134
123
|
},
|
|
135
124
|
{
|
|
136
|
-
"inputs": [
|
|
137
|
-
|
|
138
|
-
"internalType": "uint32",
|
|
139
|
-
"name": "l2Eid",
|
|
140
|
-
"type": "uint32"
|
|
141
|
-
}
|
|
142
|
-
],
|
|
143
|
-
"name": "LZ_PriceFeed_UnknownL2Eid",
|
|
125
|
+
"inputs": [],
|
|
126
|
+
"name": "LzExecutor_Verifying",
|
|
144
127
|
"type": "error"
|
|
145
128
|
},
|
|
146
129
|
{
|
|
@@ -177,6 +160,25 @@
|
|
|
177
160
|
"name": "Initialized",
|
|
178
161
|
"type": "event"
|
|
179
162
|
},
|
|
163
|
+
{
|
|
164
|
+
"anonymous": false,
|
|
165
|
+
"inputs": [
|
|
166
|
+
{
|
|
167
|
+
"indexed": false,
|
|
168
|
+
"internalType": "address",
|
|
169
|
+
"name": "_to",
|
|
170
|
+
"type": "address"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"indexed": false,
|
|
174
|
+
"internalType": "uint256",
|
|
175
|
+
"name": "_amount",
|
|
176
|
+
"type": "uint256"
|
|
177
|
+
}
|
|
178
|
+
],
|
|
179
|
+
"name": "NativeWithdrawn",
|
|
180
|
+
"type": "event"
|
|
181
|
+
},
|
|
180
182
|
{
|
|
181
183
|
"anonymous": false,
|
|
182
184
|
"inputs": [
|
|
@@ -197,129 +199,45 @@
|
|
|
197
199
|
"type": "event"
|
|
198
200
|
},
|
|
199
201
|
{
|
|
200
|
-
"
|
|
201
|
-
"
|
|
202
|
-
"outputs": [
|
|
202
|
+
"anonymous": false,
|
|
203
|
+
"inputs": [
|
|
203
204
|
{
|
|
204
|
-
"
|
|
205
|
-
"
|
|
206
|
-
"
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
"stateMutability": "view",
|
|
210
|
-
"type": "function"
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"inputs": [],
|
|
214
|
-
"name": "arbitrumPriceExt",
|
|
215
|
-
"outputs": [
|
|
205
|
+
"indexed": false,
|
|
206
|
+
"internalType": "address",
|
|
207
|
+
"name": "_receiveLib",
|
|
208
|
+
"type": "address"
|
|
209
|
+
},
|
|
216
210
|
{
|
|
217
|
-
"
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
"type": "uint64"
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"internalType": "uint32",
|
|
225
|
-
"name": "gasPerL1CallDataByte",
|
|
226
|
-
"type": "uint32"
|
|
227
|
-
}
|
|
228
|
-
],
|
|
229
|
-
"internalType": "struct ILayerZeroPriceFeed.ArbitrumPriceExt",
|
|
230
|
-
"name": "",
|
|
231
|
-
"type": "tuple"
|
|
211
|
+
"indexed": false,
|
|
212
|
+
"internalType": "address",
|
|
213
|
+
"name": "_receiveLibView",
|
|
214
|
+
"type": "address"
|
|
232
215
|
}
|
|
233
216
|
],
|
|
234
|
-
"
|
|
235
|
-
"type": "
|
|
217
|
+
"name": "ReceiveLibViewSet",
|
|
218
|
+
"type": "event"
|
|
236
219
|
},
|
|
237
220
|
{
|
|
238
221
|
"inputs": [],
|
|
239
|
-
"name": "
|
|
222
|
+
"name": "EMPTY_PAYLOAD_HASH",
|
|
240
223
|
"outputs": [
|
|
241
224
|
{
|
|
242
|
-
"internalType": "
|
|
225
|
+
"internalType": "bytes32",
|
|
243
226
|
"name": "",
|
|
244
|
-
"type": "
|
|
245
|
-
}
|
|
246
|
-
],
|
|
247
|
-
"stateMutability": "view",
|
|
248
|
-
"type": "function"
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
"inputs": [
|
|
252
|
-
{
|
|
253
|
-
"internalType": "uint16",
|
|
254
|
-
"name": "_dstEid",
|
|
255
|
-
"type": "uint16"
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
"internalType": "uint256",
|
|
259
|
-
"name": "_callDataSize",
|
|
260
|
-
"type": "uint256"
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"internalType": "uint256",
|
|
264
|
-
"name": "_gas",
|
|
265
|
-
"type": "uint256"
|
|
266
|
-
}
|
|
267
|
-
],
|
|
268
|
-
"name": "estimateFeeByChain",
|
|
269
|
-
"outputs": [
|
|
270
|
-
{
|
|
271
|
-
"internalType": "uint256",
|
|
272
|
-
"name": "fee",
|
|
273
|
-
"type": "uint256"
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
"internalType": "uint128",
|
|
277
|
-
"name": "priceRatio",
|
|
278
|
-
"type": "uint128"
|
|
227
|
+
"type": "bytes32"
|
|
279
228
|
}
|
|
280
229
|
],
|
|
281
230
|
"stateMutability": "view",
|
|
282
231
|
"type": "function"
|
|
283
232
|
},
|
|
284
233
|
{
|
|
285
|
-
"inputs": [
|
|
286
|
-
|
|
287
|
-
"internalType": "uint32",
|
|
288
|
-
"name": "_dstEid",
|
|
289
|
-
"type": "uint32"
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
"internalType": "uint256",
|
|
293
|
-
"name": "_callDataSize",
|
|
294
|
-
"type": "uint256"
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
"internalType": "uint256",
|
|
298
|
-
"name": "_gas",
|
|
299
|
-
"type": "uint256"
|
|
300
|
-
}
|
|
301
|
-
],
|
|
302
|
-
"name": "estimateFeeByEid",
|
|
234
|
+
"inputs": [],
|
|
235
|
+
"name": "NIL_PAYLOAD_HASH",
|
|
303
236
|
"outputs": [
|
|
304
237
|
{
|
|
305
|
-
"internalType": "
|
|
306
|
-
"name": "",
|
|
307
|
-
"type": "uint256"
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
"internalType": "uint128",
|
|
311
|
-
"name": "",
|
|
312
|
-
"type": "uint128"
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
"internalType": "uint128",
|
|
238
|
+
"internalType": "bytes32",
|
|
316
239
|
"name": "",
|
|
317
|
-
"type": "
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
"internalType": "uint128",
|
|
321
|
-
"name": "",
|
|
322
|
-
"type": "uint128"
|
|
240
|
+
"type": "bytes32"
|
|
323
241
|
}
|
|
324
242
|
],
|
|
325
243
|
"stateMutability": "view",
|
|
@@ -328,107 +246,141 @@
|
|
|
328
246
|
{
|
|
329
247
|
"inputs": [
|
|
330
248
|
{
|
|
331
|
-
"internalType": "
|
|
332
|
-
"name": "
|
|
333
|
-
"type": "
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
"internalType": "uint256",
|
|
337
|
-
"name": "_callDataSize",
|
|
338
|
-
"type": "uint256"
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
"internalType": "uint256",
|
|
342
|
-
"name": "_gas",
|
|
343
|
-
"type": "uint256"
|
|
344
|
-
}
|
|
345
|
-
],
|
|
346
|
-
"name": "estimateFeeOnSend",
|
|
347
|
-
"outputs": [
|
|
348
|
-
{
|
|
349
|
-
"internalType": "uint256",
|
|
350
|
-
"name": "",
|
|
351
|
-
"type": "uint256"
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
"internalType": "uint128",
|
|
355
|
-
"name": "",
|
|
356
|
-
"type": "uint128"
|
|
249
|
+
"internalType": "address",
|
|
250
|
+
"name": "_receiveLib",
|
|
251
|
+
"type": "address"
|
|
357
252
|
},
|
|
358
253
|
{
|
|
359
|
-
"
|
|
360
|
-
|
|
361
|
-
|
|
254
|
+
"components": [
|
|
255
|
+
{
|
|
256
|
+
"components": [
|
|
257
|
+
{
|
|
258
|
+
"internalType": "uint32",
|
|
259
|
+
"name": "srcEid",
|
|
260
|
+
"type": "uint32"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"internalType": "bytes32",
|
|
264
|
+
"name": "sender",
|
|
265
|
+
"type": "bytes32"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"internalType": "uint64",
|
|
269
|
+
"name": "nonce",
|
|
270
|
+
"type": "uint64"
|
|
271
|
+
}
|
|
272
|
+
],
|
|
273
|
+
"internalType": "struct Origin",
|
|
274
|
+
"name": "origin",
|
|
275
|
+
"type": "tuple"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"internalType": "address",
|
|
279
|
+
"name": "receiver",
|
|
280
|
+
"type": "address"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"internalType": "bytes32",
|
|
284
|
+
"name": "guid",
|
|
285
|
+
"type": "bytes32"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"internalType": "bytes",
|
|
289
|
+
"name": "message",
|
|
290
|
+
"type": "bytes"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"internalType": "bytes",
|
|
294
|
+
"name": "extraData",
|
|
295
|
+
"type": "bytes"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"internalType": "uint256",
|
|
299
|
+
"name": "gas",
|
|
300
|
+
"type": "uint256"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"internalType": "uint256",
|
|
304
|
+
"name": "value",
|
|
305
|
+
"type": "uint256"
|
|
306
|
+
}
|
|
307
|
+
],
|
|
308
|
+
"internalType": "struct LzReceiveParam",
|
|
309
|
+
"name": "_lzReceiveParam",
|
|
310
|
+
"type": "tuple"
|
|
362
311
|
},
|
|
363
312
|
{
|
|
364
|
-
"
|
|
365
|
-
|
|
366
|
-
|
|
313
|
+
"components": [
|
|
314
|
+
{
|
|
315
|
+
"internalType": "address",
|
|
316
|
+
"name": "_receiver",
|
|
317
|
+
"type": "address"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"internalType": "uint256",
|
|
321
|
+
"name": "_amount",
|
|
322
|
+
"type": "uint256"
|
|
323
|
+
}
|
|
324
|
+
],
|
|
325
|
+
"internalType": "struct NativeDropParam[]",
|
|
326
|
+
"name": "_nativeDropParams",
|
|
327
|
+
"type": "tuple[]"
|
|
367
328
|
}
|
|
368
329
|
],
|
|
330
|
+
"name": "commitAndExecute",
|
|
331
|
+
"outputs": [],
|
|
369
332
|
"stateMutability": "payable",
|
|
370
333
|
"type": "function"
|
|
371
334
|
},
|
|
372
335
|
{
|
|
373
|
-
"inputs": [
|
|
374
|
-
|
|
375
|
-
"internalType": "uint32",
|
|
376
|
-
"name": "",
|
|
377
|
-
"type": "uint32"
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
"internalType": "uint256",
|
|
381
|
-
"name": "",
|
|
382
|
-
"type": "uint256"
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
"internalType": "uint256",
|
|
386
|
-
"name": "",
|
|
387
|
-
"type": "uint256"
|
|
388
|
-
}
|
|
389
|
-
],
|
|
390
|
-
"name": "getFee",
|
|
336
|
+
"inputs": [],
|
|
337
|
+
"name": "endpoint",
|
|
391
338
|
"outputs": [
|
|
392
339
|
{
|
|
393
|
-
"internalType": "
|
|
340
|
+
"internalType": "contract ILayerZeroEndpointV2",
|
|
394
341
|
"name": "",
|
|
395
|
-
"type": "
|
|
342
|
+
"type": "address"
|
|
396
343
|
}
|
|
397
344
|
],
|
|
398
|
-
"stateMutability": "
|
|
345
|
+
"stateMutability": "view",
|
|
399
346
|
"type": "function"
|
|
400
347
|
},
|
|
401
348
|
{
|
|
402
349
|
"inputs": [
|
|
403
|
-
{
|
|
404
|
-
"internalType": "uint32",
|
|
405
|
-
"name": "_dstEid",
|
|
406
|
-
"type": "uint32"
|
|
407
|
-
}
|
|
408
|
-
],
|
|
409
|
-
"name": "getPrice",
|
|
410
|
-
"outputs": [
|
|
411
350
|
{
|
|
412
351
|
"components": [
|
|
413
352
|
{
|
|
414
|
-
"internalType": "
|
|
415
|
-
"name": "
|
|
416
|
-
"type": "
|
|
353
|
+
"internalType": "uint32",
|
|
354
|
+
"name": "srcEid",
|
|
355
|
+
"type": "uint32"
|
|
417
356
|
},
|
|
418
357
|
{
|
|
419
|
-
"internalType": "
|
|
420
|
-
"name": "
|
|
421
|
-
"type": "
|
|
358
|
+
"internalType": "bytes32",
|
|
359
|
+
"name": "sender",
|
|
360
|
+
"type": "bytes32"
|
|
422
361
|
},
|
|
423
362
|
{
|
|
424
|
-
"internalType": "
|
|
425
|
-
"name": "
|
|
426
|
-
"type": "
|
|
363
|
+
"internalType": "uint64",
|
|
364
|
+
"name": "nonce",
|
|
365
|
+
"type": "uint64"
|
|
427
366
|
}
|
|
428
367
|
],
|
|
429
|
-
"internalType": "struct
|
|
430
|
-
"name": "
|
|
368
|
+
"internalType": "struct Origin",
|
|
369
|
+
"name": "_origin",
|
|
431
370
|
"type": "tuple"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"internalType": "address",
|
|
374
|
+
"name": "_receiver",
|
|
375
|
+
"type": "address"
|
|
376
|
+
}
|
|
377
|
+
],
|
|
378
|
+
"name": "executable",
|
|
379
|
+
"outputs": [
|
|
380
|
+
{
|
|
381
|
+
"internalType": "enum ExecutionState",
|
|
382
|
+
"name": "",
|
|
383
|
+
"type": "uint8"
|
|
432
384
|
}
|
|
433
385
|
],
|
|
434
386
|
"stateMutability": "view",
|
|
@@ -436,48 +388,40 @@
|
|
|
436
388
|
},
|
|
437
389
|
{
|
|
438
390
|
"inputs": [
|
|
439
|
-
{
|
|
440
|
-
"internalType": "uint16",
|
|
441
|
-
"name": "_dstEid",
|
|
442
|
-
"type": "uint16"
|
|
443
|
-
}
|
|
444
|
-
],
|
|
445
|
-
"name": "getPrice",
|
|
446
|
-
"outputs": [
|
|
447
391
|
{
|
|
448
392
|
"components": [
|
|
449
393
|
{
|
|
450
|
-
"internalType": "
|
|
451
|
-
"name": "
|
|
452
|
-
"type": "
|
|
394
|
+
"internalType": "uint32",
|
|
395
|
+
"name": "srcEid",
|
|
396
|
+
"type": "uint32"
|
|
453
397
|
},
|
|
454
398
|
{
|
|
455
|
-
"internalType": "
|
|
456
|
-
"name": "
|
|
457
|
-
"type": "
|
|
399
|
+
"internalType": "bytes32",
|
|
400
|
+
"name": "sender",
|
|
401
|
+
"type": "bytes32"
|
|
458
402
|
},
|
|
459
403
|
{
|
|
460
|
-
"internalType": "
|
|
461
|
-
"name": "
|
|
462
|
-
"type": "
|
|
404
|
+
"internalType": "uint64",
|
|
405
|
+
"name": "nonce",
|
|
406
|
+
"type": "uint64"
|
|
463
407
|
}
|
|
464
408
|
],
|
|
465
|
-
"internalType": "struct
|
|
466
|
-
"name": "
|
|
409
|
+
"internalType": "struct Origin",
|
|
410
|
+
"name": "_origin",
|
|
467
411
|
"type": "tuple"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"internalType": "address",
|
|
415
|
+
"name": "_receiver",
|
|
416
|
+
"type": "address"
|
|
468
417
|
}
|
|
469
418
|
],
|
|
470
|
-
"
|
|
471
|
-
"type": "function"
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
"inputs": [],
|
|
475
|
-
"name": "getPriceRatioDenominator",
|
|
419
|
+
"name": "initializable",
|
|
476
420
|
"outputs": [
|
|
477
421
|
{
|
|
478
|
-
"internalType": "
|
|
422
|
+
"internalType": "bool",
|
|
479
423
|
"name": "",
|
|
480
|
-
"type": "
|
|
424
|
+
"type": "bool"
|
|
481
425
|
}
|
|
482
426
|
],
|
|
483
427
|
"stateMutability": "view",
|
|
@@ -487,7 +431,17 @@
|
|
|
487
431
|
"inputs": [
|
|
488
432
|
{
|
|
489
433
|
"internalType": "address",
|
|
490
|
-
"name": "
|
|
434
|
+
"name": "_receiveUln302",
|
|
435
|
+
"type": "address"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"internalType": "address",
|
|
439
|
+
"name": "_receiveUln302View",
|
|
440
|
+
"type": "address"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"internalType": "address",
|
|
444
|
+
"name": "_endpoint",
|
|
491
445
|
"type": "address"
|
|
492
446
|
}
|
|
493
447
|
],
|
|
@@ -498,12 +452,12 @@
|
|
|
498
452
|
},
|
|
499
453
|
{
|
|
500
454
|
"inputs": [],
|
|
501
|
-
"name": "
|
|
455
|
+
"name": "localEid",
|
|
502
456
|
"outputs": [
|
|
503
457
|
{
|
|
504
|
-
"internalType": "
|
|
458
|
+
"internalType": "uint32",
|
|
505
459
|
"name": "",
|
|
506
|
-
"type": "
|
|
460
|
+
"type": "uint32"
|
|
507
461
|
}
|
|
508
462
|
],
|
|
509
463
|
"stateMutability": "view",
|
|
@@ -526,16 +480,16 @@
|
|
|
526
480
|
"inputs": [
|
|
527
481
|
{
|
|
528
482
|
"internalType": "address",
|
|
529
|
-
"name": "
|
|
483
|
+
"name": "receiveLib",
|
|
530
484
|
"type": "address"
|
|
531
485
|
}
|
|
532
486
|
],
|
|
533
|
-
"name": "
|
|
487
|
+
"name": "receiveLibToView",
|
|
534
488
|
"outputs": [
|
|
535
489
|
{
|
|
536
|
-
"internalType": "
|
|
537
|
-
"name": "
|
|
538
|
-
"type": "
|
|
490
|
+
"internalType": "address",
|
|
491
|
+
"name": "receiveLibView",
|
|
492
|
+
"type": "address"
|
|
539
493
|
}
|
|
540
494
|
],
|
|
541
495
|
"stateMutability": "view",
|
|
@@ -543,33 +497,20 @@
|
|
|
543
497
|
},
|
|
544
498
|
{
|
|
545
499
|
"inputs": [],
|
|
546
|
-
"name": "
|
|
547
|
-
"outputs": [
|
|
548
|
-
"stateMutability": "nonpayable",
|
|
549
|
-
"type": "function"
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
"inputs": [
|
|
500
|
+
"name": "receiveUln302",
|
|
501
|
+
"outputs": [
|
|
553
502
|
{
|
|
554
|
-
"internalType": "
|
|
555
|
-
"name": "
|
|
556
|
-
"type": "
|
|
503
|
+
"internalType": "address",
|
|
504
|
+
"name": "",
|
|
505
|
+
"type": "address"
|
|
557
506
|
}
|
|
558
507
|
],
|
|
559
|
-
"
|
|
560
|
-
"outputs": [],
|
|
561
|
-
"stateMutability": "nonpayable",
|
|
508
|
+
"stateMutability": "view",
|
|
562
509
|
"type": "function"
|
|
563
510
|
},
|
|
564
511
|
{
|
|
565
|
-
"inputs": [
|
|
566
|
-
|
|
567
|
-
"internalType": "address",
|
|
568
|
-
"name": "_endpoint",
|
|
569
|
-
"type": "address"
|
|
570
|
-
}
|
|
571
|
-
],
|
|
572
|
-
"name": "setEndpoint",
|
|
512
|
+
"inputs": [],
|
|
513
|
+
"name": "renounceOwnership",
|
|
573
514
|
"outputs": [],
|
|
574
515
|
"stateMutability": "nonpayable",
|
|
575
516
|
"type": "function"
|
|
@@ -577,12 +518,17 @@
|
|
|
577
518
|
{
|
|
578
519
|
"inputs": [
|
|
579
520
|
{
|
|
580
|
-
"internalType": "
|
|
581
|
-
"name": "
|
|
582
|
-
"type": "
|
|
521
|
+
"internalType": "address",
|
|
522
|
+
"name": "_receiveLib",
|
|
523
|
+
"type": "address"
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"internalType": "address",
|
|
527
|
+
"name": "_receiveLibView",
|
|
528
|
+
"type": "address"
|
|
583
529
|
}
|
|
584
530
|
],
|
|
585
|
-
"name": "
|
|
531
|
+
"name": "setReceiveLibView",
|
|
586
532
|
"outputs": [],
|
|
587
533
|
"stateMutability": "nonpayable",
|
|
588
534
|
"type": "function"
|
|
@@ -590,41 +536,12 @@
|
|
|
590
536
|
{
|
|
591
537
|
"inputs": [
|
|
592
538
|
{
|
|
593
|
-
"
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
"name": "eid",
|
|
597
|
-
"type": "uint32"
|
|
598
|
-
},
|
|
599
|
-
{
|
|
600
|
-
"components": [
|
|
601
|
-
{
|
|
602
|
-
"internalType": "uint128",
|
|
603
|
-
"name": "priceRatio",
|
|
604
|
-
"type": "uint128"
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
"internalType": "uint64",
|
|
608
|
-
"name": "gasPriceInUnit",
|
|
609
|
-
"type": "uint64"
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
"internalType": "uint32",
|
|
613
|
-
"name": "gasPerByte",
|
|
614
|
-
"type": "uint32"
|
|
615
|
-
}
|
|
616
|
-
],
|
|
617
|
-
"internalType": "struct ILayerZeroPriceFeed.Price",
|
|
618
|
-
"name": "price",
|
|
619
|
-
"type": "tuple"
|
|
620
|
-
}
|
|
621
|
-
],
|
|
622
|
-
"internalType": "struct ILayerZeroPriceFeed.UpdatePrice[]",
|
|
623
|
-
"name": "_price",
|
|
624
|
-
"type": "tuple[]"
|
|
539
|
+
"internalType": "address",
|
|
540
|
+
"name": "newOwner",
|
|
541
|
+
"type": "address"
|
|
625
542
|
}
|
|
626
543
|
],
|
|
627
|
-
"name": "
|
|
544
|
+
"name": "transferOwnership",
|
|
628
545
|
"outputs": [],
|
|
629
546
|
"stateMutability": "nonpayable",
|
|
630
547
|
"type": "function"
|
|
@@ -635,101 +552,49 @@
|
|
|
635
552
|
"components": [
|
|
636
553
|
{
|
|
637
554
|
"internalType": "uint32",
|
|
638
|
-
"name": "
|
|
555
|
+
"name": "srcEid",
|
|
639
556
|
"type": "uint32"
|
|
640
557
|
},
|
|
641
558
|
{
|
|
642
|
-
"
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
"name": "priceRatio",
|
|
646
|
-
"type": "uint128"
|
|
647
|
-
},
|
|
648
|
-
{
|
|
649
|
-
"internalType": "uint64",
|
|
650
|
-
"name": "gasPriceInUnit",
|
|
651
|
-
"type": "uint64"
|
|
652
|
-
},
|
|
653
|
-
{
|
|
654
|
-
"internalType": "uint32",
|
|
655
|
-
"name": "gasPerByte",
|
|
656
|
-
"type": "uint32"
|
|
657
|
-
}
|
|
658
|
-
],
|
|
659
|
-
"internalType": "struct ILayerZeroPriceFeed.Price",
|
|
660
|
-
"name": "price",
|
|
661
|
-
"type": "tuple"
|
|
559
|
+
"internalType": "bytes32",
|
|
560
|
+
"name": "sender",
|
|
561
|
+
"type": "bytes32"
|
|
662
562
|
},
|
|
663
563
|
{
|
|
664
|
-
"
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
"name": "gasPerL2Tx",
|
|
668
|
-
"type": "uint64"
|
|
669
|
-
},
|
|
670
|
-
{
|
|
671
|
-
"internalType": "uint32",
|
|
672
|
-
"name": "gasPerL1CallDataByte",
|
|
673
|
-
"type": "uint32"
|
|
674
|
-
}
|
|
675
|
-
],
|
|
676
|
-
"internalType": "struct ILayerZeroPriceFeed.ArbitrumPriceExt",
|
|
677
|
-
"name": "extend",
|
|
678
|
-
"type": "tuple"
|
|
564
|
+
"internalType": "uint64",
|
|
565
|
+
"name": "nonce",
|
|
566
|
+
"type": "uint64"
|
|
679
567
|
}
|
|
680
568
|
],
|
|
681
|
-
"internalType": "struct
|
|
682
|
-
"name": "
|
|
569
|
+
"internalType": "struct Origin",
|
|
570
|
+
"name": "_origin",
|
|
683
571
|
"type": "tuple"
|
|
684
|
-
}
|
|
685
|
-
],
|
|
686
|
-
"name": "setPriceForArbitrum",
|
|
687
|
-
"outputs": [],
|
|
688
|
-
"stateMutability": "nonpayable",
|
|
689
|
-
"type": "function"
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
"inputs": [
|
|
572
|
+
},
|
|
693
573
|
{
|
|
694
|
-
"internalType": "
|
|
695
|
-
"name": "
|
|
696
|
-
"type": "
|
|
697
|
-
}
|
|
698
|
-
],
|
|
699
|
-
"name": "setPriceRatioDenominator",
|
|
700
|
-
"outputs": [],
|
|
701
|
-
"stateMutability": "nonpayable",
|
|
702
|
-
"type": "function"
|
|
703
|
-
},
|
|
704
|
-
{
|
|
705
|
-
"inputs": [
|
|
574
|
+
"internalType": "address",
|
|
575
|
+
"name": "_receiver",
|
|
576
|
+
"type": "address"
|
|
577
|
+
},
|
|
706
578
|
{
|
|
707
579
|
"internalType": "address",
|
|
708
|
-
"name": "
|
|
580
|
+
"name": "_receiveLib",
|
|
709
581
|
"type": "address"
|
|
710
582
|
},
|
|
711
583
|
{
|
|
712
|
-
"internalType": "
|
|
713
|
-
"name": "
|
|
714
|
-
"type": "
|
|
584
|
+
"internalType": "bytes32",
|
|
585
|
+
"name": "_payloadHash",
|
|
586
|
+
"type": "bytes32"
|
|
715
587
|
}
|
|
716
588
|
],
|
|
717
|
-
"name": "
|
|
718
|
-
"outputs": [
|
|
719
|
-
"stateMutability": "nonpayable",
|
|
720
|
-
"type": "function"
|
|
721
|
-
},
|
|
722
|
-
{
|
|
723
|
-
"inputs": [
|
|
589
|
+
"name": "verifiable",
|
|
590
|
+
"outputs": [
|
|
724
591
|
{
|
|
725
|
-
"internalType": "
|
|
726
|
-
"name": "
|
|
727
|
-
"type": "
|
|
592
|
+
"internalType": "bool",
|
|
593
|
+
"name": "",
|
|
594
|
+
"type": "bool"
|
|
728
595
|
}
|
|
729
596
|
],
|
|
730
|
-
"
|
|
731
|
-
"outputs": [],
|
|
732
|
-
"stateMutability": "nonpayable",
|
|
597
|
+
"stateMutability": "view",
|
|
733
598
|
"type": "function"
|
|
734
599
|
},
|
|
735
600
|
{
|
|
@@ -745,7 +610,7 @@
|
|
|
745
610
|
"type": "uint256"
|
|
746
611
|
}
|
|
747
612
|
],
|
|
748
|
-
"name": "
|
|
613
|
+
"name": "withdrawNative",
|
|
749
614
|
"outputs": [],
|
|
750
615
|
"stateMutability": "nonpayable",
|
|
751
616
|
"type": "function"
|
|
@@ -772,78 +637,78 @@
|
|
|
772
637
|
"type": "constructor"
|
|
773
638
|
}
|
|
774
639
|
],
|
|
775
|
-
"transactionHash": "
|
|
640
|
+
"transactionHash": "0xa38129647bf24b82c964e7c067e75def2a140db0b2e06856e6fcd3531bacde9b",
|
|
776
641
|
"receipt": {
|
|
777
642
|
"to": null,
|
|
778
|
-
"from": "
|
|
779
|
-
"contractAddress": "
|
|
780
|
-
"transactionIndex":
|
|
781
|
-
"gasUsed": "
|
|
782
|
-
"logsBloom": "
|
|
783
|
-
"blockHash": "
|
|
784
|
-
"transactionHash": "
|
|
643
|
+
"from": "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC",
|
|
644
|
+
"contractAddress": "0x050499eBdbBBc1216011dE07A48b5182c983Ae74",
|
|
645
|
+
"transactionIndex": 0,
|
|
646
|
+
"gasUsed": "743979",
|
|
647
|
+
"logsBloom": "0x00000000000000000000000000400000400000000000000000800000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000002000001000000000000000000000000000000000000020000000000000000000800000800800000000400000000000000400000000000000000000000000000000000000000000080800000000000800000000000000000200000000000000400000000000000000000000000000000000200000020000000000000000000040000000000000400000000000000000020000000000000000000000000000040000000000000000000000000000002000000",
|
|
648
|
+
"blockHash": "0x1d45cec3460a593d9279bdb4db65fc1ce5a0a262b980fa963027c61e957c2f7c",
|
|
649
|
+
"transactionHash": "0xa38129647bf24b82c964e7c067e75def2a140db0b2e06856e6fcd3531bacde9b",
|
|
785
650
|
"logs": [
|
|
786
651
|
{
|
|
787
|
-
"transactionIndex":
|
|
788
|
-
"blockNumber":
|
|
789
|
-
"transactionHash": "
|
|
790
|
-
"address": "
|
|
652
|
+
"transactionIndex": 0,
|
|
653
|
+
"blockNumber": 60,
|
|
654
|
+
"transactionHash": "0xa38129647bf24b82c964e7c067e75def2a140db0b2e06856e6fcd3531bacde9b",
|
|
655
|
+
"address": "0x050499eBdbBBc1216011dE07A48b5182c983Ae74",
|
|
791
656
|
"topics": [
|
|
792
657
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
793
|
-
"
|
|
658
|
+
"0x000000000000000000000000e8bbb5f22e6b3d6cd9157b8fd2b59c076e57a9fc"
|
|
794
659
|
],
|
|
795
660
|
"data": "0x",
|
|
796
661
|
"logIndex": 0,
|
|
797
|
-
"blockHash": "
|
|
662
|
+
"blockHash": "0x1d45cec3460a593d9279bdb4db65fc1ce5a0a262b980fa963027c61e957c2f7c"
|
|
798
663
|
},
|
|
799
664
|
{
|
|
800
|
-
"transactionIndex":
|
|
801
|
-
"blockNumber":
|
|
802
|
-
"transactionHash": "
|
|
803
|
-
"address": "
|
|
665
|
+
"transactionIndex": 0,
|
|
666
|
+
"blockNumber": 60,
|
|
667
|
+
"transactionHash": "0xa38129647bf24b82c964e7c067e75def2a140db0b2e06856e6fcd3531bacde9b",
|
|
668
|
+
"address": "0x050499eBdbBBc1216011dE07A48b5182c983Ae74",
|
|
804
669
|
"topics": [
|
|
805
670
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
806
671
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
807
|
-
"
|
|
672
|
+
"0x0000000000000000000000003c44cdddb6a900fa2b585dd299e03d12fa4293bc"
|
|
808
673
|
],
|
|
809
674
|
"data": "0x",
|
|
810
675
|
"logIndex": 1,
|
|
811
|
-
"blockHash": "
|
|
676
|
+
"blockHash": "0x1d45cec3460a593d9279bdb4db65fc1ce5a0a262b980fa963027c61e957c2f7c"
|
|
812
677
|
},
|
|
813
678
|
{
|
|
814
|
-
"transactionIndex":
|
|
815
|
-
"blockNumber":
|
|
816
|
-
"transactionHash": "
|
|
817
|
-
"address": "
|
|
679
|
+
"transactionIndex": 0,
|
|
680
|
+
"blockNumber": 60,
|
|
681
|
+
"transactionHash": "0xa38129647bf24b82c964e7c067e75def2a140db0b2e06856e6fcd3531bacde9b",
|
|
682
|
+
"address": "0x050499eBdbBBc1216011dE07A48b5182c983Ae74",
|
|
818
683
|
"topics": [
|
|
819
684
|
"0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
|
|
820
685
|
],
|
|
821
686
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
822
687
|
"logIndex": 2,
|
|
823
|
-
"blockHash": "
|
|
688
|
+
"blockHash": "0x1d45cec3460a593d9279bdb4db65fc1ce5a0a262b980fa963027c61e957c2f7c"
|
|
824
689
|
},
|
|
825
690
|
{
|
|
826
|
-
"transactionIndex":
|
|
827
|
-
"blockNumber":
|
|
828
|
-
"transactionHash": "
|
|
829
|
-
"address": "
|
|
691
|
+
"transactionIndex": 0,
|
|
692
|
+
"blockNumber": 60,
|
|
693
|
+
"transactionHash": "0xa38129647bf24b82c964e7c067e75def2a140db0b2e06856e6fcd3531bacde9b",
|
|
694
|
+
"address": "0x050499eBdbBBc1216011dE07A48b5182c983Ae74",
|
|
830
695
|
"topics": [
|
|
831
696
|
"0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
|
|
832
697
|
],
|
|
833
|
-
"data": "
|
|
698
|
+
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e7c2a73131dd48d8ac46dcd7ab80c8cbee5b410a",
|
|
834
699
|
"logIndex": 3,
|
|
835
|
-
"blockHash": "
|
|
700
|
+
"blockHash": "0x1d45cec3460a593d9279bdb4db65fc1ce5a0a262b980fa963027c61e957c2f7c"
|
|
836
701
|
}
|
|
837
702
|
],
|
|
838
|
-
"blockNumber":
|
|
839
|
-
"cumulativeGasUsed": "
|
|
703
|
+
"blockNumber": 60,
|
|
704
|
+
"cumulativeGasUsed": "743979",
|
|
840
705
|
"status": 1,
|
|
841
706
|
"byzantium": true
|
|
842
707
|
},
|
|
843
708
|
"args": [
|
|
844
|
-
"
|
|
845
|
-
"
|
|
846
|
-
"
|
|
709
|
+
"0xE8BBb5F22E6b3d6CD9157B8FD2b59C076e57a9Fc",
|
|
710
|
+
"0xE7C2a73131dd48D8AC46dCD7Ab80C8cbeE5b410A",
|
|
711
|
+
"0xc0c53b8b0000000000000000000000005c7c905b505f0cf40ab6600d05e677f717916f6b000000000000000000000000544eae853ea3774a8857573c6423e6db95b792580000000000000000000000000b48af34f4c854f5ae1a3d587da471fea45bad52"
|
|
847
712
|
],
|
|
848
713
|
"numDeployments": 1,
|
|
849
714
|
"solcInputHash": "0e89febeebc7444140de8e67c9067d2c",
|
|
@@ -852,10 +717,12 @@
|
|
|
852
717
|
"execute": {
|
|
853
718
|
"methodName": "initialize",
|
|
854
719
|
"args": [
|
|
855
|
-
"
|
|
720
|
+
"0x5C7c905B505f0Cf40Ab6600d05e677F717916F6B",
|
|
721
|
+
"0x544eAe853EA3774A8857573C6423E6Db95b79258",
|
|
722
|
+
"0x0b48aF34f4c854F5ae1A3D587da471FeA45bAD52"
|
|
856
723
|
]
|
|
857
724
|
},
|
|
858
|
-
"implementation": "
|
|
725
|
+
"implementation": "0xE8BBb5F22E6b3d6CD9157B8FD2b59C076e57a9Fc",
|
|
859
726
|
"devdoc": {
|
|
860
727
|
"details": "This contract implements a proxy that is upgradeable by an admin. To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector clashing], which can potentially be used in an attack, this contract uses the https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two things that go hand in hand: 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if that call matches one of the admin functions exposed by the proxy itself. 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the implementation. If the admin tries to call a function on the implementation it will fail with an error that says \"admin cannot fallback to proxy target\". These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due to sudden errors when trying to call a function from the proxy implementation. Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way, you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.",
|
|
861
728
|
"kind": "dev",
|