@layerzerolabs/lz-evm-sdk-v1 1.5.33 → 1.5.35
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/loot-mainnet/DefaultProxyAdmin.json +273 -0
- package/deployments/loot-mainnet/Endpoint.json +1282 -0
- package/deployments/loot-mainnet/FPValidator.json +382 -0
- package/deployments/loot-mainnet/MPTValidator01.json +395 -0
- package/deployments/loot-mainnet/NonceContract.json +159 -0
- package/deployments/loot-mainnet/RelayerV2.json +1182 -0
- package/deployments/loot-mainnet/RelayerV2_Implementation.json +1283 -0
- package/deployments/loot-mainnet/RelayerV2_Proxy.json +245 -0
- package/deployments/loot-mainnet/TreasuryV2.json +458 -0
- package/deployments/loot-mainnet/UltraLightNodeV2.json +1816 -0
- package/deployments/loot-testnet/DefaultProxyAdmin.json +273 -0
- package/deployments/loot-testnet/Endpoint.json +1282 -0
- package/deployments/loot-testnet/FPValidator.json +382 -0
- package/deployments/loot-testnet/MPTValidator01.json +395 -0
- package/deployments/loot-testnet/NonceContract.json +159 -0
- package/deployments/{orderly-testnet/PriceFeed.json → loot-testnet/RelayerV2.json} +649 -227
- package/deployments/loot-testnet/RelayerV2_Implementation.json +1283 -0
- package/deployments/{orderly-testnet/PriceFeed_Proxy.json → loot-testnet/RelayerV2_Proxy.json} +39 -27
- package/deployments/loot-testnet/TreasuryV2.json +458 -0
- package/deployments/loot-testnet/UltraLightNodeV2.json +1816 -0
- package/deployments/meritcircle-mainnet/DefaultProxyAdmin.json +273 -0
- package/deployments/meritcircle-mainnet/Endpoint.json +1282 -0
- package/deployments/meritcircle-mainnet/FPValidator.json +382 -0
- package/deployments/meritcircle-mainnet/MPTValidator01.json +395 -0
- package/deployments/meritcircle-mainnet/NonceContract.json +159 -0
- package/deployments/meritcircle-mainnet/RelayerV2.json +1182 -0
- package/deployments/meritcircle-mainnet/RelayerV2_Implementation.json +1283 -0
- package/deployments/meritcircle-mainnet/RelayerV2_Proxy.json +245 -0
- package/deployments/meritcircle-mainnet/TreasuryV2.json +458 -0
- package/deployments/meritcircle-mainnet/UltraLightNodeV2.json +1816 -0
- package/deployments/orderly-testnet/DefaultProxyAdmin.json +23 -23
- package/deployments/orderly-testnet/Endpoint.json +26 -26
- package/deployments/orderly-testnet/FPValidator.json +15 -15
- package/deployments/orderly-testnet/MPTValidator01.json +15 -15
- package/deployments/orderly-testnet/NonceContract.json +13 -13
- package/deployments/orderly-testnet/RelayerV2.json +41 -40
- package/deployments/orderly-testnet/RelayerV2_Implementation.json +9 -9
- package/deployments/orderly-testnet/RelayerV2_Proxy.json +36 -36
- package/deployments/orderly-testnet/TreasuryV2.json +27 -27
- package/deployments/orderly-testnet/UltraLightNodeV2.json +49 -49
- package/deployments/telos-mainnet/DefaultProxyAdmin.json +273 -0
- package/deployments/telos-mainnet/Endpoint.json +1282 -0
- package/deployments/telos-mainnet/FPValidator.json +382 -0
- package/deployments/telos-mainnet/MPTValidator01.json +395 -0
- package/deployments/telos-mainnet/NonceContract.json +159 -0
- package/deployments/telos-mainnet/RelayerV2.json +1182 -0
- package/deployments/telos-mainnet/RelayerV2_Implementation.json +1283 -0
- package/deployments/telos-mainnet/RelayerV2_Proxy.json +245 -0
- package/deployments/telos-mainnet/TreasuryV2.json +458 -0
- package/deployments/telos-mainnet/UltraLightNodeV2.json +1816 -0
- package/deployments/telos-testnet/DefaultProxyAdmin.json +273 -0
- package/deployments/telos-testnet/Endpoint.json +1282 -0
- package/deployments/telos-testnet/FPValidator.json +382 -0
- package/deployments/telos-testnet/MPTValidator01.json +395 -0
- package/deployments/telos-testnet/NonceContract.json +159 -0
- package/deployments/telos-testnet/RelayerV2.json +1182 -0
- package/deployments/telos-testnet/RelayerV2_Implementation.json +1283 -0
- package/deployments/telos-testnet/RelayerV2_Proxy.json +245 -0
- package/deployments/telos-testnet/TreasuryV2.json +458 -0
- package/deployments/telos-testnet/UltraLightNodeV2.json +1816 -0
- package/deployments/tomo-mainnet/DefaultProxyAdmin.json +273 -0
- package/deployments/tomo-mainnet/Endpoint.json +1282 -0
- package/deployments/tomo-mainnet/FPValidator.json +382 -0
- package/deployments/tomo-mainnet/MPTValidator01.json +395 -0
- package/deployments/tomo-mainnet/NonceContract.json +159 -0
- package/deployments/tomo-mainnet/RelayerV2.json +1182 -0
- package/deployments/tomo-mainnet/RelayerV2_Implementation.json +1283 -0
- package/deployments/tomo-mainnet/RelayerV2_Proxy.json +245 -0
- package/deployments/tomo-mainnet/TreasuryV2.json +458 -0
- package/deployments/tomo-mainnet/UltraLightNodeV2.json +1816 -0
- package/deployments/tomo-testnet/DefaultProxyAdmin.json +273 -0
- package/deployments/tomo-testnet/Endpoint.json +1282 -0
- package/deployments/tomo-testnet/FPValidator.json +382 -0
- package/deployments/tomo-testnet/MPTValidator01.json +395 -0
- package/deployments/tomo-testnet/NonceContract.json +159 -0
- package/deployments/tomo-testnet/RelayerV2.json +1182 -0
- package/deployments/tomo-testnet/RelayerV2_Implementation.json +1283 -0
- package/deployments/tomo-testnet/RelayerV2_Proxy.json +245 -0
- package/deployments/tomo-testnet/TreasuryV2.json +458 -0
- package/deployments/tomo-testnet/UltraLightNodeV2.json +1816 -0
- package/package.json +4 -4
- package/deployments/orderly-testnet/PriceFeed_Implementation.json +0 -776
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x35AdD9321507A87471a11EBd4aE4f592d531e620",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"anonymous": false,
|
|
@@ -111,6 +111,38 @@
|
|
|
111
111
|
"stateMutability": "payable",
|
|
112
112
|
"type": "receive"
|
|
113
113
|
},
|
|
114
|
+
{
|
|
115
|
+
"anonymous": false,
|
|
116
|
+
"inputs": [
|
|
117
|
+
{
|
|
118
|
+
"indexed": false,
|
|
119
|
+
"internalType": "address",
|
|
120
|
+
"name": "addr",
|
|
121
|
+
"type": "address"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"indexed": false,
|
|
125
|
+
"internalType": "bool",
|
|
126
|
+
"name": "approved",
|
|
127
|
+
"type": "bool"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"name": "ApproveAddress",
|
|
131
|
+
"type": "event"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"anonymous": false,
|
|
135
|
+
"inputs": [
|
|
136
|
+
{
|
|
137
|
+
"indexed": false,
|
|
138
|
+
"internalType": "uint256",
|
|
139
|
+
"name": "totalFee",
|
|
140
|
+
"type": "uint256"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"name": "AssignJob",
|
|
144
|
+
"type": "event"
|
|
145
|
+
},
|
|
114
146
|
{
|
|
115
147
|
"anonymous": false,
|
|
116
148
|
"inputs": [
|
|
@@ -130,74 +162,225 @@
|
|
|
130
162
|
"name": "OwnershipTransferred",
|
|
131
163
|
"type": "event"
|
|
132
164
|
},
|
|
165
|
+
{
|
|
166
|
+
"anonymous": false,
|
|
167
|
+
"inputs": [
|
|
168
|
+
{
|
|
169
|
+
"indexed": false,
|
|
170
|
+
"internalType": "uint16",
|
|
171
|
+
"name": "chainId",
|
|
172
|
+
"type": "uint16"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"indexed": false,
|
|
176
|
+
"internalType": "uint16",
|
|
177
|
+
"name": "outboundProofType",
|
|
178
|
+
"type": "uint16"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"indexed": false,
|
|
182
|
+
"internalType": "uint128",
|
|
183
|
+
"name": "dstNativeAmtCap",
|
|
184
|
+
"type": "uint128"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"indexed": false,
|
|
188
|
+
"internalType": "uint64",
|
|
189
|
+
"name": "baseGas",
|
|
190
|
+
"type": "uint64"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"indexed": false,
|
|
194
|
+
"internalType": "uint64",
|
|
195
|
+
"name": "gasPerByte",
|
|
196
|
+
"type": "uint64"
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
"name": "SetDstConfig",
|
|
200
|
+
"type": "event"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"anonymous": false,
|
|
204
|
+
"inputs": [
|
|
205
|
+
{
|
|
206
|
+
"indexed": false,
|
|
207
|
+
"internalType": "uint16",
|
|
208
|
+
"name": "chainId",
|
|
209
|
+
"type": "uint16"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"indexed": false,
|
|
213
|
+
"internalType": "uint128",
|
|
214
|
+
"name": "dstPriceRatio",
|
|
215
|
+
"type": "uint128"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"indexed": false,
|
|
219
|
+
"internalType": "uint128",
|
|
220
|
+
"name": "dstGasPriceInWei",
|
|
221
|
+
"type": "uint128"
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"name": "SetDstPrice",
|
|
225
|
+
"type": "event"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"anonymous": false,
|
|
229
|
+
"inputs": [
|
|
230
|
+
{
|
|
231
|
+
"indexed": false,
|
|
232
|
+
"internalType": "address",
|
|
233
|
+
"name": "priceConfigUpdater",
|
|
234
|
+
"type": "address"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"indexed": false,
|
|
238
|
+
"internalType": "bool",
|
|
239
|
+
"name": "allow",
|
|
240
|
+
"type": "bool"
|
|
241
|
+
}
|
|
242
|
+
],
|
|
243
|
+
"name": "SetPriceConfigUpdater",
|
|
244
|
+
"type": "event"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"anonymous": false,
|
|
248
|
+
"inputs": [
|
|
249
|
+
{
|
|
250
|
+
"indexed": true,
|
|
251
|
+
"internalType": "address",
|
|
252
|
+
"name": "to",
|
|
253
|
+
"type": "address"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"indexed": true,
|
|
257
|
+
"internalType": "uint256",
|
|
258
|
+
"name": "quantity",
|
|
259
|
+
"type": "uint256"
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"name": "ValueTransferFailed",
|
|
263
|
+
"type": "event"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"anonymous": false,
|
|
267
|
+
"inputs": [
|
|
268
|
+
{
|
|
269
|
+
"indexed": false,
|
|
270
|
+
"internalType": "address",
|
|
271
|
+
"name": "to",
|
|
272
|
+
"type": "address"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"indexed": false,
|
|
276
|
+
"internalType": "uint256",
|
|
277
|
+
"name": "amount",
|
|
278
|
+
"type": "uint256"
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
"name": "Withdraw",
|
|
282
|
+
"type": "event"
|
|
283
|
+
},
|
|
133
284
|
{
|
|
134
285
|
"inputs": [],
|
|
135
|
-
"name": "
|
|
286
|
+
"name": "AIRDROP_GAS_LIMIT",
|
|
136
287
|
"outputs": [
|
|
137
288
|
{
|
|
138
|
-
"internalType": "
|
|
289
|
+
"internalType": "uint256",
|
|
139
290
|
"name": "",
|
|
140
|
-
"type": "
|
|
291
|
+
"type": "uint256"
|
|
141
292
|
}
|
|
142
293
|
],
|
|
143
294
|
"stateMutability": "view",
|
|
144
295
|
"type": "function"
|
|
145
296
|
},
|
|
146
297
|
{
|
|
147
|
-
"inputs": [
|
|
148
|
-
|
|
298
|
+
"inputs": [
|
|
299
|
+
{
|
|
300
|
+
"internalType": "address",
|
|
301
|
+
"name": "",
|
|
302
|
+
"type": "address"
|
|
303
|
+
}
|
|
304
|
+
],
|
|
305
|
+
"name": "approvedAddresses",
|
|
149
306
|
"outputs": [
|
|
150
307
|
{
|
|
151
|
-
"internalType": "
|
|
308
|
+
"internalType": "bool",
|
|
152
309
|
"name": "",
|
|
153
|
-
"type": "
|
|
310
|
+
"type": "bool"
|
|
154
311
|
}
|
|
155
312
|
],
|
|
156
313
|
"stateMutability": "view",
|
|
157
314
|
"type": "function"
|
|
158
315
|
},
|
|
159
316
|
{
|
|
160
|
-
"inputs": [
|
|
161
|
-
"name": "arbitrumPriceExt",
|
|
162
|
-
"outputs": [
|
|
317
|
+
"inputs": [
|
|
163
318
|
{
|
|
164
|
-
"internalType": "
|
|
165
|
-
"name": "
|
|
166
|
-
"type": "
|
|
319
|
+
"internalType": "uint16",
|
|
320
|
+
"name": "_dstChainId",
|
|
321
|
+
"type": "uint16"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"internalType": "uint16",
|
|
325
|
+
"name": "_outboundProofType",
|
|
326
|
+
"type": "uint16"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"internalType": "address",
|
|
330
|
+
"name": "_userApplication",
|
|
331
|
+
"type": "address"
|
|
167
332
|
},
|
|
168
333
|
{
|
|
169
|
-
"internalType": "
|
|
170
|
-
"name": "
|
|
171
|
-
"type": "
|
|
334
|
+
"internalType": "uint256",
|
|
335
|
+
"name": "_payloadSize",
|
|
336
|
+
"type": "uint256"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"internalType": "bytes",
|
|
340
|
+
"name": "_adapterParams",
|
|
341
|
+
"type": "bytes"
|
|
172
342
|
}
|
|
173
343
|
],
|
|
174
|
-
"
|
|
344
|
+
"name": "assignJob",
|
|
345
|
+
"outputs": [
|
|
346
|
+
{
|
|
347
|
+
"internalType": "uint256",
|
|
348
|
+
"name": "fee",
|
|
349
|
+
"type": "uint256"
|
|
350
|
+
}
|
|
351
|
+
],
|
|
352
|
+
"stateMutability": "nonpayable",
|
|
175
353
|
"type": "function"
|
|
176
354
|
},
|
|
177
355
|
{
|
|
178
356
|
"inputs": [
|
|
357
|
+
{
|
|
358
|
+
"internalType": "uint16",
|
|
359
|
+
"name": "",
|
|
360
|
+
"type": "uint16"
|
|
361
|
+
},
|
|
179
362
|
{
|
|
180
363
|
"internalType": "uint16",
|
|
181
364
|
"name": "",
|
|
182
365
|
"type": "uint16"
|
|
183
366
|
}
|
|
184
367
|
],
|
|
185
|
-
"name": "
|
|
368
|
+
"name": "dstConfigLookup",
|
|
186
369
|
"outputs": [
|
|
187
370
|
{
|
|
188
371
|
"internalType": "uint128",
|
|
189
|
-
"name": "
|
|
372
|
+
"name": "dstNativeAmtCap",
|
|
190
373
|
"type": "uint128"
|
|
191
374
|
},
|
|
192
375
|
{
|
|
193
376
|
"internalType": "uint64",
|
|
194
|
-
"name": "
|
|
377
|
+
"name": "baseGas",
|
|
195
378
|
"type": "uint64"
|
|
196
379
|
},
|
|
197
380
|
{
|
|
198
|
-
"internalType": "
|
|
381
|
+
"internalType": "uint64",
|
|
199
382
|
"name": "gasPerByte",
|
|
200
|
-
"type": "
|
|
383
|
+
"type": "uint64"
|
|
201
384
|
}
|
|
202
385
|
],
|
|
203
386
|
"stateMutability": "view",
|
|
@@ -207,30 +390,15 @@
|
|
|
207
390
|
"inputs": [
|
|
208
391
|
{
|
|
209
392
|
"internalType": "uint16",
|
|
210
|
-
"name": "
|
|
393
|
+
"name": "",
|
|
211
394
|
"type": "uint16"
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"internalType": "uint256",
|
|
215
|
-
"name": "_callDataSize",
|
|
216
|
-
"type": "uint256"
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
"internalType": "uint256",
|
|
220
|
-
"name": "_gas",
|
|
221
|
-
"type": "uint256"
|
|
222
395
|
}
|
|
223
396
|
],
|
|
224
|
-
"name": "
|
|
397
|
+
"name": "dstFloorMarginsUSD",
|
|
225
398
|
"outputs": [
|
|
226
|
-
{
|
|
227
|
-
"internalType": "uint256",
|
|
228
|
-
"name": "fee",
|
|
229
|
-
"type": "uint256"
|
|
230
|
-
},
|
|
231
399
|
{
|
|
232
400
|
"internalType": "uint128",
|
|
233
|
-
"name": "
|
|
401
|
+
"name": "",
|
|
234
402
|
"type": "uint128"
|
|
235
403
|
}
|
|
236
404
|
],
|
|
@@ -241,30 +409,15 @@
|
|
|
241
409
|
"inputs": [
|
|
242
410
|
{
|
|
243
411
|
"internalType": "uint16",
|
|
244
|
-
"name": "
|
|
412
|
+
"name": "",
|
|
245
413
|
"type": "uint16"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"internalType": "uint256",
|
|
249
|
-
"name": "_callDataSize",
|
|
250
|
-
"type": "uint256"
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
"internalType": "uint256",
|
|
254
|
-
"name": "_gas",
|
|
255
|
-
"type": "uint256"
|
|
256
414
|
}
|
|
257
415
|
],
|
|
258
|
-
"name": "
|
|
416
|
+
"name": "dstMultipliers",
|
|
259
417
|
"outputs": [
|
|
260
|
-
{
|
|
261
|
-
"internalType": "uint256",
|
|
262
|
-
"name": "fee",
|
|
263
|
-
"type": "uint256"
|
|
264
|
-
},
|
|
265
418
|
{
|
|
266
419
|
"internalType": "uint128",
|
|
267
|
-
"name": "
|
|
420
|
+
"name": "",
|
|
268
421
|
"type": "uint128"
|
|
269
422
|
}
|
|
270
423
|
],
|
|
@@ -277,34 +430,68 @@
|
|
|
277
430
|
"internalType": "uint16",
|
|
278
431
|
"name": "_dstChainId",
|
|
279
432
|
"type": "uint16"
|
|
280
|
-
}
|
|
433
|
+
}
|
|
434
|
+
],
|
|
435
|
+
"name": "dstPriceLookup",
|
|
436
|
+
"outputs": [
|
|
281
437
|
{
|
|
282
|
-
"
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
438
|
+
"components": [
|
|
439
|
+
{
|
|
440
|
+
"internalType": "uint128",
|
|
441
|
+
"name": "dstPriceRatio",
|
|
442
|
+
"type": "uint128"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"internalType": "uint128",
|
|
446
|
+
"name": "dstGasPriceInWei",
|
|
447
|
+
"type": "uint128"
|
|
448
|
+
}
|
|
449
|
+
],
|
|
450
|
+
"internalType": "struct RelayerV2.DstPrice",
|
|
451
|
+
"name": "",
|
|
452
|
+
"type": "tuple"
|
|
453
|
+
}
|
|
454
|
+
],
|
|
455
|
+
"stateMutability": "view",
|
|
456
|
+
"type": "function"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"inputs": [
|
|
286
460
|
{
|
|
287
|
-
"internalType": "
|
|
288
|
-
"name": "
|
|
289
|
-
"type": "
|
|
461
|
+
"internalType": "uint16",
|
|
462
|
+
"name": "",
|
|
463
|
+
"type": "uint16"
|
|
290
464
|
}
|
|
291
465
|
],
|
|
292
|
-
"name": "
|
|
466
|
+
"name": "dstPriceLookupOld",
|
|
293
467
|
"outputs": [
|
|
294
468
|
{
|
|
295
|
-
"internalType": "
|
|
296
|
-
"name": "
|
|
297
|
-
"type": "
|
|
469
|
+
"internalType": "uint128",
|
|
470
|
+
"name": "dstPriceRatio",
|
|
471
|
+
"type": "uint128"
|
|
298
472
|
},
|
|
299
473
|
{
|
|
300
474
|
"internalType": "uint128",
|
|
301
|
-
"name": "
|
|
475
|
+
"name": "dstGasPriceInWei",
|
|
302
476
|
"type": "uint128"
|
|
303
477
|
}
|
|
304
478
|
],
|
|
305
479
|
"stateMutability": "view",
|
|
306
480
|
"type": "function"
|
|
307
481
|
},
|
|
482
|
+
{
|
|
483
|
+
"inputs": [],
|
|
484
|
+
"name": "fpBytes",
|
|
485
|
+
"outputs": [
|
|
486
|
+
{
|
|
487
|
+
"internalType": "uint16",
|
|
488
|
+
"name": "",
|
|
489
|
+
"type": "uint16"
|
|
490
|
+
}
|
|
491
|
+
],
|
|
492
|
+
"stateMutability": "view",
|
|
493
|
+
"type": "function"
|
|
494
|
+
},
|
|
308
495
|
{
|
|
309
496
|
"inputs": [
|
|
310
497
|
{
|
|
@@ -313,63 +500,82 @@
|
|
|
313
500
|
"type": "uint16"
|
|
314
501
|
},
|
|
315
502
|
{
|
|
316
|
-
"internalType": "
|
|
317
|
-
"name": "
|
|
318
|
-
"type": "
|
|
503
|
+
"internalType": "uint16",
|
|
504
|
+
"name": "_outboundProofType",
|
|
505
|
+
"type": "uint16"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"internalType": "address",
|
|
509
|
+
"name": "_userApplication",
|
|
510
|
+
"type": "address"
|
|
319
511
|
},
|
|
320
512
|
{
|
|
321
513
|
"internalType": "uint256",
|
|
322
|
-
"name": "
|
|
514
|
+
"name": "_payloadSize",
|
|
323
515
|
"type": "uint256"
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"internalType": "bytes",
|
|
519
|
+
"name": "_adapterParams",
|
|
520
|
+
"type": "bytes"
|
|
324
521
|
}
|
|
325
522
|
],
|
|
326
|
-
"name": "
|
|
523
|
+
"name": "getFee",
|
|
327
524
|
"outputs": [
|
|
328
525
|
{
|
|
329
526
|
"internalType": "uint256",
|
|
330
|
-
"name": "
|
|
527
|
+
"name": "",
|
|
331
528
|
"type": "uint256"
|
|
529
|
+
}
|
|
530
|
+
],
|
|
531
|
+
"stateMutability": "view",
|
|
532
|
+
"type": "function"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"inputs": [
|
|
536
|
+
{
|
|
537
|
+
"internalType": "address",
|
|
538
|
+
"name": "_uln",
|
|
539
|
+
"type": "address"
|
|
332
540
|
},
|
|
333
541
|
{
|
|
334
|
-
"internalType": "
|
|
335
|
-
"name": "
|
|
336
|
-
"type": "
|
|
542
|
+
"internalType": "address",
|
|
543
|
+
"name": "_priceFeed",
|
|
544
|
+
"type": "address"
|
|
337
545
|
}
|
|
338
546
|
],
|
|
339
|
-
"
|
|
547
|
+
"name": "initialize",
|
|
548
|
+
"outputs": [],
|
|
549
|
+
"stateMutability": "nonpayable",
|
|
340
550
|
"type": "function"
|
|
341
551
|
},
|
|
342
552
|
{
|
|
343
553
|
"inputs": [
|
|
344
554
|
{
|
|
345
|
-
"internalType": "
|
|
346
|
-
"name": "
|
|
347
|
-
"type": "
|
|
555
|
+
"internalType": "address",
|
|
556
|
+
"name": "_relayerAddress",
|
|
557
|
+
"type": "address"
|
|
348
558
|
}
|
|
349
559
|
],
|
|
350
|
-
"name": "
|
|
560
|
+
"name": "isApproved",
|
|
351
561
|
"outputs": [
|
|
352
562
|
{
|
|
353
|
-
"
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
],
|
|
370
|
-
"internalType": "struct ILayerZeroPriceFeed.Price",
|
|
371
|
-
"name": "price",
|
|
372
|
-
"type": "tuple"
|
|
563
|
+
"internalType": "bool",
|
|
564
|
+
"name": "",
|
|
565
|
+
"type": "bool"
|
|
566
|
+
}
|
|
567
|
+
],
|
|
568
|
+
"stateMutability": "view",
|
|
569
|
+
"type": "function"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"inputs": [],
|
|
573
|
+
"name": "mptOverhead",
|
|
574
|
+
"outputs": [
|
|
575
|
+
{
|
|
576
|
+
"internalType": "uint16",
|
|
577
|
+
"name": "",
|
|
578
|
+
"type": "uint16"
|
|
373
579
|
}
|
|
374
580
|
],
|
|
375
581
|
"stateMutability": "view",
|
|
@@ -377,7 +583,7 @@
|
|
|
377
583
|
},
|
|
378
584
|
{
|
|
379
585
|
"inputs": [],
|
|
380
|
-
"name": "
|
|
586
|
+
"name": "multiplierBps",
|
|
381
587
|
"outputs": [
|
|
382
588
|
{
|
|
383
589
|
"internalType": "uint128",
|
|
@@ -392,23 +598,23 @@
|
|
|
392
598
|
"inputs": [
|
|
393
599
|
{
|
|
394
600
|
"internalType": "address",
|
|
395
|
-
"name": "
|
|
601
|
+
"name": "_priceFeed",
|
|
396
602
|
"type": "address"
|
|
397
603
|
}
|
|
398
604
|
],
|
|
399
|
-
"name": "
|
|
605
|
+
"name": "onUpgrade",
|
|
400
606
|
"outputs": [],
|
|
401
607
|
"stateMutability": "nonpayable",
|
|
402
608
|
"type": "function"
|
|
403
609
|
},
|
|
404
610
|
{
|
|
405
611
|
"inputs": [],
|
|
406
|
-
"name": "
|
|
612
|
+
"name": "owner",
|
|
407
613
|
"outputs": [
|
|
408
614
|
{
|
|
409
|
-
"internalType": "
|
|
615
|
+
"internalType": "address",
|
|
410
616
|
"name": "",
|
|
411
|
-
"type": "
|
|
617
|
+
"type": "address"
|
|
412
618
|
}
|
|
413
619
|
],
|
|
414
620
|
"stateMutability": "view",
|
|
@@ -416,19 +622,12 @@
|
|
|
416
622
|
},
|
|
417
623
|
{
|
|
418
624
|
"inputs": [],
|
|
419
|
-
"name": "
|
|
420
|
-
"outputs": [],
|
|
421
|
-
"stateMutability": "nonpayable",
|
|
422
|
-
"type": "function"
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
"inputs": [],
|
|
426
|
-
"name": "owner",
|
|
625
|
+
"name": "paused",
|
|
427
626
|
"outputs": [
|
|
428
627
|
{
|
|
429
|
-
"internalType": "
|
|
628
|
+
"internalType": "bool",
|
|
430
629
|
"name": "",
|
|
431
|
-
"type": "
|
|
630
|
+
"type": "bool"
|
|
432
631
|
}
|
|
433
632
|
],
|
|
434
633
|
"stateMutability": "view",
|
|
@@ -442,7 +641,7 @@
|
|
|
442
641
|
"type": "address"
|
|
443
642
|
}
|
|
444
643
|
],
|
|
445
|
-
"name": "
|
|
644
|
+
"name": "priceConfigUpdaters",
|
|
446
645
|
"outputs": [
|
|
447
646
|
{
|
|
448
647
|
"internalType": "bool",
|
|
@@ -453,6 +652,19 @@
|
|
|
453
652
|
"stateMutability": "view",
|
|
454
653
|
"type": "function"
|
|
455
654
|
},
|
|
655
|
+
{
|
|
656
|
+
"inputs": [],
|
|
657
|
+
"name": "priceFeed",
|
|
658
|
+
"outputs": [
|
|
659
|
+
{
|
|
660
|
+
"internalType": "contract ILayerZeroPriceFeedV2",
|
|
661
|
+
"name": "",
|
|
662
|
+
"type": "address"
|
|
663
|
+
}
|
|
664
|
+
],
|
|
665
|
+
"stateMutability": "view",
|
|
666
|
+
"type": "function"
|
|
667
|
+
},
|
|
456
668
|
{
|
|
457
669
|
"inputs": [],
|
|
458
670
|
"name": "renounceOwnership",
|
|
@@ -463,25 +675,50 @@
|
|
|
463
675
|
{
|
|
464
676
|
"inputs": [
|
|
465
677
|
{
|
|
466
|
-
"internalType": "
|
|
467
|
-
"name": "
|
|
468
|
-
"type": "
|
|
678
|
+
"internalType": "address",
|
|
679
|
+
"name": "_relayerAddress",
|
|
680
|
+
"type": "address"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"internalType": "bool",
|
|
684
|
+
"name": "_approve",
|
|
685
|
+
"type": "bool"
|
|
469
686
|
}
|
|
470
687
|
],
|
|
471
|
-
"name": "
|
|
688
|
+
"name": "setApprovedAddress",
|
|
472
689
|
"outputs": [],
|
|
473
690
|
"stateMutability": "nonpayable",
|
|
474
691
|
"type": "function"
|
|
475
692
|
},
|
|
476
693
|
{
|
|
477
694
|
"inputs": [
|
|
695
|
+
{
|
|
696
|
+
"internalType": "uint16",
|
|
697
|
+
"name": "_chainId",
|
|
698
|
+
"type": "uint16"
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"internalType": "uint16",
|
|
702
|
+
"name": "_outboundProofType",
|
|
703
|
+
"type": "uint16"
|
|
704
|
+
},
|
|
478
705
|
{
|
|
479
706
|
"internalType": "uint128",
|
|
480
|
-
"name": "
|
|
707
|
+
"name": "_dstNativeAmtCap",
|
|
481
708
|
"type": "uint128"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"internalType": "uint64",
|
|
712
|
+
"name": "_baseGas",
|
|
713
|
+
"type": "uint64"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"internalType": "uint64",
|
|
717
|
+
"name": "_gasPerByte",
|
|
718
|
+
"type": "uint64"
|
|
482
719
|
}
|
|
483
720
|
],
|
|
484
|
-
"name": "
|
|
721
|
+
"name": "setDstConfig",
|
|
485
722
|
"outputs": [],
|
|
486
723
|
"stateMutability": "nonpayable",
|
|
487
724
|
"type": "function"
|
|
@@ -496,34 +733,40 @@
|
|
|
496
733
|
"type": "uint16"
|
|
497
734
|
},
|
|
498
735
|
{
|
|
499
|
-
"
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
"name": "priceRatio",
|
|
503
|
-
"type": "uint128"
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
"internalType": "uint64",
|
|
507
|
-
"name": "gasPriceInUnit",
|
|
508
|
-
"type": "uint64"
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
"internalType": "uint32",
|
|
512
|
-
"name": "gasPerByte",
|
|
513
|
-
"type": "uint32"
|
|
514
|
-
}
|
|
515
|
-
],
|
|
516
|
-
"internalType": "struct ILayerZeroPriceFeed.Price",
|
|
517
|
-
"name": "price",
|
|
518
|
-
"type": "tuple"
|
|
736
|
+
"internalType": "uint128",
|
|
737
|
+
"name": "floorMargin",
|
|
738
|
+
"type": "uint128"
|
|
519
739
|
}
|
|
520
740
|
],
|
|
521
|
-
"internalType": "struct
|
|
522
|
-
"name": "
|
|
741
|
+
"internalType": "struct RelayerV2.DstFloorMargin[]",
|
|
742
|
+
"name": "_margins",
|
|
523
743
|
"type": "tuple[]"
|
|
524
744
|
}
|
|
525
745
|
],
|
|
526
|
-
"name": "
|
|
746
|
+
"name": "setDstFloorMarginsUSD",
|
|
747
|
+
"outputs": [],
|
|
748
|
+
"stateMutability": "nonpayable",
|
|
749
|
+
"type": "function"
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"inputs": [
|
|
753
|
+
{
|
|
754
|
+
"internalType": "uint16",
|
|
755
|
+
"name": "_chainId",
|
|
756
|
+
"type": "uint16"
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"internalType": "uint128",
|
|
760
|
+
"name": "_dstPriceRatio",
|
|
761
|
+
"type": "uint128"
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
"internalType": "uint128",
|
|
765
|
+
"name": "_dstGasPriceInWei",
|
|
766
|
+
"type": "uint128"
|
|
767
|
+
}
|
|
768
|
+
],
|
|
769
|
+
"name": "setDstPrice",
|
|
527
770
|
"outputs": [],
|
|
528
771
|
"stateMutability": "nonpayable",
|
|
529
772
|
"type": "function"
|
|
@@ -538,51 +781,17 @@
|
|
|
538
781
|
"type": "uint16"
|
|
539
782
|
},
|
|
540
783
|
{
|
|
541
|
-
"
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
"name": "priceRatio",
|
|
545
|
-
"type": "uint128"
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"internalType": "uint64",
|
|
549
|
-
"name": "gasPriceInUnit",
|
|
550
|
-
"type": "uint64"
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"internalType": "uint32",
|
|
554
|
-
"name": "gasPerByte",
|
|
555
|
-
"type": "uint32"
|
|
556
|
-
}
|
|
557
|
-
],
|
|
558
|
-
"internalType": "struct ILayerZeroPriceFeed.Price",
|
|
559
|
-
"name": "price",
|
|
560
|
-
"type": "tuple"
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
"components": [
|
|
564
|
-
{
|
|
565
|
-
"internalType": "uint64",
|
|
566
|
-
"name": "gasPerL2Tx",
|
|
567
|
-
"type": "uint64"
|
|
568
|
-
},
|
|
569
|
-
{
|
|
570
|
-
"internalType": "uint32",
|
|
571
|
-
"name": "gasPerL1CallDataByte",
|
|
572
|
-
"type": "uint32"
|
|
573
|
-
}
|
|
574
|
-
],
|
|
575
|
-
"internalType": "struct ILayerZeroPriceFeed.ArbitrumPriceExt",
|
|
576
|
-
"name": "extend",
|
|
577
|
-
"type": "tuple"
|
|
784
|
+
"internalType": "uint128",
|
|
785
|
+
"name": "multiplier",
|
|
786
|
+
"type": "uint128"
|
|
578
787
|
}
|
|
579
788
|
],
|
|
580
|
-
"internalType": "struct
|
|
581
|
-
"name": "
|
|
789
|
+
"internalType": "struct RelayerV2.DstMultiplier[]",
|
|
790
|
+
"name": "_multipliers",
|
|
582
791
|
"type": "tuple[]"
|
|
583
792
|
}
|
|
584
793
|
],
|
|
585
|
-
"name": "
|
|
794
|
+
"name": "setDstPriceMultipliers",
|
|
586
795
|
"outputs": [],
|
|
587
796
|
"stateMutability": "nonpayable",
|
|
588
797
|
"type": "function"
|
|
@@ -590,12 +799,12 @@
|
|
|
590
799
|
{
|
|
591
800
|
"inputs": [
|
|
592
801
|
{
|
|
593
|
-
"internalType": "
|
|
594
|
-
"name": "
|
|
595
|
-
"type": "
|
|
802
|
+
"internalType": "bool",
|
|
803
|
+
"name": "_paused",
|
|
804
|
+
"type": "bool"
|
|
596
805
|
}
|
|
597
806
|
],
|
|
598
|
-
"name": "
|
|
807
|
+
"name": "setPause",
|
|
599
808
|
"outputs": [],
|
|
600
809
|
"stateMutability": "nonpayable",
|
|
601
810
|
"type": "function"
|
|
@@ -604,20 +813,72 @@
|
|
|
604
813
|
"inputs": [
|
|
605
814
|
{
|
|
606
815
|
"internalType": "address",
|
|
607
|
-
"name": "
|
|
816
|
+
"name": "_priceConfigUpdater",
|
|
608
817
|
"type": "address"
|
|
609
818
|
},
|
|
610
819
|
{
|
|
611
820
|
"internalType": "bool",
|
|
612
|
-
"name": "
|
|
821
|
+
"name": "_allow",
|
|
613
822
|
"type": "bool"
|
|
614
823
|
}
|
|
615
824
|
],
|
|
616
|
-
"name": "
|
|
825
|
+
"name": "setPriceConfigUpdater",
|
|
826
|
+
"outputs": [],
|
|
827
|
+
"stateMutability": "nonpayable",
|
|
828
|
+
"type": "function"
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"inputs": [
|
|
832
|
+
{
|
|
833
|
+
"internalType": "address",
|
|
834
|
+
"name": "_priceFeed",
|
|
835
|
+
"type": "address"
|
|
836
|
+
}
|
|
837
|
+
],
|
|
838
|
+
"name": "setPriceFeed",
|
|
839
|
+
"outputs": [],
|
|
840
|
+
"stateMutability": "nonpayable",
|
|
841
|
+
"type": "function"
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
"inputs": [
|
|
845
|
+
{
|
|
846
|
+
"internalType": "uint128",
|
|
847
|
+
"name": "_multiplierBps",
|
|
848
|
+
"type": "uint128"
|
|
849
|
+
}
|
|
850
|
+
],
|
|
851
|
+
"name": "setPriceMultiplierBps",
|
|
852
|
+
"outputs": [],
|
|
853
|
+
"stateMutability": "nonpayable",
|
|
854
|
+
"type": "function"
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"inputs": [
|
|
858
|
+
{
|
|
859
|
+
"internalType": "address",
|
|
860
|
+
"name": "_stargateAddress",
|
|
861
|
+
"type": "address"
|
|
862
|
+
}
|
|
863
|
+
],
|
|
864
|
+
"name": "setStargateAddress",
|
|
617
865
|
"outputs": [],
|
|
618
866
|
"stateMutability": "nonpayable",
|
|
619
867
|
"type": "function"
|
|
620
868
|
},
|
|
869
|
+
{
|
|
870
|
+
"inputs": [],
|
|
871
|
+
"name": "stargateBridgeAddress",
|
|
872
|
+
"outputs": [
|
|
873
|
+
{
|
|
874
|
+
"internalType": "address",
|
|
875
|
+
"name": "",
|
|
876
|
+
"type": "address"
|
|
877
|
+
}
|
|
878
|
+
],
|
|
879
|
+
"stateMutability": "view",
|
|
880
|
+
"type": "function"
|
|
881
|
+
},
|
|
621
882
|
{
|
|
622
883
|
"inputs": [
|
|
623
884
|
{
|
|
@@ -631,6 +892,154 @@
|
|
|
631
892
|
"stateMutability": "nonpayable",
|
|
632
893
|
"type": "function"
|
|
633
894
|
},
|
|
895
|
+
{
|
|
896
|
+
"inputs": [],
|
|
897
|
+
"name": "uln",
|
|
898
|
+
"outputs": [
|
|
899
|
+
{
|
|
900
|
+
"internalType": "contract ILayerZeroUltraLightNodeV2",
|
|
901
|
+
"name": "",
|
|
902
|
+
"type": "address"
|
|
903
|
+
}
|
|
904
|
+
],
|
|
905
|
+
"stateMutability": "view",
|
|
906
|
+
"type": "function"
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"inputs": [],
|
|
910
|
+
"name": "validateProofBytes",
|
|
911
|
+
"outputs": [
|
|
912
|
+
{
|
|
913
|
+
"internalType": "uint16",
|
|
914
|
+
"name": "",
|
|
915
|
+
"type": "uint16"
|
|
916
|
+
}
|
|
917
|
+
],
|
|
918
|
+
"stateMutability": "view",
|
|
919
|
+
"type": "function"
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
"inputs": [
|
|
923
|
+
{
|
|
924
|
+
"internalType": "uint16",
|
|
925
|
+
"name": "_srcChainId",
|
|
926
|
+
"type": "uint16"
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
"internalType": "address",
|
|
930
|
+
"name": "_dstAddress",
|
|
931
|
+
"type": "address"
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"internalType": "uint256",
|
|
935
|
+
"name": "_gasLimit",
|
|
936
|
+
"type": "uint256"
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"internalType": "bytes32",
|
|
940
|
+
"name": "_blockHash",
|
|
941
|
+
"type": "bytes32"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"internalType": "bytes32",
|
|
945
|
+
"name": "_data",
|
|
946
|
+
"type": "bytes32"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"internalType": "bytes",
|
|
950
|
+
"name": "_transactionProof",
|
|
951
|
+
"type": "bytes"
|
|
952
|
+
}
|
|
953
|
+
],
|
|
954
|
+
"name": "validateTransactionProofV1",
|
|
955
|
+
"outputs": [],
|
|
956
|
+
"stateMutability": "nonpayable",
|
|
957
|
+
"type": "function"
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"inputs": [
|
|
961
|
+
{
|
|
962
|
+
"internalType": "uint16",
|
|
963
|
+
"name": "_srcChainId",
|
|
964
|
+
"type": "uint16"
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
"internalType": "address",
|
|
968
|
+
"name": "_dstAddress",
|
|
969
|
+
"type": "address"
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"internalType": "uint256",
|
|
973
|
+
"name": "_gasLimit",
|
|
974
|
+
"type": "uint256"
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
"internalType": "bytes32",
|
|
978
|
+
"name": "_blockHash",
|
|
979
|
+
"type": "bytes32"
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"internalType": "bytes32",
|
|
983
|
+
"name": "_data",
|
|
984
|
+
"type": "bytes32"
|
|
985
|
+
},
|
|
986
|
+
{
|
|
987
|
+
"internalType": "bytes",
|
|
988
|
+
"name": "_transactionProof",
|
|
989
|
+
"type": "bytes"
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
"internalType": "address payable",
|
|
993
|
+
"name": "_to",
|
|
994
|
+
"type": "address"
|
|
995
|
+
}
|
|
996
|
+
],
|
|
997
|
+
"name": "validateTransactionProofV2",
|
|
998
|
+
"outputs": [],
|
|
999
|
+
"stateMutability": "payable",
|
|
1000
|
+
"type": "function"
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"inputs": [
|
|
1004
|
+
{
|
|
1005
|
+
"internalType": "address payable",
|
|
1006
|
+
"name": "_to",
|
|
1007
|
+
"type": "address"
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"internalType": "uint256",
|
|
1011
|
+
"name": "_amount",
|
|
1012
|
+
"type": "uint256"
|
|
1013
|
+
}
|
|
1014
|
+
],
|
|
1015
|
+
"name": "withdrawFee",
|
|
1016
|
+
"outputs": [],
|
|
1017
|
+
"stateMutability": "nonpayable",
|
|
1018
|
+
"type": "function"
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
"inputs": [
|
|
1022
|
+
{
|
|
1023
|
+
"internalType": "address",
|
|
1024
|
+
"name": "_token",
|
|
1025
|
+
"type": "address"
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"internalType": "address",
|
|
1029
|
+
"name": "_to",
|
|
1030
|
+
"type": "address"
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"internalType": "uint256",
|
|
1034
|
+
"name": "_amount",
|
|
1035
|
+
"type": "uint256"
|
|
1036
|
+
}
|
|
1037
|
+
],
|
|
1038
|
+
"name": "withdrawToken",
|
|
1039
|
+
"outputs": [],
|
|
1040
|
+
"stateMutability": "nonpayable",
|
|
1041
|
+
"type": "function"
|
|
1042
|
+
},
|
|
634
1043
|
{
|
|
635
1044
|
"inputs": [
|
|
636
1045
|
{
|
|
@@ -653,35 +1062,35 @@
|
|
|
653
1062
|
"type": "constructor"
|
|
654
1063
|
}
|
|
655
1064
|
],
|
|
656
|
-
"transactionHash": "
|
|
1065
|
+
"transactionHash": "0x5770374001c01a90ef5cc2c82f0ff5ca3446d6a1efcd6e7bf8f94c81594bd024",
|
|
657
1066
|
"receipt": {
|
|
658
1067
|
"to": null,
|
|
659
1068
|
"from": "0xc13b65f7c53Cd6db2EA205a4b574b4a0858720A6",
|
|
660
|
-
"contractAddress": "
|
|
1069
|
+
"contractAddress": "0x35AdD9321507A87471a11EBd4aE4f592d531e620",
|
|
661
1070
|
"transactionIndex": 0,
|
|
662
|
-
"gasUsed": "
|
|
663
|
-
"logsBloom": "
|
|
664
|
-
"blockHash": "
|
|
665
|
-
"transactionHash": "
|
|
1071
|
+
"gasUsed": "762795",
|
|
1072
|
+
"logsBloom": "0x00000000000000000040000000200000400000000000000000800000000000000000000000800000000000000000000000000000000000000000020000000000001400000000000000000000000002000001000000000000000000000000000000000000030010000000000000000800000000800000000000000000000000400000000000000000000000000000000000000000000000000000002000800000000000400000000000000000000000000004000000000000000000000000000000000020000000000000000000000400000000000400000000000000000020000000000000000000000000000000000000000000000000000000000000000000",
|
|
1073
|
+
"blockHash": "0xca790c89e9c74e728477f47bcaae34b15f89216701697cfaf5f68dc34a998813",
|
|
1074
|
+
"transactionHash": "0x5770374001c01a90ef5cc2c82f0ff5ca3446d6a1efcd6e7bf8f94c81594bd024",
|
|
666
1075
|
"logs": [
|
|
667
1076
|
{
|
|
668
1077
|
"transactionIndex": 0,
|
|
669
|
-
"blockNumber":
|
|
670
|
-
"transactionHash": "
|
|
671
|
-
"address": "
|
|
1078
|
+
"blockNumber": 2767,
|
|
1079
|
+
"transactionHash": "0x5770374001c01a90ef5cc2c82f0ff5ca3446d6a1efcd6e7bf8f94c81594bd024",
|
|
1080
|
+
"address": "0x35AdD9321507A87471a11EBd4aE4f592d531e620",
|
|
672
1081
|
"topics": [
|
|
673
1082
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
674
|
-
"
|
|
1083
|
+
"0x00000000000000000000000088866e5a296fffa511ef8011cb1bbd4d01cd094f"
|
|
675
1084
|
],
|
|
676
1085
|
"data": "0x",
|
|
677
1086
|
"logIndex": 0,
|
|
678
|
-
"blockHash": "
|
|
1087
|
+
"blockHash": "0xca790c89e9c74e728477f47bcaae34b15f89216701697cfaf5f68dc34a998813"
|
|
679
1088
|
},
|
|
680
1089
|
{
|
|
681
1090
|
"transactionIndex": 0,
|
|
682
|
-
"blockNumber":
|
|
683
|
-
"transactionHash": "
|
|
684
|
-
"address": "
|
|
1091
|
+
"blockNumber": 2767,
|
|
1092
|
+
"transactionHash": "0x5770374001c01a90ef5cc2c82f0ff5ca3446d6a1efcd6e7bf8f94c81594bd024",
|
|
1093
|
+
"address": "0x35AdD9321507A87471a11EBd4aE4f592d531e620",
|
|
685
1094
|
"topics": [
|
|
686
1095
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
687
1096
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
@@ -689,30 +1098,42 @@
|
|
|
689
1098
|
],
|
|
690
1099
|
"data": "0x",
|
|
691
1100
|
"logIndex": 1,
|
|
692
|
-
"blockHash": "
|
|
1101
|
+
"blockHash": "0xca790c89e9c74e728477f47bcaae34b15f89216701697cfaf5f68dc34a998813"
|
|
693
1102
|
},
|
|
694
1103
|
{
|
|
695
1104
|
"transactionIndex": 0,
|
|
696
|
-
"blockNumber":
|
|
697
|
-
"transactionHash": "
|
|
698
|
-
"address": "
|
|
1105
|
+
"blockNumber": 2767,
|
|
1106
|
+
"transactionHash": "0x5770374001c01a90ef5cc2c82f0ff5ca3446d6a1efcd6e7bf8f94c81594bd024",
|
|
1107
|
+
"address": "0x35AdD9321507A87471a11EBd4aE4f592d531e620",
|
|
699
1108
|
"topics": [
|
|
700
|
-
"
|
|
1109
|
+
"0xb10786d0bfa68fb1aa29552d9203e5f545f7c073ff0784da1de1d800986f1023"
|
|
701
1110
|
],
|
|
702
|
-
"data": "
|
|
1111
|
+
"data": "0x00000000000000000000000035add9321507a87471a11ebd4ae4f592d531e6200000000000000000000000000000000000000000000000000000000000000001",
|
|
703
1112
|
"logIndex": 2,
|
|
704
|
-
"blockHash": "
|
|
1113
|
+
"blockHash": "0xca790c89e9c74e728477f47bcaae34b15f89216701697cfaf5f68dc34a998813"
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
"transactionIndex": 0,
|
|
1117
|
+
"blockNumber": 2767,
|
|
1118
|
+
"transactionHash": "0x5770374001c01a90ef5cc2c82f0ff5ca3446d6a1efcd6e7bf8f94c81594bd024",
|
|
1119
|
+
"address": "0x35AdD9321507A87471a11EBd4aE4f592d531e620",
|
|
1120
|
+
"topics": [
|
|
1121
|
+
"0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
|
|
1122
|
+
],
|
|
1123
|
+
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000533fb43e6808d9634cc0dd0c6c1195e8921d4fcc",
|
|
1124
|
+
"logIndex": 3,
|
|
1125
|
+
"blockHash": "0xca790c89e9c74e728477f47bcaae34b15f89216701697cfaf5f68dc34a998813"
|
|
705
1126
|
}
|
|
706
1127
|
],
|
|
707
|
-
"blockNumber":
|
|
708
|
-
"cumulativeGasUsed": "
|
|
1128
|
+
"blockNumber": 2767,
|
|
1129
|
+
"cumulativeGasUsed": "762795",
|
|
709
1130
|
"status": 1,
|
|
710
1131
|
"byzantium": true
|
|
711
1132
|
},
|
|
712
1133
|
"args": [
|
|
713
|
-
"
|
|
714
|
-
"
|
|
715
|
-
"
|
|
1134
|
+
"0x88866E5A296FffA511EF8011CB1BBd4d01Cd094F",
|
|
1135
|
+
"0x533fB43e6808D9634CC0DD0c6c1195e8921D4FCC",
|
|
1136
|
+
"0x485cc95500000000000000000000000055370e0fbb5f5b8daed978ba1c075a499eb107b80000000000000000000000008b14d287b4150ff22ac73df8be720e933f659abc"
|
|
716
1137
|
],
|
|
717
1138
|
"numDeployments": 1,
|
|
718
1139
|
"solcInputHash": "0e89febeebc7444140de8e67c9067d2c",
|
|
@@ -722,10 +1143,11 @@
|
|
|
722
1143
|
"execute": {
|
|
723
1144
|
"methodName": "initialize",
|
|
724
1145
|
"args": [
|
|
725
|
-
"
|
|
1146
|
+
"0x55370E0fBB5f5b8dAeD978BA1c075a499eB107B8",
|
|
1147
|
+
"0x8b14D287B4150Ff22Ac73DF8BE720e933f659abc"
|
|
726
1148
|
]
|
|
727
1149
|
},
|
|
728
|
-
"implementation": "
|
|
1150
|
+
"implementation": "0x88866E5A296FffA511EF8011CB1BBd4d01Cd094F",
|
|
729
1151
|
"devdoc": {
|
|
730
1152
|
"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.",
|
|
731
1153
|
"kind": "dev",
|