@layerzerolabs/lz-evm-sdk-v2 2.0.8 → 2.0.10-tron
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/arbitrum-sandbox-local/DVN.json +1896 -0
- package/deployments/arbitrum-sandbox-local/DVNFeeLib.json +387 -0
- package/deployments/arbitrum-sandbox-local/EndpointV2.json +2955 -0
- package/deployments/{ethereum-sandbox-local/Oracle.json → arbitrum-sandbox-local/Executor.json} +656 -398
- package/deployments/arbitrum-sandbox-local/ExecutorFeeLib.json +407 -0
- package/deployments/arbitrum-sandbox-local/ExecutorProxyAdmin.json +283 -0
- package/deployments/arbitrum-sandbox-local/Executor_Implementation.json +1591 -0
- package/deployments/{ethereum-sandbox-local/Oracle_Proxy.json → arbitrum-sandbox-local/Executor_Proxy.json} +135 -60
- package/deployments/arbitrum-sandbox-local/NonceContractMock.json +163 -0
- package/deployments/{polygon-sandbox-local/Relayer.json → arbitrum-sandbox-local/PriceFeed.json} +339 -445
- package/deployments/arbitrum-sandbox-local/PriceFeedProxyAdmin.json +283 -0
- package/deployments/arbitrum-sandbox-local/PriceFeed_Implementation.json +912 -0
- package/deployments/{ethereum-sandbox-local/Relayer_Proxy.json → arbitrum-sandbox-local/PriceFeed_Proxy.json} +33 -64
- package/deployments/arbitrum-sandbox-local/ReceiveUln301.json +1264 -0
- package/deployments/arbitrum-sandbox-local/ReceiveUln302.json +954 -0
- package/deployments/arbitrum-sandbox-local/SendUln301.json +1569 -0
- package/deployments/arbitrum-sandbox-local/SendUln302.json +1527 -0
- package/deployments/arbitrum-sandbox-local/SimpleMessageLib.json +708 -0
- package/deployments/arbitrum-sandbox-local/Treasury.json +412 -0
- package/deployments/arbitrum-sandbox-local/TreasuryFeeHandler.json +125 -0
- package/deployments/ethereum-sandbox-local/DVN.json +5 -5
- package/deployments/ethereum-sandbox-local/DVNFeeLib.json +2 -2
- package/deployments/ethereum-sandbox-local/EndpointV2.json +4 -4
- package/deployments/ethereum-sandbox-local/Executor.json +14 -14
- package/deployments/ethereum-sandbox-local/ExecutorFeeLib.json +2 -2
- package/deployments/ethereum-sandbox-local/ExecutorProxyAdmin.json +3 -3
- package/deployments/ethereum-sandbox-local/Executor_Implementation.json +1 -1
- package/deployments/ethereum-sandbox-local/Executor_Proxy.json +14 -14
- package/deployments/ethereum-sandbox-local/NonceContractMock.json +1 -1
- package/deployments/ethereum-sandbox-local/PriceFeed.json +5 -5
- package/deployments/ethereum-sandbox-local/PriceFeedProxyAdmin.json +3 -3
- package/deployments/ethereum-sandbox-local/PriceFeed_Implementation.json +1 -1
- package/deployments/ethereum-sandbox-local/PriceFeed_Proxy.json +5 -5
- package/deployments/ethereum-sandbox-local/ReceiveUln301.json +2 -2
- package/deployments/ethereum-sandbox-local/ReceiveUln302.json +2 -2
- package/deployments/ethereum-sandbox-local/SendUln301.json +2 -2
- package/deployments/ethereum-sandbox-local/SendUln302.json +2 -2
- package/deployments/ethereum-sandbox-local/SimpleMessageLib.json +2 -2
- package/deployments/ethereum-sandbox-local/Treasury.json +2 -2
- package/deployments/ethereum-sandbox-local/TreasuryFeeHandler.json +1 -1
- package/deployments/polygon-sandbox-local/DVN.json +5 -5
- package/deployments/polygon-sandbox-local/DVNFeeLib.json +2 -2
- package/deployments/polygon-sandbox-local/EndpointV2.json +4 -4
- package/deployments/polygon-sandbox-local/Executor.json +14 -14
- package/deployments/polygon-sandbox-local/ExecutorFeeLib.json +2 -2
- package/deployments/polygon-sandbox-local/ExecutorProxyAdmin.json +3 -3
- package/deployments/polygon-sandbox-local/Executor_Implementation.json +1 -1
- package/deployments/polygon-sandbox-local/Executor_Proxy.json +14 -14
- package/deployments/polygon-sandbox-local/NonceContractMock.json +1 -1
- package/deployments/polygon-sandbox-local/PriceFeed.json +5 -5
- package/deployments/polygon-sandbox-local/PriceFeedProxyAdmin.json +3 -3
- package/deployments/polygon-sandbox-local/PriceFeed_Implementation.json +1 -1
- package/deployments/polygon-sandbox-local/PriceFeed_Proxy.json +5 -5
- package/deployments/polygon-sandbox-local/ReceiveUln301.json +2 -2
- package/deployments/polygon-sandbox-local/ReceiveUln302.json +2 -2
- package/deployments/polygon-sandbox-local/SendUln301.json +2 -2
- package/deployments/polygon-sandbox-local/SendUln302.json +2 -2
- package/deployments/polygon-sandbox-local/SimpleMessageLib.json +2 -2
- package/deployments/polygon-sandbox-local/Treasury.json +2 -2
- package/deployments/polygon-sandbox-local/TreasuryFeeHandler.json +1 -1
- package/deployments/tron-sandbox-local/DVN.json +1896 -0
- package/deployments/tron-sandbox-local/DVNFeeLib.json +387 -0
- package/deployments/tron-sandbox-local/EndpointV2.json +2955 -0
- package/deployments/{polygon-sandbox-local/Oracle.json → tron-sandbox-local/Executor.json} +656 -398
- package/deployments/tron-sandbox-local/ExecutorFeeLib.json +407 -0
- package/deployments/tron-sandbox-local/ExecutorProxyAdmin.json +283 -0
- package/deployments/tron-sandbox-local/Executor_Implementation.json +1591 -0
- package/deployments/{polygon-sandbox-local/Oracle_Proxy.json → tron-sandbox-local/Executor_Proxy.json} +135 -60
- package/deployments/tron-sandbox-local/NonceContractMock.json +163 -0
- package/deployments/{ethereum-sandbox-local/Relayer.json → tron-sandbox-local/PriceFeed.json} +339 -445
- package/deployments/tron-sandbox-local/PriceFeedProxyAdmin.json +283 -0
- package/deployments/tron-sandbox-local/PriceFeed_Implementation.json +912 -0
- package/deployments/{polygon-sandbox-local/Relayer_Proxy.json → tron-sandbox-local/PriceFeed_Proxy.json} +33 -64
- package/deployments/tron-sandbox-local/ReceiveUln301.json +1264 -0
- package/deployments/tron-sandbox-local/ReceiveUln302.json +954 -0
- package/deployments/tron-sandbox-local/SendUln301.json +1569 -0
- package/deployments/tron-sandbox-local/SendUln302.json +1527 -0
- package/deployments/tron-sandbox-local/SimpleMessageLib.json +708 -0
- package/deployments/tron-sandbox-local/Treasury.json +412 -0
- package/deployments/tron-sandbox-local/TreasuryFeeHandler.json +125 -0
- package/package.json +9 -20
- package/deployments/ethereum-sandbox-local/BlockedMessageLib.json +0 -90
- package/deployments/ethereum-sandbox-local/Endpoint.json +0 -2355
- package/deployments/ethereum-sandbox-local/MultiSigOracle.json +0 -1448
- package/deployments/ethereum-sandbox-local/NonceContract.json +0 -158
- package/deployments/ethereum-sandbox-local/OmniCounter.json +0 -1133
- package/deployments/ethereum-sandbox-local/OmniCounterPreCrime.json +0 -493
- package/deployments/ethereum-sandbox-local/OmniCounterPreCrimeView.json +0 -672
- package/deployments/ethereum-sandbox-local/OmniCounterViewer.json +0 -214
- package/deployments/ethereum-sandbox-local/OmniCounterWithPreCrime.json +0 -1646
- package/deployments/ethereum-sandbox-local/OracleFeeLib.json +0 -166
- package/deployments/ethereum-sandbox-local/OracleProxyAdmin.json +0 -272
- package/deployments/ethereum-sandbox-local/Oracle_Implementation.json +0 -1326
- package/deployments/ethereum-sandbox-local/RelayerFeeLib.json +0 -130
- package/deployments/ethereum-sandbox-local/RelayerProxyAdmin.json +0 -272
- package/deployments/ethereum-sandbox-local/Relayer_Implementation.json +0 -1014
- package/deployments/ethereum-sandbox-local/UlnConfig301.json +0 -1003
- package/deployments/ethereum-sandbox-local/UlnConfig302.json +0 -1003
- package/deployments/ethereum-sandbox-local/UltraLightNodeE302.json +0 -1696
- package/deployments/polygon-sandbox-local/BlockedMessageLib.json +0 -90
- package/deployments/polygon-sandbox-local/Endpoint.json +0 -2355
- package/deployments/polygon-sandbox-local/MultiSigOracle.json +0 -1448
- package/deployments/polygon-sandbox-local/NonceContract.json +0 -158
- package/deployments/polygon-sandbox-local/OmniCounter.json +0 -1133
- package/deployments/polygon-sandbox-local/OmniCounterPreCrime.json +0 -493
- package/deployments/polygon-sandbox-local/OmniCounterPreCrimeView.json +0 -672
- package/deployments/polygon-sandbox-local/OmniCounterViewer.json +0 -214
- package/deployments/polygon-sandbox-local/OmniCounterWithPreCrime.json +0 -1646
- package/deployments/polygon-sandbox-local/OracleFeeLib.json +0 -166
- package/deployments/polygon-sandbox-local/OracleProxyAdmin.json +0 -272
- package/deployments/polygon-sandbox-local/Oracle_Implementation.json +0 -1326
- package/deployments/polygon-sandbox-local/RelayerFeeLib.json +0 -130
- package/deployments/polygon-sandbox-local/RelayerProxyAdmin.json +0 -272
- package/deployments/polygon-sandbox-local/Relayer_Implementation.json +0 -1014
- package/deployments/polygon-sandbox-local/UlnConfig301.json +0 -1003
- package/deployments/polygon-sandbox-local/UlnConfig302.json +0 -1003
- package/deployments/polygon-sandbox-local/UltraLightNodeE302.json +0 -1696
package/deployments/{ethereum-sandbox-local/Relayer.json → tron-sandbox-local/PriceFeed.json}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0xa787Eb8b0C1598da585d154824231969cE100C64",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"anonymous": false,
|
|
@@ -112,205 +112,98 @@
|
|
|
112
112
|
"type": "receive"
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
|
-
"anonymous": false,
|
|
116
|
-
"inputs": [
|
|
117
|
-
{
|
|
118
|
-
"indexed": false,
|
|
119
|
-
"internalType": "uint8",
|
|
120
|
-
"name": "version",
|
|
121
|
-
"type": "uint8"
|
|
122
|
-
}
|
|
123
|
-
],
|
|
124
|
-
"name": "Initialized",
|
|
125
|
-
"type": "event"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"anonymous": false,
|
|
129
115
|
"inputs": [
|
|
130
116
|
{
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"type": "bytes32"
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"indexed": true,
|
|
138
|
-
"internalType": "bytes32",
|
|
139
|
-
"name": "previousAdminRole",
|
|
140
|
-
"type": "bytes32"
|
|
117
|
+
"internalType": "uint256",
|
|
118
|
+
"name": "provided",
|
|
119
|
+
"type": "uint256"
|
|
141
120
|
},
|
|
142
121
|
{
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"type": "bytes32"
|
|
122
|
+
"internalType": "uint256",
|
|
123
|
+
"name": "required",
|
|
124
|
+
"type": "uint256"
|
|
147
125
|
}
|
|
148
126
|
],
|
|
149
|
-
"name": "
|
|
150
|
-
"type": "
|
|
127
|
+
"name": "InsufficientFee",
|
|
128
|
+
"type": "error"
|
|
151
129
|
},
|
|
152
130
|
{
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
{
|
|
162
|
-
"indexed": true,
|
|
163
|
-
"internalType": "address",
|
|
164
|
-
"name": "account",
|
|
165
|
-
"type": "address"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"indexed": true,
|
|
169
|
-
"internalType": "address",
|
|
170
|
-
"name": "sender",
|
|
171
|
-
"type": "address"
|
|
172
|
-
}
|
|
173
|
-
],
|
|
174
|
-
"name": "RoleGranted",
|
|
175
|
-
"type": "event"
|
|
131
|
+
"inputs": [],
|
|
132
|
+
"name": "OnlyPriceUpdater",
|
|
133
|
+
"type": "error"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"inputs": [],
|
|
137
|
+
"name": "ToAddressIsZero",
|
|
138
|
+
"type": "error"
|
|
176
139
|
},
|
|
177
140
|
{
|
|
178
|
-
"anonymous": false,
|
|
179
141
|
"inputs": [
|
|
180
142
|
{
|
|
181
|
-
"indexed": true,
|
|
182
|
-
"internalType": "bytes32",
|
|
183
|
-
"name": "role",
|
|
184
|
-
"type": "bytes32"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"indexed": true,
|
|
188
143
|
"internalType": "address",
|
|
189
|
-
"name": "
|
|
144
|
+
"name": "_to",
|
|
190
145
|
"type": "address"
|
|
191
146
|
},
|
|
192
147
|
{
|
|
193
|
-
"
|
|
194
|
-
"
|
|
195
|
-
"
|
|
196
|
-
"type": "address"
|
|
197
|
-
}
|
|
198
|
-
],
|
|
199
|
-
"name": "RoleRevoked",
|
|
200
|
-
"type": "event"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"anonymous": false,
|
|
204
|
-
"inputs": [
|
|
205
|
-
{
|
|
206
|
-
"indexed": false,
|
|
207
|
-
"internalType": "uint16",
|
|
208
|
-
"name": "multiplierBps",
|
|
209
|
-
"type": "uint16"
|
|
210
|
-
}
|
|
211
|
-
],
|
|
212
|
-
"name": "SetDefaultMultiplierBps",
|
|
213
|
-
"type": "event"
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
"anonymous": false,
|
|
217
|
-
"inputs": [
|
|
218
|
-
{
|
|
219
|
-
"components": [
|
|
220
|
-
{
|
|
221
|
-
"internalType": "uint32",
|
|
222
|
-
"name": "dstEid",
|
|
223
|
-
"type": "uint32"
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
"internalType": "uint64",
|
|
227
|
-
"name": "baseGas",
|
|
228
|
-
"type": "uint64"
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
"internalType": "uint16",
|
|
232
|
-
"name": "multiplierBps",
|
|
233
|
-
"type": "uint16"
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
"internalType": "uint128",
|
|
237
|
-
"name": "floorMarginUSD",
|
|
238
|
-
"type": "uint128"
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
"internalType": "uint128",
|
|
242
|
-
"name": "airdropCap",
|
|
243
|
-
"type": "uint128"
|
|
244
|
-
}
|
|
245
|
-
],
|
|
246
|
-
"indexed": false,
|
|
247
|
-
"internalType": "struct IRelayer.DstConfigParam[]",
|
|
248
|
-
"name": "params",
|
|
249
|
-
"type": "tuple[]"
|
|
148
|
+
"internalType": "uint256",
|
|
149
|
+
"name": "_value",
|
|
150
|
+
"type": "uint256"
|
|
250
151
|
}
|
|
251
152
|
],
|
|
252
|
-
"name": "
|
|
253
|
-
"type": "
|
|
153
|
+
"name": "TransferNativeFailed",
|
|
154
|
+
"type": "error"
|
|
254
155
|
},
|
|
255
156
|
{
|
|
256
|
-
"anonymous": false,
|
|
257
157
|
"inputs": [
|
|
258
158
|
{
|
|
259
|
-
"
|
|
260
|
-
"
|
|
261
|
-
"
|
|
262
|
-
"type": "address"
|
|
159
|
+
"internalType": "uint32",
|
|
160
|
+
"name": "l2Eid",
|
|
161
|
+
"type": "uint32"
|
|
263
162
|
}
|
|
264
163
|
],
|
|
265
|
-
"name": "
|
|
266
|
-
"type": "
|
|
164
|
+
"name": "UnknownL2Eid",
|
|
165
|
+
"type": "error"
|
|
267
166
|
},
|
|
268
167
|
{
|
|
269
168
|
"anonymous": false,
|
|
270
169
|
"inputs": [
|
|
271
170
|
{
|
|
272
171
|
"indexed": false,
|
|
273
|
-
"internalType": "
|
|
274
|
-
"name": "
|
|
275
|
-
"type": "
|
|
172
|
+
"internalType": "uint8",
|
|
173
|
+
"name": "version",
|
|
174
|
+
"type": "uint8"
|
|
276
175
|
}
|
|
277
176
|
],
|
|
278
|
-
"name": "
|
|
177
|
+
"name": "Initialized",
|
|
279
178
|
"type": "event"
|
|
280
179
|
},
|
|
281
180
|
{
|
|
282
181
|
"anonymous": false,
|
|
283
182
|
"inputs": [
|
|
284
183
|
{
|
|
285
|
-
"indexed":
|
|
184
|
+
"indexed": true,
|
|
286
185
|
"internalType": "address",
|
|
287
|
-
"name": "
|
|
186
|
+
"name": "previousOwner",
|
|
288
187
|
"type": "address"
|
|
289
188
|
},
|
|
290
189
|
{
|
|
291
|
-
"indexed":
|
|
190
|
+
"indexed": true,
|
|
292
191
|
"internalType": "address",
|
|
293
|
-
"name": "
|
|
192
|
+
"name": "newOwner",
|
|
294
193
|
"type": "address"
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
"indexed": false,
|
|
298
|
-
"internalType": "uint256",
|
|
299
|
-
"name": "amount",
|
|
300
|
-
"type": "uint256"
|
|
301
194
|
}
|
|
302
195
|
],
|
|
303
|
-
"name": "
|
|
196
|
+
"name": "OwnershipTransferred",
|
|
304
197
|
"type": "event"
|
|
305
198
|
},
|
|
306
199
|
{
|
|
307
200
|
"inputs": [],
|
|
308
|
-
"name": "
|
|
201
|
+
"name": "ARBITRUM_COMPRESSION_PERCENT",
|
|
309
202
|
"outputs": [
|
|
310
203
|
{
|
|
311
|
-
"internalType": "
|
|
204
|
+
"internalType": "uint128",
|
|
312
205
|
"name": "",
|
|
313
|
-
"type": "
|
|
206
|
+
"type": "uint128"
|
|
314
207
|
}
|
|
315
208
|
],
|
|
316
209
|
"stateMutability": "view",
|
|
@@ -318,12 +211,24 @@
|
|
|
318
211
|
},
|
|
319
212
|
{
|
|
320
213
|
"inputs": [],
|
|
321
|
-
"name": "
|
|
214
|
+
"name": "arbitrumPriceExt",
|
|
322
215
|
"outputs": [
|
|
323
216
|
{
|
|
324
|
-
"
|
|
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",
|
|
325
230
|
"name": "",
|
|
326
|
-
"type": "
|
|
231
|
+
"type": "tuple"
|
|
327
232
|
}
|
|
328
233
|
],
|
|
329
234
|
"stateMutability": "view",
|
|
@@ -331,51 +236,46 @@
|
|
|
331
236
|
},
|
|
332
237
|
{
|
|
333
238
|
"inputs": [],
|
|
334
|
-
"name": "
|
|
239
|
+
"name": "endpoint",
|
|
335
240
|
"outputs": [
|
|
336
241
|
{
|
|
337
|
-
"internalType": "
|
|
242
|
+
"internalType": "contract ILayerZeroEndpointV2",
|
|
338
243
|
"name": "",
|
|
339
|
-
"type": "
|
|
244
|
+
"type": "address"
|
|
340
245
|
}
|
|
341
246
|
],
|
|
342
247
|
"stateMutability": "view",
|
|
343
248
|
"type": "function"
|
|
344
249
|
},
|
|
345
250
|
{
|
|
346
|
-
"inputs": [
|
|
347
|
-
"name": "DENYLIST",
|
|
348
|
-
"outputs": [
|
|
251
|
+
"inputs": [
|
|
349
252
|
{
|
|
350
|
-
"internalType": "
|
|
351
|
-
"name": "",
|
|
352
|
-
"type": "
|
|
353
|
-
}
|
|
354
|
-
],
|
|
355
|
-
"stateMutability": "view",
|
|
356
|
-
"type": "function"
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"inputs": [],
|
|
360
|
-
"name": "MESSAGE_LIB_ROLE",
|
|
361
|
-
"outputs": [
|
|
253
|
+
"internalType": "uint16",
|
|
254
|
+
"name": "_dstEid",
|
|
255
|
+
"type": "uint16"
|
|
256
|
+
},
|
|
362
257
|
{
|
|
363
|
-
"internalType": "
|
|
364
|
-
"name": "",
|
|
365
|
-
"type": "
|
|
258
|
+
"internalType": "uint256",
|
|
259
|
+
"name": "_callDataSize",
|
|
260
|
+
"type": "uint256"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"internalType": "uint256",
|
|
264
|
+
"name": "_gas",
|
|
265
|
+
"type": "uint256"
|
|
366
266
|
}
|
|
367
267
|
],
|
|
368
|
-
"
|
|
369
|
-
"type": "function"
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
"inputs": [],
|
|
373
|
-
"name": "allowlistSize",
|
|
268
|
+
"name": "estimateFeeByChain",
|
|
374
269
|
"outputs": [
|
|
375
270
|
{
|
|
376
|
-
"internalType": "
|
|
377
|
-
"name": "",
|
|
378
|
-
"type": "
|
|
271
|
+
"internalType": "uint256",
|
|
272
|
+
"name": "fee",
|
|
273
|
+
"type": "uint256"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"internalType": "uint128",
|
|
277
|
+
"name": "priceRatio",
|
|
278
|
+
"type": "uint128"
|
|
379
279
|
}
|
|
380
280
|
],
|
|
381
281
|
"stateMutability": "view",
|
|
@@ -388,41 +288,38 @@
|
|
|
388
288
|
"name": "_dstEid",
|
|
389
289
|
"type": "uint32"
|
|
390
290
|
},
|
|
391
|
-
{
|
|
392
|
-
"internalType": "address",
|
|
393
|
-
"name": "_sender",
|
|
394
|
-
"type": "address"
|
|
395
|
-
},
|
|
396
291
|
{
|
|
397
292
|
"internalType": "uint256",
|
|
398
|
-
"name": "
|
|
293
|
+
"name": "_callDataSize",
|
|
399
294
|
"type": "uint256"
|
|
400
295
|
},
|
|
401
296
|
{
|
|
402
|
-
"internalType": "
|
|
403
|
-
"name": "
|
|
404
|
-
"type": "
|
|
297
|
+
"internalType": "uint256",
|
|
298
|
+
"name": "_gas",
|
|
299
|
+
"type": "uint256"
|
|
405
300
|
}
|
|
406
301
|
],
|
|
407
|
-
"name": "
|
|
302
|
+
"name": "estimateFeeByEid",
|
|
408
303
|
"outputs": [
|
|
409
304
|
{
|
|
410
305
|
"internalType": "uint256",
|
|
411
|
-
"name": "
|
|
306
|
+
"name": "",
|
|
412
307
|
"type": "uint256"
|
|
413
|
-
}
|
|
414
|
-
],
|
|
415
|
-
"stateMutability": "payable",
|
|
416
|
-
"type": "function"
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
"inputs": [],
|
|
420
|
-
"name": "defaultMultiplierBps",
|
|
421
|
-
"outputs": [
|
|
308
|
+
},
|
|
422
309
|
{
|
|
423
|
-
"internalType": "
|
|
310
|
+
"internalType": "uint128",
|
|
424
311
|
"name": "",
|
|
425
|
-
"type": "
|
|
312
|
+
"type": "uint128"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"internalType": "uint128",
|
|
316
|
+
"name": "",
|
|
317
|
+
"type": "uint128"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"internalType": "uint128",
|
|
321
|
+
"name": "",
|
|
322
|
+
"type": "uint128"
|
|
426
323
|
}
|
|
427
324
|
],
|
|
428
325
|
"stateMutability": "view",
|
|
@@ -432,68 +329,73 @@
|
|
|
432
329
|
"inputs": [
|
|
433
330
|
{
|
|
434
331
|
"internalType": "uint32",
|
|
435
|
-
"name": "",
|
|
332
|
+
"name": "_dstEid",
|
|
436
333
|
"type": "uint32"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"internalType": "uint256",
|
|
337
|
+
"name": "_callDataSize",
|
|
338
|
+
"type": "uint256"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"internalType": "uint256",
|
|
342
|
+
"name": "_gas",
|
|
343
|
+
"type": "uint256"
|
|
437
344
|
}
|
|
438
345
|
],
|
|
439
|
-
"name": "
|
|
346
|
+
"name": "estimateFeeOnSend",
|
|
440
347
|
"outputs": [
|
|
441
348
|
{
|
|
442
|
-
"internalType": "
|
|
443
|
-
"name": "
|
|
444
|
-
"type": "
|
|
349
|
+
"internalType": "uint256",
|
|
350
|
+
"name": "",
|
|
351
|
+
"type": "uint256"
|
|
445
352
|
},
|
|
446
353
|
{
|
|
447
|
-
"internalType": "
|
|
448
|
-
"name": "
|
|
449
|
-
"type": "
|
|
354
|
+
"internalType": "uint128",
|
|
355
|
+
"name": "",
|
|
356
|
+
"type": "uint128"
|
|
450
357
|
},
|
|
451
358
|
{
|
|
452
359
|
"internalType": "uint128",
|
|
453
|
-
"name": "
|
|
360
|
+
"name": "",
|
|
454
361
|
"type": "uint128"
|
|
455
362
|
},
|
|
456
363
|
{
|
|
457
364
|
"internalType": "uint128",
|
|
458
|
-
"name": "
|
|
365
|
+
"name": "",
|
|
459
366
|
"type": "uint128"
|
|
460
367
|
}
|
|
461
368
|
],
|
|
462
|
-
"stateMutability": "
|
|
369
|
+
"stateMutability": "payable",
|
|
463
370
|
"type": "function"
|
|
464
371
|
},
|
|
465
372
|
{
|
|
466
373
|
"inputs": [
|
|
467
374
|
{
|
|
468
375
|
"internalType": "uint32",
|
|
469
|
-
"name": "
|
|
376
|
+
"name": "",
|
|
470
377
|
"type": "uint32"
|
|
471
378
|
},
|
|
472
|
-
{
|
|
473
|
-
"internalType": "address",
|
|
474
|
-
"name": "_sender",
|
|
475
|
-
"type": "address"
|
|
476
|
-
},
|
|
477
379
|
{
|
|
478
380
|
"internalType": "uint256",
|
|
479
|
-
"name": "
|
|
381
|
+
"name": "",
|
|
480
382
|
"type": "uint256"
|
|
481
383
|
},
|
|
482
384
|
{
|
|
483
|
-
"internalType": "
|
|
484
|
-
"name": "
|
|
485
|
-
"type": "
|
|
385
|
+
"internalType": "uint256",
|
|
386
|
+
"name": "",
|
|
387
|
+
"type": "uint256"
|
|
486
388
|
}
|
|
487
389
|
],
|
|
488
390
|
"name": "getFee",
|
|
489
391
|
"outputs": [
|
|
490
392
|
{
|
|
491
393
|
"internalType": "uint256",
|
|
492
|
-
"name": "
|
|
394
|
+
"name": "",
|
|
493
395
|
"type": "uint256"
|
|
494
396
|
}
|
|
495
397
|
],
|
|
496
|
-
"stateMutability": "
|
|
398
|
+
"stateMutability": "pure",
|
|
497
399
|
"type": "function"
|
|
498
400
|
},
|
|
499
401
|
{
|
|
@@ -507,14 +409,26 @@
|
|
|
507
409
|
"name": "getPrice",
|
|
508
410
|
"outputs": [
|
|
509
411
|
{
|
|
510
|
-
"
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
412
|
+
"components": [
|
|
413
|
+
{
|
|
414
|
+
"internalType": "uint128",
|
|
415
|
+
"name": "priceRatio",
|
|
416
|
+
"type": "uint128"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"internalType": "uint64",
|
|
420
|
+
"name": "gasPriceInUnit",
|
|
421
|
+
"type": "uint64"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"internalType": "uint32",
|
|
425
|
+
"name": "gasPerByte",
|
|
426
|
+
"type": "uint32"
|
|
427
|
+
}
|
|
428
|
+
],
|
|
429
|
+
"internalType": "struct ILayerZeroPriceFeed.Price",
|
|
430
|
+
"name": "price",
|
|
431
|
+
"type": "tuple"
|
|
518
432
|
}
|
|
519
433
|
],
|
|
520
434
|
"stateMutability": "view",
|
|
@@ -523,59 +437,47 @@
|
|
|
523
437
|
{
|
|
524
438
|
"inputs": [
|
|
525
439
|
{
|
|
526
|
-
"internalType": "
|
|
527
|
-
"name": "
|
|
528
|
-
"type": "
|
|
440
|
+
"internalType": "uint16",
|
|
441
|
+
"name": "_dstEid",
|
|
442
|
+
"type": "uint16"
|
|
529
443
|
}
|
|
530
444
|
],
|
|
531
|
-
"name": "
|
|
445
|
+
"name": "getPrice",
|
|
532
446
|
"outputs": [
|
|
533
447
|
{
|
|
534
|
-
"
|
|
535
|
-
|
|
536
|
-
|
|
448
|
+
"components": [
|
|
449
|
+
{
|
|
450
|
+
"internalType": "uint128",
|
|
451
|
+
"name": "priceRatio",
|
|
452
|
+
"type": "uint128"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"internalType": "uint64",
|
|
456
|
+
"name": "gasPriceInUnit",
|
|
457
|
+
"type": "uint64"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"internalType": "uint32",
|
|
461
|
+
"name": "gasPerByte",
|
|
462
|
+
"type": "uint32"
|
|
463
|
+
}
|
|
464
|
+
],
|
|
465
|
+
"internalType": "struct ILayerZeroPriceFeed.Price",
|
|
466
|
+
"name": "price",
|
|
467
|
+
"type": "tuple"
|
|
537
468
|
}
|
|
538
469
|
],
|
|
539
470
|
"stateMutability": "view",
|
|
540
471
|
"type": "function"
|
|
541
472
|
},
|
|
542
473
|
{
|
|
543
|
-
"inputs": [
|
|
544
|
-
|
|
545
|
-
"internalType": "bytes32",
|
|
546
|
-
"name": "role",
|
|
547
|
-
"type": "bytes32"
|
|
548
|
-
},
|
|
549
|
-
{
|
|
550
|
-
"internalType": "address",
|
|
551
|
-
"name": "account",
|
|
552
|
-
"type": "address"
|
|
553
|
-
}
|
|
554
|
-
],
|
|
555
|
-
"name": "grantRole",
|
|
556
|
-
"outputs": [],
|
|
557
|
-
"stateMutability": "nonpayable",
|
|
558
|
-
"type": "function"
|
|
559
|
-
},
|
|
560
|
-
{
|
|
561
|
-
"inputs": [
|
|
562
|
-
{
|
|
563
|
-
"internalType": "bytes32",
|
|
564
|
-
"name": "role",
|
|
565
|
-
"type": "bytes32"
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
"internalType": "address",
|
|
569
|
-
"name": "account",
|
|
570
|
-
"type": "address"
|
|
571
|
-
}
|
|
572
|
-
],
|
|
573
|
-
"name": "hasRole",
|
|
474
|
+
"inputs": [],
|
|
475
|
+
"name": "getPriceRatioDenominator",
|
|
574
476
|
"outputs": [
|
|
575
477
|
{
|
|
576
|
-
"internalType": "
|
|
478
|
+
"internalType": "uint128",
|
|
577
479
|
"name": "",
|
|
578
|
-
"type": "
|
|
480
|
+
"type": "uint128"
|
|
579
481
|
}
|
|
580
482
|
],
|
|
581
483
|
"stateMutability": "view",
|
|
@@ -583,25 +485,10 @@
|
|
|
583
485
|
},
|
|
584
486
|
{
|
|
585
487
|
"inputs": [
|
|
586
|
-
{
|
|
587
|
-
"internalType": "address[]",
|
|
588
|
-
"name": "_messageLibs",
|
|
589
|
-
"type": "address[]"
|
|
590
|
-
},
|
|
591
488
|
{
|
|
592
489
|
"internalType": "address",
|
|
593
|
-
"name": "
|
|
490
|
+
"name": "_priceUpdater",
|
|
594
491
|
"type": "address"
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
"internalType": "address",
|
|
598
|
-
"name": "_roleAdmin",
|
|
599
|
-
"type": "address"
|
|
600
|
-
},
|
|
601
|
-
{
|
|
602
|
-
"internalType": "address[]",
|
|
603
|
-
"name": "_admins",
|
|
604
|
-
"type": "address[]"
|
|
605
492
|
}
|
|
606
493
|
],
|
|
607
494
|
"name": "initialize",
|
|
@@ -611,12 +498,12 @@
|
|
|
611
498
|
},
|
|
612
499
|
{
|
|
613
500
|
"inputs": [],
|
|
614
|
-
"name": "
|
|
501
|
+
"name": "nativeTokenPriceUSD",
|
|
615
502
|
"outputs": [
|
|
616
503
|
{
|
|
617
|
-
"internalType": "
|
|
504
|
+
"internalType": "uint128",
|
|
618
505
|
"name": "",
|
|
619
|
-
"type": "
|
|
506
|
+
"type": "uint128"
|
|
620
507
|
}
|
|
621
508
|
],
|
|
622
509
|
"stateMutability": "view",
|
|
@@ -624,10 +511,10 @@
|
|
|
624
511
|
},
|
|
625
512
|
{
|
|
626
513
|
"inputs": [],
|
|
627
|
-
"name": "
|
|
514
|
+
"name": "owner",
|
|
628
515
|
"outputs": [
|
|
629
516
|
{
|
|
630
|
-
"internalType": "
|
|
517
|
+
"internalType": "address",
|
|
631
518
|
"name": "",
|
|
632
519
|
"type": "address"
|
|
633
520
|
}
|
|
@@ -637,18 +524,26 @@
|
|
|
637
524
|
},
|
|
638
525
|
{
|
|
639
526
|
"inputs": [
|
|
640
|
-
{
|
|
641
|
-
"internalType": "bytes32",
|
|
642
|
-
"name": "",
|
|
643
|
-
"type": "bytes32"
|
|
644
|
-
},
|
|
645
527
|
{
|
|
646
528
|
"internalType": "address",
|
|
647
|
-
"name": "",
|
|
529
|
+
"name": "updater",
|
|
648
530
|
"type": "address"
|
|
649
531
|
}
|
|
650
532
|
],
|
|
651
|
-
"name": "
|
|
533
|
+
"name": "priceUpdater",
|
|
534
|
+
"outputs": [
|
|
535
|
+
{
|
|
536
|
+
"internalType": "bool",
|
|
537
|
+
"name": "active",
|
|
538
|
+
"type": "bool"
|
|
539
|
+
}
|
|
540
|
+
],
|
|
541
|
+
"stateMutability": "view",
|
|
542
|
+
"type": "function"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"inputs": [],
|
|
546
|
+
"name": "renounceOwnership",
|
|
652
547
|
"outputs": [],
|
|
653
548
|
"stateMutability": "nonpayable",
|
|
654
549
|
"type": "function"
|
|
@@ -656,17 +551,25 @@
|
|
|
656
551
|
{
|
|
657
552
|
"inputs": [
|
|
658
553
|
{
|
|
659
|
-
"internalType": "
|
|
660
|
-
"name": "
|
|
661
|
-
"type": "
|
|
662
|
-
}
|
|
554
|
+
"internalType": "uint128",
|
|
555
|
+
"name": "_compressionPercent",
|
|
556
|
+
"type": "uint128"
|
|
557
|
+
}
|
|
558
|
+
],
|
|
559
|
+
"name": "setArbitrumCompressionPercent",
|
|
560
|
+
"outputs": [],
|
|
561
|
+
"stateMutability": "nonpayable",
|
|
562
|
+
"type": "function"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"inputs": [
|
|
663
566
|
{
|
|
664
567
|
"internalType": "address",
|
|
665
|
-
"name": "
|
|
568
|
+
"name": "_endpoint",
|
|
666
569
|
"type": "address"
|
|
667
570
|
}
|
|
668
571
|
],
|
|
669
|
-
"name": "
|
|
572
|
+
"name": "setEndpoint",
|
|
670
573
|
"outputs": [],
|
|
671
574
|
"stateMutability": "nonpayable",
|
|
672
575
|
"type": "function"
|
|
@@ -674,12 +577,12 @@
|
|
|
674
577
|
{
|
|
675
578
|
"inputs": [
|
|
676
579
|
{
|
|
677
|
-
"internalType": "
|
|
678
|
-
"name": "
|
|
679
|
-
"type": "
|
|
580
|
+
"internalType": "uint128",
|
|
581
|
+
"name": "_nativeTokenPriceUSD",
|
|
582
|
+
"type": "uint128"
|
|
680
583
|
}
|
|
681
584
|
],
|
|
682
|
-
"name": "
|
|
585
|
+
"name": "setNativeTokenPriceUSD",
|
|
683
586
|
"outputs": [],
|
|
684
587
|
"stateMutability": "nonpayable",
|
|
685
588
|
"type": "function"
|
|
@@ -690,36 +593,38 @@
|
|
|
690
593
|
"components": [
|
|
691
594
|
{
|
|
692
595
|
"internalType": "uint32",
|
|
693
|
-
"name": "
|
|
596
|
+
"name": "eid",
|
|
694
597
|
"type": "uint32"
|
|
695
598
|
},
|
|
696
599
|
{
|
|
697
|
-
"
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
"
|
|
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"
|
|
715
620
|
}
|
|
716
621
|
],
|
|
717
|
-
"internalType": "struct
|
|
718
|
-
"name": "
|
|
622
|
+
"internalType": "struct ILayerZeroPriceFeed.UpdatePrice[]",
|
|
623
|
+
"name": "_price",
|
|
719
624
|
"type": "tuple[]"
|
|
720
625
|
}
|
|
721
626
|
],
|
|
722
|
-
"name": "
|
|
627
|
+
"name": "setPrice",
|
|
723
628
|
"outputs": [],
|
|
724
629
|
"stateMutability": "nonpayable",
|
|
725
630
|
"type": "function"
|
|
@@ -727,12 +632,58 @@
|
|
|
727
632
|
{
|
|
728
633
|
"inputs": [
|
|
729
634
|
{
|
|
730
|
-
"
|
|
731
|
-
|
|
732
|
-
|
|
635
|
+
"components": [
|
|
636
|
+
{
|
|
637
|
+
"internalType": "uint32",
|
|
638
|
+
"name": "eid",
|
|
639
|
+
"type": "uint32"
|
|
640
|
+
},
|
|
641
|
+
{
|
|
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"
|
|
662
|
+
},
|
|
663
|
+
{
|
|
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"
|
|
679
|
+
}
|
|
680
|
+
],
|
|
681
|
+
"internalType": "struct ILayerZeroPriceFeed.UpdatePriceExt",
|
|
682
|
+
"name": "_update",
|
|
683
|
+
"type": "tuple"
|
|
733
684
|
}
|
|
734
685
|
],
|
|
735
|
-
"name": "
|
|
686
|
+
"name": "setPriceForArbitrum",
|
|
736
687
|
"outputs": [],
|
|
737
688
|
"stateMutability": "nonpayable",
|
|
738
689
|
"type": "function"
|
|
@@ -740,12 +691,12 @@
|
|
|
740
691
|
{
|
|
741
692
|
"inputs": [
|
|
742
693
|
{
|
|
743
|
-
"internalType": "
|
|
744
|
-
"name": "
|
|
745
|
-
"type": "
|
|
694
|
+
"internalType": "uint128",
|
|
695
|
+
"name": "_denominator",
|
|
696
|
+
"type": "uint128"
|
|
746
697
|
}
|
|
747
698
|
],
|
|
748
|
-
"name": "
|
|
699
|
+
"name": "setPriceRatioDenominator",
|
|
749
700
|
"outputs": [],
|
|
750
701
|
"stateMutability": "nonpayable",
|
|
751
702
|
"type": "function"
|
|
@@ -754,11 +705,16 @@
|
|
|
754
705
|
"inputs": [
|
|
755
706
|
{
|
|
756
707
|
"internalType": "address",
|
|
757
|
-
"name": "
|
|
708
|
+
"name": "_addr",
|
|
758
709
|
"type": "address"
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"internalType": "bool",
|
|
713
|
+
"name": "_active",
|
|
714
|
+
"type": "bool"
|
|
759
715
|
}
|
|
760
716
|
],
|
|
761
|
-
"name": "
|
|
717
|
+
"name": "setPriceUpdater",
|
|
762
718
|
"outputs": [],
|
|
763
719
|
"stateMutability": "nonpayable",
|
|
764
720
|
"type": "function"
|
|
@@ -766,31 +722,20 @@
|
|
|
766
722
|
{
|
|
767
723
|
"inputs": [
|
|
768
724
|
{
|
|
769
|
-
"internalType": "
|
|
770
|
-
"name": "
|
|
771
|
-
"type": "
|
|
772
|
-
}
|
|
773
|
-
],
|
|
774
|
-
"name": "supportsInterface",
|
|
775
|
-
"outputs": [
|
|
776
|
-
{
|
|
777
|
-
"internalType": "bool",
|
|
778
|
-
"name": "",
|
|
779
|
-
"type": "bool"
|
|
725
|
+
"internalType": "address",
|
|
726
|
+
"name": "newOwner",
|
|
727
|
+
"type": "address"
|
|
780
728
|
}
|
|
781
729
|
],
|
|
782
|
-
"
|
|
730
|
+
"name": "transferOwnership",
|
|
731
|
+
"outputs": [],
|
|
732
|
+
"stateMutability": "nonpayable",
|
|
783
733
|
"type": "function"
|
|
784
734
|
},
|
|
785
735
|
{
|
|
786
736
|
"inputs": [
|
|
787
737
|
{
|
|
788
738
|
"internalType": "address",
|
|
789
|
-
"name": "_lib",
|
|
790
|
-
"type": "address"
|
|
791
|
-
},
|
|
792
|
-
{
|
|
793
|
-
"internalType": "address payable",
|
|
794
739
|
"name": "_to",
|
|
795
740
|
"type": "address"
|
|
796
741
|
},
|
|
@@ -805,19 +750,6 @@
|
|
|
805
750
|
"stateMutability": "nonpayable",
|
|
806
751
|
"type": "function"
|
|
807
752
|
},
|
|
808
|
-
{
|
|
809
|
-
"inputs": [],
|
|
810
|
-
"name": "workerLib",
|
|
811
|
-
"outputs": [
|
|
812
|
-
{
|
|
813
|
-
"internalType": "address",
|
|
814
|
-
"name": "",
|
|
815
|
-
"type": "address"
|
|
816
|
-
}
|
|
817
|
-
],
|
|
818
|
-
"stateMutability": "view",
|
|
819
|
-
"type": "function"
|
|
820
|
-
},
|
|
821
753
|
{
|
|
822
754
|
"inputs": [
|
|
823
755
|
{
|
|
@@ -840,109 +772,78 @@
|
|
|
840
772
|
"type": "constructor"
|
|
841
773
|
}
|
|
842
774
|
],
|
|
843
|
-
"transactionHash": "
|
|
775
|
+
"transactionHash": "0x32e197765a2cf34979dace02499110e0c29e828f8fdcfc078961fd4d71952127",
|
|
844
776
|
"receipt": {
|
|
845
777
|
"to": null,
|
|
846
778
|
"from": "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC",
|
|
847
|
-
"contractAddress": "
|
|
779
|
+
"contractAddress": "0xa787Eb8b0C1598da585d154824231969cE100C64",
|
|
848
780
|
"transactionIndex": 0,
|
|
849
|
-
"gasUsed": "
|
|
850
|
-
"logsBloom": "
|
|
851
|
-
"blockHash": "
|
|
852
|
-
"transactionHash": "
|
|
781
|
+
"gasUsed": "625378",
|
|
782
|
+
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
783
|
+
"blockHash": "0x0000000000000009750456160ac7749a38563f56c8b8d4010bf21806d85460fa",
|
|
784
|
+
"transactionHash": "0x32e197765a2cf34979dace02499110e0c29e828f8fdcfc078961fd4d71952127",
|
|
853
785
|
"logs": [
|
|
854
786
|
{
|
|
855
787
|
"transactionIndex": 0,
|
|
856
|
-
"blockNumber":
|
|
857
|
-
"transactionHash": "
|
|
858
|
-
"address": "
|
|
788
|
+
"blockNumber": 9,
|
|
789
|
+
"transactionHash": "0x32e197765a2cf34979dace02499110e0c29e828f8fdcfc078961fd4d71952127",
|
|
790
|
+
"address": "0xa787Eb8b0C1598da585d154824231969cE100C64",
|
|
859
791
|
"topics": [
|
|
860
792
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
861
|
-
"
|
|
793
|
+
"0x000000000000000000000000301967ddfe9cb2a0138dbf0a54029fc2a4e40e69"
|
|
862
794
|
],
|
|
863
795
|
"data": "0x",
|
|
864
796
|
"logIndex": 0,
|
|
865
|
-
"blockHash": "
|
|
797
|
+
"blockHash": "0x0000000000000009750456160ac7749a38563f56c8b8d4010bf21806d85460fa"
|
|
866
798
|
},
|
|
867
799
|
{
|
|
868
800
|
"transactionIndex": 0,
|
|
869
|
-
"blockNumber":
|
|
870
|
-
"transactionHash": "
|
|
871
|
-
"address": "
|
|
801
|
+
"blockNumber": 9,
|
|
802
|
+
"transactionHash": "0x32e197765a2cf34979dace02499110e0c29e828f8fdcfc078961fd4d71952127",
|
|
803
|
+
"address": "0xa787Eb8b0C1598da585d154824231969cE100C64",
|
|
872
804
|
"topics": [
|
|
873
|
-
"
|
|
805
|
+
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
874
806
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
875
|
-
"0x000000000000000000000000aada98978453263132587d0805c4a17376af9f13",
|
|
876
807
|
"0x0000000000000000000000003c44cdddb6a900fa2b585dd299e03d12fa4293bc"
|
|
877
808
|
],
|
|
878
809
|
"data": "0x",
|
|
879
810
|
"logIndex": 1,
|
|
880
|
-
"blockHash": "
|
|
881
|
-
},
|
|
882
|
-
{
|
|
883
|
-
"transactionIndex": 0,
|
|
884
|
-
"blockNumber": 110,
|
|
885
|
-
"transactionHash": "0xbb92c356a1430a48fcb44494fa4bc17f85695b6105713854fc08f342a1352188",
|
|
886
|
-
"address": "0xF6168876932289D073567f347121A267095f3DD6",
|
|
887
|
-
"topics": [
|
|
888
|
-
"0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d",
|
|
889
|
-
"0x724aface199fe5bed93ae8508474576a9adf3dc443b2c451842a2242919f19de",
|
|
890
|
-
"0x000000000000000000000000712516e61c8b383df4a63cfe83d7701bce54b03e",
|
|
891
|
-
"0x0000000000000000000000003c44cdddb6a900fa2b585dd299e03d12fa4293bc"
|
|
892
|
-
],
|
|
893
|
-
"data": "0x",
|
|
894
|
-
"logIndex": 2,
|
|
895
|
-
"blockHash": "0x8cb82a56e3e5088973b0d9fa47b4cacd4be53a638362680ce3fd3d9ff98dcde0"
|
|
811
|
+
"blockHash": "0x0000000000000009750456160ac7749a38563f56c8b8d4010bf21806d85460fa"
|
|
896
812
|
},
|
|
897
813
|
{
|
|
898
814
|
"transactionIndex": 0,
|
|
899
|
-
"blockNumber":
|
|
900
|
-
"transactionHash": "
|
|
901
|
-
"address": "
|
|
902
|
-
"topics": [
|
|
903
|
-
"0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d",
|
|
904
|
-
"0xa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775",
|
|
905
|
-
"0x000000000000000000000000aada98978453263132587d0805c4a17376af9f13",
|
|
906
|
-
"0x0000000000000000000000003c44cdddb6a900fa2b585dd299e03d12fa4293bc"
|
|
907
|
-
],
|
|
908
|
-
"data": "0x",
|
|
909
|
-
"logIndex": 3,
|
|
910
|
-
"blockHash": "0x8cb82a56e3e5088973b0d9fa47b4cacd4be53a638362680ce3fd3d9ff98dcde0"
|
|
911
|
-
},
|
|
912
|
-
{
|
|
913
|
-
"transactionIndex": 0,
|
|
914
|
-
"blockNumber": 110,
|
|
915
|
-
"transactionHash": "0xbb92c356a1430a48fcb44494fa4bc17f85695b6105713854fc08f342a1352188",
|
|
916
|
-
"address": "0xF6168876932289D073567f347121A267095f3DD6",
|
|
815
|
+
"blockNumber": 9,
|
|
816
|
+
"transactionHash": "0x32e197765a2cf34979dace02499110e0c29e828f8fdcfc078961fd4d71952127",
|
|
817
|
+
"address": "0xa787Eb8b0C1598da585d154824231969cE100C64",
|
|
917
818
|
"topics": [
|
|
918
819
|
"0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
|
|
919
820
|
],
|
|
920
821
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
921
|
-
"logIndex":
|
|
922
|
-
"blockHash": "
|
|
822
|
+
"logIndex": 2,
|
|
823
|
+
"blockHash": "0x0000000000000009750456160ac7749a38563f56c8b8d4010bf21806d85460fa"
|
|
923
824
|
},
|
|
924
825
|
{
|
|
925
826
|
"transactionIndex": 0,
|
|
926
|
-
"blockNumber":
|
|
927
|
-
"transactionHash": "
|
|
928
|
-
"address": "
|
|
827
|
+
"blockNumber": 9,
|
|
828
|
+
"transactionHash": "0x32e197765a2cf34979dace02499110e0c29e828f8fdcfc078961fd4d71952127",
|
|
829
|
+
"address": "0xa787Eb8b0C1598da585d154824231969cE100C64",
|
|
929
830
|
"topics": [
|
|
930
831
|
"0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
|
|
931
832
|
],
|
|
932
|
-
"data": "
|
|
933
|
-
"logIndex":
|
|
934
|
-
"blockHash": "
|
|
833
|
+
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000007cc552f1b8b734a7311b720888d08b5c3781f9c3",
|
|
834
|
+
"logIndex": 3,
|
|
835
|
+
"blockHash": "0x0000000000000009750456160ac7749a38563f56c8b8d4010bf21806d85460fa"
|
|
935
836
|
}
|
|
936
837
|
],
|
|
937
|
-
"blockNumber":
|
|
938
|
-
"cumulativeGasUsed": "
|
|
838
|
+
"blockNumber": 9,
|
|
839
|
+
"cumulativeGasUsed": "625378",
|
|
939
840
|
"status": 1,
|
|
940
841
|
"byzantium": true
|
|
941
842
|
},
|
|
942
843
|
"args": [
|
|
943
|
-
"
|
|
944
|
-
"
|
|
945
|
-
"
|
|
844
|
+
"0x301967Ddfe9cB2A0138DBF0a54029fc2A4E40e69",
|
|
845
|
+
"0x7CC552F1b8B734a7311B720888D08B5c3781f9c3",
|
|
846
|
+
"0xc4d66de8000000000000000000000000b9cb228d7498d6f02b0f88f7b16d2cf836d2aea9"
|
|
946
847
|
],
|
|
947
848
|
"numDeployments": 1,
|
|
948
849
|
"solcInputHash": "0e89febeebc7444140de8e67c9067d2c",
|
|
@@ -951,17 +852,10 @@
|
|
|
951
852
|
"execute": {
|
|
952
853
|
"methodName": "initialize",
|
|
953
854
|
"args": [
|
|
954
|
-
|
|
955
|
-
"0x712516e61C8B383dF4A63CFe83d7701Bce54B03e"
|
|
956
|
-
],
|
|
957
|
-
"0x8438Ad1C834623CfF278AB6829a248E37C2D7E3f",
|
|
958
|
-
"0xaAda98978453263132587D0805C4A17376Af9F13",
|
|
959
|
-
[
|
|
960
|
-
"0xaAda98978453263132587D0805C4A17376Af9F13"
|
|
961
|
-
]
|
|
855
|
+
"0xB9Cb228D7498d6F02B0F88F7b16d2Cf836d2aeA9"
|
|
962
856
|
]
|
|
963
857
|
},
|
|
964
|
-
"implementation": "
|
|
858
|
+
"implementation": "0x301967Ddfe9cB2A0138DBF0a54029fc2A4E40e69",
|
|
965
859
|
"devdoc": {
|
|
966
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.",
|
|
967
861
|
"kind": "dev",
|