@layerzerolabs/lz-evm-sdk-v2 2.0.16 → 2.0.17
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 +2 -7
- package/artifacts/contracts/interfaces/IExecutorFeeLib.sol/IExecutorFeeLib.json +0 -5
- package/deployments/avalanche-testnet/AxelarDVNAdapterFeeLib.json +10 -10
- package/deployments/avalanche-testnet/AxelarDVNAdapterFeeLib_Implementation.json +40 -40
- package/deployments/blast-testnet/DVN.json +1929 -0
- package/deployments/blast-testnet/DVNFeeLib.json +387 -0
- package/deployments/blast-testnet/EndpointV2.json +3000 -0
- package/deployments/blast-testnet/Executor.json +1532 -0
- package/deployments/blast-testnet/ExecutorFeeLib.json +407 -0
- package/deployments/blast-testnet/ExecutorProxyAdmin.json +283 -0
- package/deployments/blast-testnet/Executor_Implementation.json +1591 -0
- package/deployments/{ethereum-sandbox-local/ReceiveUln301View.json → blast-testnet/Executor_Proxy.json} +189 -178
- package/deployments/{polygon-sandbox-local/LzExecutor.json → blast-testnet/PriceFeed.json} +408 -275
- package/deployments/blast-testnet/PriceFeedProxyAdmin.json +283 -0
- package/deployments/blast-testnet/PriceFeed_Implementation.json +912 -0
- package/deployments/{ethereum-sandbox-local/LzExecutor_Proxy.json → blast-testnet/PriceFeed_Proxy.json} +37 -37
- package/deployments/blast-testnet/ReceiveUln301.json +1292 -0
- package/deployments/blast-testnet/ReceiveUln302.json +1006 -0
- package/deployments/blast-testnet/SendUln301.json +1569 -0
- package/deployments/blast-testnet/SendUln302.json +1527 -0
- package/deployments/blast-testnet/Treasury.json +412 -0
- package/deployments/blast-testnet/TreasuryFeeHandler.json +125 -0
- package/deployments/ethereum-sandbox-local/DVN.json +76 -76
- package/deployments/ethereum-sandbox-local/DVNFeeLib.json +23 -23
- package/deployments/ethereum-sandbox-local/EndpointV2.json +150 -141
- package/deployments/ethereum-sandbox-local/Executor.json +86 -86
- package/deployments/ethereum-sandbox-local/ExecutorFeeLib.json +33 -38
- 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/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 +98 -126
- package/deployments/ethereum-sandbox-local/ReceiveUln302.json +62 -114
- 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/{ethereum-sandbox-local/LzExecutor.json → joc-testnet/PriceFeed.json} +408 -275
- package/deployments/joc-testnet/PriceFeedProxyAdmin.json +283 -0
- package/deployments/joc-testnet/PriceFeed_Implementation.json +912 -0
- package/deployments/{polygon-sandbox-local/LzExecutor_Proxy.json → joc-testnet/PriceFeed_Proxy.json} +37 -37
- package/deployments/polygon-sandbox-local/DVN.json +76 -76
- package/deployments/polygon-sandbox-local/DVNFeeLib.json +23 -23
- package/deployments/polygon-sandbox-local/EndpointV2.json +150 -141
- package/deployments/polygon-sandbox-local/Executor.json +86 -86
- package/deployments/polygon-sandbox-local/ExecutorFeeLib.json +33 -38
- 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/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 +98 -126
- package/deployments/polygon-sandbox-local/ReceiveUln302.json +62 -114
- 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/deployments/rarible-mainnet/PriceFeed.json +891 -0
- package/deployments/rarible-mainnet/PriceFeedProxyAdmin.json +284 -0
- package/deployments/rarible-mainnet/PriceFeed_Implementation.json +913 -0
- package/deployments/rarible-mainnet/PriceFeed_Proxy.json +245 -0
- package/dist/{index-3seuukWJ.d.mts → index-htDjTX1I.d.mts} +2 -10
- package/dist/{index-3seuukWJ.d.ts → index-htDjTX1I.d.ts} +2 -10
- package/dist/index.browser.cjs +2 -12
- 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 +2 -12
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.cjs +2 -12
- 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 +2 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -8
- package/deployments/ethereum-sandbox-local/DefaultProxyAdmin.json +0 -258
- package/deployments/ethereum-sandbox-local/EndpointV2View.json +0 -435
- package/deployments/ethereum-sandbox-local/EndpointV2View_Implementation.json +0 -313
- package/deployments/ethereum-sandbox-local/EndpointV2View_Proxy.json +0 -230
- package/deployments/ethereum-sandbox-local/LzExecutor_Implementation.json +0 -703
- package/deployments/ethereum-sandbox-local/ReceiveUln301View_Implementation.json +0 -231
- package/deployments/ethereum-sandbox-local/ReceiveUln301View_Proxy.json +0 -230
- package/deployments/ethereum-sandbox-local/ReceiveUln302View.json +0 -478
- package/deployments/ethereum-sandbox-local/ReceiveUln302View_Implementation.json +0 -384
- package/deployments/ethereum-sandbox-local/ReceiveUln302View_Proxy.json +0 -230
- package/deployments/polygon-sandbox-local/DefaultProxyAdmin.json +0 -258
- package/deployments/polygon-sandbox-local/EndpointV2View.json +0 -435
- package/deployments/polygon-sandbox-local/EndpointV2View_Implementation.json +0 -313
- package/deployments/polygon-sandbox-local/EndpointV2View_Proxy.json +0 -230
- package/deployments/polygon-sandbox-local/LzExecutor_Implementation.json +0 -703
- package/deployments/polygon-sandbox-local/ReceiveUln301View.json +0 -354
- package/deployments/polygon-sandbox-local/ReceiveUln301View_Implementation.json +0 -231
- package/deployments/polygon-sandbox-local/ReceiveUln301View_Proxy.json +0 -230
- package/deployments/polygon-sandbox-local/ReceiveUln302View.json +0 -478
- package/deployments/polygon-sandbox-local/ReceiveUln302View_Implementation.json +0 -384
- package/deployments/polygon-sandbox-local/ReceiveUln302View_Proxy.json +0 -230
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x8b14D287B4150Ff22Ac73DF8BE720e933f659abc",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"anonymous": false,
|
|
@@ -112,18 +112,35 @@
|
|
|
112
112
|
"type": "receive"
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
|
-
"inputs": [
|
|
116
|
-
|
|
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",
|
|
117
128
|
"type": "error"
|
|
118
129
|
},
|
|
119
130
|
{
|
|
120
131
|
"inputs": [],
|
|
121
|
-
"name": "
|
|
132
|
+
"name": "LZ_PriceFeed_OnlyPriceUpdater",
|
|
122
133
|
"type": "error"
|
|
123
134
|
},
|
|
124
135
|
{
|
|
125
|
-
"inputs": [
|
|
126
|
-
|
|
136
|
+
"inputs": [
|
|
137
|
+
{
|
|
138
|
+
"internalType": "uint32",
|
|
139
|
+
"name": "l2Eid",
|
|
140
|
+
"type": "uint32"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"name": "LZ_PriceFeed_UnknownL2Eid",
|
|
127
144
|
"type": "error"
|
|
128
145
|
},
|
|
129
146
|
{
|
|
@@ -160,25 +177,6 @@
|
|
|
160
177
|
"name": "Initialized",
|
|
161
178
|
"type": "event"
|
|
162
179
|
},
|
|
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
|
-
},
|
|
182
180
|
{
|
|
183
181
|
"anonymous": false,
|
|
184
182
|
"inputs": [
|
|
@@ -199,32 +197,38 @@
|
|
|
199
197
|
"type": "event"
|
|
200
198
|
},
|
|
201
199
|
{
|
|
202
|
-
"
|
|
203
|
-
"
|
|
204
|
-
|
|
205
|
-
"indexed": false,
|
|
206
|
-
"internalType": "address",
|
|
207
|
-
"name": "_receiveLib",
|
|
208
|
-
"type": "address"
|
|
209
|
-
},
|
|
200
|
+
"inputs": [],
|
|
201
|
+
"name": "ARBITRUM_COMPRESSION_PERCENT",
|
|
202
|
+
"outputs": [
|
|
210
203
|
{
|
|
211
|
-
"
|
|
212
|
-
"
|
|
213
|
-
"
|
|
214
|
-
"type": "address"
|
|
204
|
+
"internalType": "uint128",
|
|
205
|
+
"name": "",
|
|
206
|
+
"type": "uint128"
|
|
215
207
|
}
|
|
216
208
|
],
|
|
217
|
-
"
|
|
218
|
-
"type": "
|
|
209
|
+
"stateMutability": "view",
|
|
210
|
+
"type": "function"
|
|
219
211
|
},
|
|
220
212
|
{
|
|
221
213
|
"inputs": [],
|
|
222
|
-
"name": "
|
|
214
|
+
"name": "arbitrumPriceExt",
|
|
223
215
|
"outputs": [
|
|
224
216
|
{
|
|
225
|
-
"
|
|
217
|
+
"components": [
|
|
218
|
+
{
|
|
219
|
+
"internalType": "uint64",
|
|
220
|
+
"name": "gasPerL2Tx",
|
|
221
|
+
"type": "uint64"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"internalType": "uint32",
|
|
225
|
+
"name": "gasPerL1CallDataByte",
|
|
226
|
+
"type": "uint32"
|
|
227
|
+
}
|
|
228
|
+
],
|
|
229
|
+
"internalType": "struct ILayerZeroPriceFeed.ArbitrumPriceExt",
|
|
226
230
|
"name": "",
|
|
227
|
-
"type": "
|
|
231
|
+
"type": "tuple"
|
|
228
232
|
}
|
|
229
233
|
],
|
|
230
234
|
"stateMutability": "view",
|
|
@@ -232,12 +236,12 @@
|
|
|
232
236
|
},
|
|
233
237
|
{
|
|
234
238
|
"inputs": [],
|
|
235
|
-
"name": "
|
|
239
|
+
"name": "endpoint",
|
|
236
240
|
"outputs": [
|
|
237
241
|
{
|
|
238
|
-
"internalType": "
|
|
242
|
+
"internalType": "contract ILayerZeroEndpointV2",
|
|
239
243
|
"name": "",
|
|
240
|
-
"type": "
|
|
244
|
+
"type": "address"
|
|
241
245
|
}
|
|
242
246
|
],
|
|
243
247
|
"stateMutability": "view",
|
|
@@ -246,100 +250,76 @@
|
|
|
246
250
|
{
|
|
247
251
|
"inputs": [
|
|
248
252
|
{
|
|
249
|
-
"internalType": "
|
|
250
|
-
"name": "
|
|
251
|
-
"type": "
|
|
253
|
+
"internalType": "uint16",
|
|
254
|
+
"name": "_dstEid",
|
|
255
|
+
"type": "uint16"
|
|
252
256
|
},
|
|
253
257
|
{
|
|
254
|
-
"
|
|
255
|
-
|
|
256
|
-
|
|
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"
|
|
258
|
+
"internalType": "uint256",
|
|
259
|
+
"name": "_callDataSize",
|
|
260
|
+
"type": "uint256"
|
|
311
261
|
},
|
|
312
262
|
{
|
|
313
|
-
"
|
|
314
|
-
|
|
315
|
-
|
|
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[]"
|
|
263
|
+
"internalType": "uint256",
|
|
264
|
+
"name": "_gas",
|
|
265
|
+
"type": "uint256"
|
|
328
266
|
}
|
|
329
267
|
],
|
|
330
|
-
"name": "
|
|
331
|
-
"outputs": [
|
|
332
|
-
|
|
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"
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
"stateMutability": "view",
|
|
333
282
|
"type": "function"
|
|
334
283
|
},
|
|
335
284
|
{
|
|
336
|
-
"inputs": [
|
|
337
|
-
|
|
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",
|
|
338
303
|
"outputs": [
|
|
339
304
|
{
|
|
340
|
-
"internalType": "
|
|
305
|
+
"internalType": "uint256",
|
|
341
306
|
"name": "",
|
|
342
|
-
"type": "
|
|
307
|
+
"type": "uint256"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"internalType": "uint128",
|
|
311
|
+
"name": "",
|
|
312
|
+
"type": "uint128"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"internalType": "uint128",
|
|
316
|
+
"name": "",
|
|
317
|
+
"type": "uint128"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"internalType": "uint128",
|
|
321
|
+
"name": "",
|
|
322
|
+
"type": "uint128"
|
|
343
323
|
}
|
|
344
324
|
],
|
|
345
325
|
"stateMutability": "view",
|
|
@@ -348,80 +328,156 @@
|
|
|
348
328
|
{
|
|
349
329
|
"inputs": [
|
|
350
330
|
{
|
|
351
|
-
"
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
"name": "srcEid",
|
|
355
|
-
"type": "uint32"
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
"internalType": "bytes32",
|
|
359
|
-
"name": "sender",
|
|
360
|
-
"type": "bytes32"
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
"internalType": "uint64",
|
|
364
|
-
"name": "nonce",
|
|
365
|
-
"type": "uint64"
|
|
366
|
-
}
|
|
367
|
-
],
|
|
368
|
-
"internalType": "struct Origin",
|
|
369
|
-
"name": "_origin",
|
|
370
|
-
"type": "tuple"
|
|
331
|
+
"internalType": "uint32",
|
|
332
|
+
"name": "_dstEid",
|
|
333
|
+
"type": "uint32"
|
|
371
334
|
},
|
|
372
335
|
{
|
|
373
|
-
"internalType": "
|
|
374
|
-
"name": "
|
|
375
|
-
"type": "
|
|
336
|
+
"internalType": "uint256",
|
|
337
|
+
"name": "_callDataSize",
|
|
338
|
+
"type": "uint256"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"internalType": "uint256",
|
|
342
|
+
"name": "_gas",
|
|
343
|
+
"type": "uint256"
|
|
376
344
|
}
|
|
377
345
|
],
|
|
378
|
-
"name": "
|
|
346
|
+
"name": "estimateFeeOnSend",
|
|
379
347
|
"outputs": [
|
|
380
348
|
{
|
|
381
|
-
"internalType": "
|
|
349
|
+
"internalType": "uint256",
|
|
382
350
|
"name": "",
|
|
383
|
-
"type": "
|
|
351
|
+
"type": "uint256"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"internalType": "uint128",
|
|
355
|
+
"name": "",
|
|
356
|
+
"type": "uint128"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"internalType": "uint128",
|
|
360
|
+
"name": "",
|
|
361
|
+
"type": "uint128"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"internalType": "uint128",
|
|
365
|
+
"name": "",
|
|
366
|
+
"type": "uint128"
|
|
384
367
|
}
|
|
385
368
|
],
|
|
386
|
-
"stateMutability": "
|
|
369
|
+
"stateMutability": "payable",
|
|
370
|
+
"type": "function"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
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",
|
|
391
|
+
"outputs": [
|
|
392
|
+
{
|
|
393
|
+
"internalType": "uint256",
|
|
394
|
+
"name": "",
|
|
395
|
+
"type": "uint256"
|
|
396
|
+
}
|
|
397
|
+
],
|
|
398
|
+
"stateMutability": "pure",
|
|
387
399
|
"type": "function"
|
|
388
400
|
},
|
|
389
401
|
{
|
|
390
402
|
"inputs": [
|
|
403
|
+
{
|
|
404
|
+
"internalType": "uint32",
|
|
405
|
+
"name": "_dstEid",
|
|
406
|
+
"type": "uint32"
|
|
407
|
+
}
|
|
408
|
+
],
|
|
409
|
+
"name": "getPrice",
|
|
410
|
+
"outputs": [
|
|
391
411
|
{
|
|
392
412
|
"components": [
|
|
413
|
+
{
|
|
414
|
+
"internalType": "uint128",
|
|
415
|
+
"name": "priceRatio",
|
|
416
|
+
"type": "uint128"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"internalType": "uint64",
|
|
420
|
+
"name": "gasPriceInUnit",
|
|
421
|
+
"type": "uint64"
|
|
422
|
+
},
|
|
393
423
|
{
|
|
394
424
|
"internalType": "uint32",
|
|
395
|
-
"name": "
|
|
425
|
+
"name": "gasPerByte",
|
|
396
426
|
"type": "uint32"
|
|
397
|
-
}
|
|
427
|
+
}
|
|
428
|
+
],
|
|
429
|
+
"internalType": "struct ILayerZeroPriceFeed.Price",
|
|
430
|
+
"name": "price",
|
|
431
|
+
"type": "tuple"
|
|
432
|
+
}
|
|
433
|
+
],
|
|
434
|
+
"stateMutability": "view",
|
|
435
|
+
"type": "function"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"inputs": [
|
|
439
|
+
{
|
|
440
|
+
"internalType": "uint16",
|
|
441
|
+
"name": "_dstEid",
|
|
442
|
+
"type": "uint16"
|
|
443
|
+
}
|
|
444
|
+
],
|
|
445
|
+
"name": "getPrice",
|
|
446
|
+
"outputs": [
|
|
447
|
+
{
|
|
448
|
+
"components": [
|
|
398
449
|
{
|
|
399
|
-
"internalType": "
|
|
400
|
-
"name": "
|
|
401
|
-
"type": "
|
|
450
|
+
"internalType": "uint128",
|
|
451
|
+
"name": "priceRatio",
|
|
452
|
+
"type": "uint128"
|
|
402
453
|
},
|
|
403
454
|
{
|
|
404
455
|
"internalType": "uint64",
|
|
405
|
-
"name": "
|
|
456
|
+
"name": "gasPriceInUnit",
|
|
406
457
|
"type": "uint64"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"internalType": "uint32",
|
|
461
|
+
"name": "gasPerByte",
|
|
462
|
+
"type": "uint32"
|
|
407
463
|
}
|
|
408
464
|
],
|
|
409
|
-
"internalType": "struct
|
|
410
|
-
"name": "
|
|
465
|
+
"internalType": "struct ILayerZeroPriceFeed.Price",
|
|
466
|
+
"name": "price",
|
|
411
467
|
"type": "tuple"
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
"internalType": "address",
|
|
415
|
-
"name": "_receiver",
|
|
416
|
-
"type": "address"
|
|
417
468
|
}
|
|
418
469
|
],
|
|
419
|
-
"
|
|
470
|
+
"stateMutability": "view",
|
|
471
|
+
"type": "function"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"inputs": [],
|
|
475
|
+
"name": "getPriceRatioDenominator",
|
|
420
476
|
"outputs": [
|
|
421
477
|
{
|
|
422
|
-
"internalType": "
|
|
478
|
+
"internalType": "uint128",
|
|
423
479
|
"name": "",
|
|
424
|
-
"type": "
|
|
480
|
+
"type": "uint128"
|
|
425
481
|
}
|
|
426
482
|
],
|
|
427
483
|
"stateMutability": "view",
|
|
@@ -431,17 +487,7 @@
|
|
|
431
487
|
"inputs": [
|
|
432
488
|
{
|
|
433
489
|
"internalType": "address",
|
|
434
|
-
"name": "
|
|
435
|
-
"type": "address"
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
"internalType": "address",
|
|
439
|
-
"name": "_receiveUln302View",
|
|
440
|
-
"type": "address"
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
"internalType": "address",
|
|
444
|
-
"name": "_endpoint",
|
|
490
|
+
"name": "_priceUpdater",
|
|
445
491
|
"type": "address"
|
|
446
492
|
}
|
|
447
493
|
],
|
|
@@ -452,12 +498,12 @@
|
|
|
452
498
|
},
|
|
453
499
|
{
|
|
454
500
|
"inputs": [],
|
|
455
|
-
"name": "
|
|
501
|
+
"name": "nativeTokenPriceUSD",
|
|
456
502
|
"outputs": [
|
|
457
503
|
{
|
|
458
|
-
"internalType": "
|
|
504
|
+
"internalType": "uint128",
|
|
459
505
|
"name": "",
|
|
460
|
-
"type": "
|
|
506
|
+
"type": "uint128"
|
|
461
507
|
}
|
|
462
508
|
],
|
|
463
509
|
"stateMutability": "view",
|
|
@@ -480,16 +526,16 @@
|
|
|
480
526
|
"inputs": [
|
|
481
527
|
{
|
|
482
528
|
"internalType": "address",
|
|
483
|
-
"name": "
|
|
529
|
+
"name": "updater",
|
|
484
530
|
"type": "address"
|
|
485
531
|
}
|
|
486
532
|
],
|
|
487
|
-
"name": "
|
|
533
|
+
"name": "priceUpdater",
|
|
488
534
|
"outputs": [
|
|
489
535
|
{
|
|
490
|
-
"internalType": "
|
|
491
|
-
"name": "
|
|
492
|
-
"type": "
|
|
536
|
+
"internalType": "bool",
|
|
537
|
+
"name": "active",
|
|
538
|
+
"type": "bool"
|
|
493
539
|
}
|
|
494
540
|
],
|
|
495
541
|
"stateMutability": "view",
|
|
@@ -497,20 +543,20 @@
|
|
|
497
543
|
},
|
|
498
544
|
{
|
|
499
545
|
"inputs": [],
|
|
500
|
-
"name": "
|
|
501
|
-
"outputs": [
|
|
502
|
-
|
|
503
|
-
"internalType": "address",
|
|
504
|
-
"name": "",
|
|
505
|
-
"type": "address"
|
|
506
|
-
}
|
|
507
|
-
],
|
|
508
|
-
"stateMutability": "view",
|
|
546
|
+
"name": "renounceOwnership",
|
|
547
|
+
"outputs": [],
|
|
548
|
+
"stateMutability": "nonpayable",
|
|
509
549
|
"type": "function"
|
|
510
550
|
},
|
|
511
551
|
{
|
|
512
|
-
"inputs": [
|
|
513
|
-
|
|
552
|
+
"inputs": [
|
|
553
|
+
{
|
|
554
|
+
"internalType": "uint128",
|
|
555
|
+
"name": "_compressionPercent",
|
|
556
|
+
"type": "uint128"
|
|
557
|
+
}
|
|
558
|
+
],
|
|
559
|
+
"name": "setArbitrumCompressionPercent",
|
|
514
560
|
"outputs": [],
|
|
515
561
|
"stateMutability": "nonpayable",
|
|
516
562
|
"type": "function"
|
|
@@ -519,16 +565,24 @@
|
|
|
519
565
|
"inputs": [
|
|
520
566
|
{
|
|
521
567
|
"internalType": "address",
|
|
522
|
-
"name": "
|
|
568
|
+
"name": "_endpoint",
|
|
523
569
|
"type": "address"
|
|
524
|
-
}
|
|
570
|
+
}
|
|
571
|
+
],
|
|
572
|
+
"name": "setEndpoint",
|
|
573
|
+
"outputs": [],
|
|
574
|
+
"stateMutability": "nonpayable",
|
|
575
|
+
"type": "function"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"inputs": [
|
|
525
579
|
{
|
|
526
|
-
"internalType": "
|
|
527
|
-
"name": "
|
|
528
|
-
"type": "
|
|
580
|
+
"internalType": "uint128",
|
|
581
|
+
"name": "_nativeTokenPriceUSD",
|
|
582
|
+
"type": "uint128"
|
|
529
583
|
}
|
|
530
584
|
],
|
|
531
|
-
"name": "
|
|
585
|
+
"name": "setNativeTokenPriceUSD",
|
|
532
586
|
"outputs": [],
|
|
533
587
|
"stateMutability": "nonpayable",
|
|
534
588
|
"type": "function"
|
|
@@ -536,12 +590,41 @@
|
|
|
536
590
|
{
|
|
537
591
|
"inputs": [
|
|
538
592
|
{
|
|
539
|
-
"
|
|
540
|
-
|
|
541
|
-
|
|
593
|
+
"components": [
|
|
594
|
+
{
|
|
595
|
+
"internalType": "uint32",
|
|
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[]"
|
|
542
625
|
}
|
|
543
626
|
],
|
|
544
|
-
"name": "
|
|
627
|
+
"name": "setPrice",
|
|
545
628
|
"outputs": [],
|
|
546
629
|
"stateMutability": "nonpayable",
|
|
547
630
|
"type": "function"
|
|
@@ -552,49 +635,101 @@
|
|
|
552
635
|
"components": [
|
|
553
636
|
{
|
|
554
637
|
"internalType": "uint32",
|
|
555
|
-
"name": "
|
|
638
|
+
"name": "eid",
|
|
556
639
|
"type": "uint32"
|
|
557
640
|
},
|
|
558
641
|
{
|
|
559
|
-
"
|
|
560
|
-
|
|
561
|
-
|
|
642
|
+
"components": [
|
|
643
|
+
{
|
|
644
|
+
"internalType": "uint128",
|
|
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"
|
|
562
662
|
},
|
|
563
663
|
{
|
|
564
|
-
"
|
|
565
|
-
|
|
566
|
-
|
|
664
|
+
"components": [
|
|
665
|
+
{
|
|
666
|
+
"internalType": "uint64",
|
|
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"
|
|
567
679
|
}
|
|
568
680
|
],
|
|
569
|
-
"internalType": "struct
|
|
570
|
-
"name": "
|
|
681
|
+
"internalType": "struct ILayerZeroPriceFeed.UpdatePriceExt",
|
|
682
|
+
"name": "_update",
|
|
571
683
|
"type": "tuple"
|
|
572
|
-
}
|
|
684
|
+
}
|
|
685
|
+
],
|
|
686
|
+
"name": "setPriceForArbitrum",
|
|
687
|
+
"outputs": [],
|
|
688
|
+
"stateMutability": "nonpayable",
|
|
689
|
+
"type": "function"
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"inputs": [
|
|
573
693
|
{
|
|
574
|
-
"internalType": "
|
|
575
|
-
"name": "
|
|
576
|
-
"type": "
|
|
577
|
-
}
|
|
694
|
+
"internalType": "uint128",
|
|
695
|
+
"name": "_denominator",
|
|
696
|
+
"type": "uint128"
|
|
697
|
+
}
|
|
698
|
+
],
|
|
699
|
+
"name": "setPriceRatioDenominator",
|
|
700
|
+
"outputs": [],
|
|
701
|
+
"stateMutability": "nonpayable",
|
|
702
|
+
"type": "function"
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"inputs": [
|
|
578
706
|
{
|
|
579
707
|
"internalType": "address",
|
|
580
|
-
"name": "
|
|
708
|
+
"name": "_addr",
|
|
581
709
|
"type": "address"
|
|
582
710
|
},
|
|
583
711
|
{
|
|
584
|
-
"internalType": "
|
|
585
|
-
"name": "
|
|
586
|
-
"type": "
|
|
712
|
+
"internalType": "bool",
|
|
713
|
+
"name": "_active",
|
|
714
|
+
"type": "bool"
|
|
587
715
|
}
|
|
588
716
|
],
|
|
589
|
-
"name": "
|
|
590
|
-
"outputs": [
|
|
717
|
+
"name": "setPriceUpdater",
|
|
718
|
+
"outputs": [],
|
|
719
|
+
"stateMutability": "nonpayable",
|
|
720
|
+
"type": "function"
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"inputs": [
|
|
591
724
|
{
|
|
592
|
-
"internalType": "
|
|
593
|
-
"name": "",
|
|
594
|
-
"type": "
|
|
725
|
+
"internalType": "address",
|
|
726
|
+
"name": "newOwner",
|
|
727
|
+
"type": "address"
|
|
595
728
|
}
|
|
596
729
|
],
|
|
597
|
-
"
|
|
730
|
+
"name": "transferOwnership",
|
|
731
|
+
"outputs": [],
|
|
732
|
+
"stateMutability": "nonpayable",
|
|
598
733
|
"type": "function"
|
|
599
734
|
},
|
|
600
735
|
{
|
|
@@ -610,7 +745,7 @@
|
|
|
610
745
|
"type": "uint256"
|
|
611
746
|
}
|
|
612
747
|
],
|
|
613
|
-
"name": "
|
|
748
|
+
"name": "withdrawFee",
|
|
614
749
|
"outputs": [],
|
|
615
750
|
"stateMutability": "nonpayable",
|
|
616
751
|
"type": "function"
|
|
@@ -637,78 +772,78 @@
|
|
|
637
772
|
"type": "constructor"
|
|
638
773
|
}
|
|
639
774
|
],
|
|
640
|
-
"transactionHash": "
|
|
775
|
+
"transactionHash": "0x936493b42b704a10bf59e2c2ba70099f00727333552bf03c90131461817eda51",
|
|
641
776
|
"receipt": {
|
|
642
777
|
"to": null,
|
|
643
|
-
"from": "
|
|
644
|
-
"contractAddress": "
|
|
645
|
-
"transactionIndex":
|
|
646
|
-
"gasUsed": "
|
|
647
|
-
"logsBloom": "
|
|
648
|
-
"blockHash": "
|
|
649
|
-
"transactionHash": "
|
|
778
|
+
"from": "0xc13b65f7c53Cd6db2EA205a4b574b4a0858720A6",
|
|
779
|
+
"contractAddress": "0x8b14D287B4150Ff22Ac73DF8BE720e933f659abc",
|
|
780
|
+
"transactionIndex": 1,
|
|
781
|
+
"gasUsed": "738544",
|
|
782
|
+
"logsBloom": "0x00000000000000000000000000000000400000000000000000800000000000000000000000000000000000000000000000000000000000000000020000000000000400000000000000000000000002000001001000000000000000000000000000020000030000000000000000000800000000800000000000000000000000400000000000000000000000000000000000000000000080000000000000800000000000000000000000000000000400000000000000000000000000000002000000000020000000000000000000040000000000000400000000002000000020000000000000000000000000002000010000000000000000000000000000000000",
|
|
783
|
+
"blockHash": "0x21bda52b4440b04bdbf38375d976a33a4f9759f8793d7cc5d9b0690d3a5579b9",
|
|
784
|
+
"transactionHash": "0x936493b42b704a10bf59e2c2ba70099f00727333552bf03c90131461817eda51",
|
|
650
785
|
"logs": [
|
|
651
786
|
{
|
|
652
|
-
"transactionIndex":
|
|
653
|
-
"blockNumber":
|
|
654
|
-
"transactionHash": "
|
|
655
|
-
"address": "
|
|
787
|
+
"transactionIndex": 1,
|
|
788
|
+
"blockNumber": 2881718,
|
|
789
|
+
"transactionHash": "0x936493b42b704a10bf59e2c2ba70099f00727333552bf03c90131461817eda51",
|
|
790
|
+
"address": "0x8b14D287B4150Ff22Ac73DF8BE720e933f659abc",
|
|
656
791
|
"topics": [
|
|
657
792
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
658
|
-
"
|
|
793
|
+
"0x0000000000000000000000006ab5ae6822647046626e83ee6db8187151e1d5ab"
|
|
659
794
|
],
|
|
660
795
|
"data": "0x",
|
|
661
796
|
"logIndex": 0,
|
|
662
|
-
"blockHash": "
|
|
797
|
+
"blockHash": "0x21bda52b4440b04bdbf38375d976a33a4f9759f8793d7cc5d9b0690d3a5579b9"
|
|
663
798
|
},
|
|
664
799
|
{
|
|
665
|
-
"transactionIndex":
|
|
666
|
-
"blockNumber":
|
|
667
|
-
"transactionHash": "
|
|
668
|
-
"address": "
|
|
800
|
+
"transactionIndex": 1,
|
|
801
|
+
"blockNumber": 2881718,
|
|
802
|
+
"transactionHash": "0x936493b42b704a10bf59e2c2ba70099f00727333552bf03c90131461817eda51",
|
|
803
|
+
"address": "0x8b14D287B4150Ff22Ac73DF8BE720e933f659abc",
|
|
669
804
|
"topics": [
|
|
670
805
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
671
806
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
672
|
-
"
|
|
807
|
+
"0x000000000000000000000000c13b65f7c53cd6db2ea205a4b574b4a0858720a6"
|
|
673
808
|
],
|
|
674
809
|
"data": "0x",
|
|
675
810
|
"logIndex": 1,
|
|
676
|
-
"blockHash": "
|
|
811
|
+
"blockHash": "0x21bda52b4440b04bdbf38375d976a33a4f9759f8793d7cc5d9b0690d3a5579b9"
|
|
677
812
|
},
|
|
678
813
|
{
|
|
679
|
-
"transactionIndex":
|
|
680
|
-
"blockNumber":
|
|
681
|
-
"transactionHash": "
|
|
682
|
-
"address": "
|
|
814
|
+
"transactionIndex": 1,
|
|
815
|
+
"blockNumber": 2881718,
|
|
816
|
+
"transactionHash": "0x936493b42b704a10bf59e2c2ba70099f00727333552bf03c90131461817eda51",
|
|
817
|
+
"address": "0x8b14D287B4150Ff22Ac73DF8BE720e933f659abc",
|
|
683
818
|
"topics": [
|
|
684
819
|
"0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
|
|
685
820
|
],
|
|
686
821
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
687
822
|
"logIndex": 2,
|
|
688
|
-
"blockHash": "
|
|
823
|
+
"blockHash": "0x21bda52b4440b04bdbf38375d976a33a4f9759f8793d7cc5d9b0690d3a5579b9"
|
|
689
824
|
},
|
|
690
825
|
{
|
|
691
|
-
"transactionIndex":
|
|
692
|
-
"blockNumber":
|
|
693
|
-
"transactionHash": "
|
|
694
|
-
"address": "
|
|
826
|
+
"transactionIndex": 1,
|
|
827
|
+
"blockNumber": 2881718,
|
|
828
|
+
"transactionHash": "0x936493b42b704a10bf59e2c2ba70099f00727333552bf03c90131461817eda51",
|
|
829
|
+
"address": "0x8b14D287B4150Ff22Ac73DF8BE720e933f659abc",
|
|
695
830
|
"topics": [
|
|
696
831
|
"0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
|
|
697
832
|
],
|
|
698
|
-
"data": "
|
|
833
|
+
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ae92d5ad7583ad66e49a0c67bad18f6ba52dddc1",
|
|
699
834
|
"logIndex": 3,
|
|
700
|
-
"blockHash": "
|
|
835
|
+
"blockHash": "0x21bda52b4440b04bdbf38375d976a33a4f9759f8793d7cc5d9b0690d3a5579b9"
|
|
701
836
|
}
|
|
702
837
|
],
|
|
703
|
-
"blockNumber":
|
|
704
|
-
"cumulativeGasUsed": "
|
|
838
|
+
"blockNumber": 2881718,
|
|
839
|
+
"cumulativeGasUsed": "759544",
|
|
705
840
|
"status": 1,
|
|
706
841
|
"byzantium": true
|
|
707
842
|
},
|
|
708
843
|
"args": [
|
|
709
|
-
"
|
|
710
|
-
"
|
|
711
|
-
"
|
|
844
|
+
"0x6aB5Ae6822647046626e83ee6dB8187151E1d5ab",
|
|
845
|
+
"0xae92d5aD7583AD66E49A0c67BAd18F6ba52dDDc1",
|
|
846
|
+
"0xc4d66de8000000000000000000000000f5e8a439c599205c1ab06b535de46681aed1007a"
|
|
712
847
|
],
|
|
713
848
|
"numDeployments": 1,
|
|
714
849
|
"solcInputHash": "0e89febeebc7444140de8e67c9067d2c",
|
|
@@ -717,12 +852,10 @@
|
|
|
717
852
|
"execute": {
|
|
718
853
|
"methodName": "initialize",
|
|
719
854
|
"args": [
|
|
720
|
-
"
|
|
721
|
-
"0x544eAe853EA3774A8857573C6423E6Db95b79258",
|
|
722
|
-
"0x0b48aF34f4c854F5ae1A3D587da471FeA45bAD52"
|
|
855
|
+
"0xF5E8A439C599205C1aB06b535DE46681Aed1007a"
|
|
723
856
|
]
|
|
724
857
|
},
|
|
725
|
-
"implementation": "
|
|
858
|
+
"implementation": "0x6aB5Ae6822647046626e83ee6dB8187151E1d5ab",
|
|
726
859
|
"devdoc": {
|
|
727
860
|
"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.",
|
|
728
861
|
"kind": "dev",
|