@layerzerolabs/lz-evm-sdk-v2 2.1.13 → 2.1.14
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/ethereum-sandbox-local/DVN.json +16 -16
- package/deployments/ethereum-sandbox-local/DVNDecompressor.json +7 -7
- package/deployments/ethereum-sandbox-local/DVNFeeLib.json +7 -7
- package/deployments/ethereum-sandbox-local/DefaultProxyAdmin.json +7 -7
- package/deployments/ethereum-sandbox-local/EndpointV2.json +13 -13
- package/deployments/ethereum-sandbox-local/EndpointV2View.json +13 -13
- package/deployments/ethereum-sandbox-local/EndpointV2View_Implementation.json +4 -4
- package/deployments/ethereum-sandbox-local/EndpointV2View_Proxy.json +13 -13
- package/deployments/ethereum-sandbox-local/Executor.json +43 -43
- package/deployments/ethereum-sandbox-local/ExecutorDecompressor.json +7 -7
- package/deployments/ethereum-sandbox-local/ExecutorFeeLib.json +7 -7
- package/deployments/ethereum-sandbox-local/ExecutorProxyAdmin.json +10 -10
- package/deployments/ethereum-sandbox-local/Executor_Implementation.json +4 -4
- package/deployments/ethereum-sandbox-local/Executor_Proxy.json +43 -43
- package/deployments/ethereum-sandbox-local/LzExecutor.json +16 -16
- package/deployments/ethereum-sandbox-local/LzExecutor_Implementation.json +4 -4
- package/deployments/ethereum-sandbox-local/LzExecutor_Proxy.json +16 -16
- package/deployments/ethereum-sandbox-local/NonceContractMock.json +4 -4
- package/deployments/ethereum-sandbox-local/PriceFeed.json +16 -16
- package/deployments/ethereum-sandbox-local/PriceFeedProxyAdmin.json +10 -10
- package/deployments/ethereum-sandbox-local/PriceFeed_Implementation.json +4 -4
- package/deployments/ethereum-sandbox-local/PriceFeed_Proxy.json +16 -16
- package/deployments/ethereum-sandbox-local/ReceiveUln301.json +7 -7
- package/deployments/ethereum-sandbox-local/ReceiveUln301View.json +13 -13
- package/deployments/ethereum-sandbox-local/ReceiveUln301View_Implementation.json +4 -4
- package/deployments/ethereum-sandbox-local/ReceiveUln301View_Proxy.json +13 -13
- package/deployments/ethereum-sandbox-local/ReceiveUln302.json +7 -7
- package/deployments/ethereum-sandbox-local/ReceiveUln302View.json +13 -13
- package/deployments/ethereum-sandbox-local/ReceiveUln302View_Implementation.json +4 -4
- package/deployments/ethereum-sandbox-local/ReceiveUln302View_Proxy.json +13 -13
- package/deployments/ethereum-sandbox-local/SendUln301.json +7 -7
- package/deployments/ethereum-sandbox-local/SendUln302.json +7 -7
- package/deployments/ethereum-sandbox-local/SimpleMessageLib.json +7 -7
- package/deployments/ethereum-sandbox-local/Treasury.json +7 -7
- package/deployments/ethereum-sandbox-local/TreasuryFeeHandler.json +4 -4
- package/deployments/polygon-sandbox-local/DVN.json +16 -16
- package/deployments/polygon-sandbox-local/DVNDecompressor.json +7 -7
- package/deployments/polygon-sandbox-local/DVNFeeLib.json +7 -7
- package/deployments/polygon-sandbox-local/DefaultProxyAdmin.json +7 -7
- package/deployments/polygon-sandbox-local/EndpointV2.json +13 -13
- package/deployments/polygon-sandbox-local/EndpointV2View.json +13 -13
- package/deployments/polygon-sandbox-local/EndpointV2View_Implementation.json +4 -4
- package/deployments/polygon-sandbox-local/EndpointV2View_Proxy.json +13 -13
- package/deployments/polygon-sandbox-local/Executor.json +43 -43
- package/deployments/polygon-sandbox-local/ExecutorDecompressor.json +7 -7
- package/deployments/polygon-sandbox-local/ExecutorFeeLib.json +7 -7
- package/deployments/polygon-sandbox-local/ExecutorProxyAdmin.json +10 -10
- package/deployments/polygon-sandbox-local/Executor_Implementation.json +4 -4
- package/deployments/polygon-sandbox-local/Executor_Proxy.json +43 -43
- package/deployments/polygon-sandbox-local/LzExecutor.json +16 -16
- package/deployments/polygon-sandbox-local/LzExecutor_Implementation.json +4 -4
- package/deployments/polygon-sandbox-local/LzExecutor_Proxy.json +16 -16
- package/deployments/polygon-sandbox-local/NonceContractMock.json +4 -4
- package/deployments/polygon-sandbox-local/PriceFeed.json +16 -16
- package/deployments/polygon-sandbox-local/PriceFeedProxyAdmin.json +10 -10
- package/deployments/polygon-sandbox-local/PriceFeed_Implementation.json +4 -4
- package/deployments/polygon-sandbox-local/PriceFeed_Proxy.json +16 -16
- package/deployments/polygon-sandbox-local/ReceiveUln301.json +7 -7
- package/deployments/polygon-sandbox-local/ReceiveUln301View.json +13 -13
- package/deployments/polygon-sandbox-local/ReceiveUln301View_Implementation.json +4 -4
- package/deployments/polygon-sandbox-local/ReceiveUln301View_Proxy.json +13 -13
- package/deployments/polygon-sandbox-local/ReceiveUln302.json +7 -7
- package/deployments/polygon-sandbox-local/ReceiveUln302View.json +13 -13
- package/deployments/polygon-sandbox-local/ReceiveUln302View_Implementation.json +4 -4
- package/deployments/polygon-sandbox-local/ReceiveUln302View_Proxy.json +13 -13
- package/deployments/polygon-sandbox-local/SendUln301.json +7 -7
- package/deployments/polygon-sandbox-local/SendUln302.json +7 -7
- package/deployments/polygon-sandbox-local/SimpleMessageLib.json +7 -7
- package/deployments/polygon-sandbox-local/Treasury.json +7 -7
- package/deployments/polygon-sandbox-local/TreasuryFeeHandler.json +4 -4
- package/package.json +9 -9
- package/deployments/arbitrum-sandbox-local/DVN.json +0 -1864
- package/deployments/arbitrum-sandbox-local/DVNDecompressor.json +0 -500
- package/deployments/arbitrum-sandbox-local/DVNFeeLib.json +0 -398
- package/deployments/arbitrum-sandbox-local/PriceFeed.json +0 -890
- package/deployments/arbitrum-sandbox-local/PriceFeedProxyAdmin.json +0 -283
- package/deployments/arbitrum-sandbox-local/PriceFeed_Implementation.json +0 -912
- package/deployments/arbitrum-sandbox-local/PriceFeed_Proxy.json +0 -244
- package/deployments/metis-sandbox-local/DVN.json +0 -1896
- package/deployments/metis-sandbox-local/DVNDecompressor.json +0 -508
- package/deployments/metis-sandbox-local/DVNFeeLib.json +0 -398
- package/deployments/metis-sandbox-local/DefaultProxyAdmin.json +0 -258
- package/deployments/metis-sandbox-local/EndpointV2.json +0 -2946
- package/deployments/metis-sandbox-local/EndpointV2View.json +0 -435
- package/deployments/metis-sandbox-local/EndpointV2View_Implementation.json +0 -313
- package/deployments/metis-sandbox-local/EndpointV2View_Proxy.json +0 -230
- package/deployments/metis-sandbox-local/Executor.json +0 -1549
- package/deployments/metis-sandbox-local/ExecutorDecompressor.json +0 -339
- package/deployments/metis-sandbox-local/ExecutorFeeLib.json +0 -423
- package/deployments/metis-sandbox-local/ExecutorProxyAdmin.json +0 -283
- package/deployments/metis-sandbox-local/Executor_Implementation.json +0 -1591
- package/deployments/metis-sandbox-local/Executor_Proxy.json +0 -380
- package/deployments/metis-sandbox-local/LzExecutor.json +0 -757
- package/deployments/metis-sandbox-local/LzExecutor_Implementation.json +0 -703
- package/deployments/metis-sandbox-local/LzExecutor_Proxy.json +0 -244
- package/deployments/metis-sandbox-local/NonceContractMock.json +0 -163
- package/deployments/metis-sandbox-local/PriceFeed.json +0 -890
- package/deployments/metis-sandbox-local/PriceFeedProxyAdmin.json +0 -283
- package/deployments/metis-sandbox-local/PriceFeed_Implementation.json +0 -912
- package/deployments/metis-sandbox-local/PriceFeed_Proxy.json +0 -244
- package/deployments/metis-sandbox-local/ReceiveUln301.json +0 -1292
- package/deployments/metis-sandbox-local/ReceiveUln301View.json +0 -354
- package/deployments/metis-sandbox-local/ReceiveUln301View_Implementation.json +0 -231
- package/deployments/metis-sandbox-local/ReceiveUln301View_Proxy.json +0 -230
- package/deployments/metis-sandbox-local/ReceiveUln302.json +0 -1006
- package/deployments/metis-sandbox-local/ReceiveUln302View.json +0 -478
- package/deployments/metis-sandbox-local/ReceiveUln302View_Implementation.json +0 -384
- package/deployments/metis-sandbox-local/ReceiveUln302View_Proxy.json +0 -230
- package/deployments/metis-sandbox-local/SendUln301.json +0 -1569
- package/deployments/metis-sandbox-local/SendUln302.json +0 -1527
- package/deployments/metis-sandbox-local/SimpleMessageLib.json +0 -708
- package/deployments/metis-sandbox-local/Treasury.json +0 -412
- package/deployments/metis-sandbox-local/TreasuryFeeHandler.json +0 -125
- package/deployments/tron-sandbox-local/DVN.json +0 -1864
- package/deployments/tron-sandbox-local/DVNDecompressor.json +0 -500
- package/deployments/tron-sandbox-local/DVNFeeLib.json +0 -398
- package/deployments/tron-sandbox-local/PriceFeed.json +0 -890
- package/deployments/tron-sandbox-local/PriceFeedProxyAdmin.json +0 -283
- package/deployments/tron-sandbox-local/PriceFeed_Implementation.json +0 -912
- package/deployments/tron-sandbox-local/PriceFeed_Proxy.json +0 -244
|
@@ -1,890 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"address": "0x8438Ad1C834623CfF278AB6829a248E37C2D7E3f",
|
|
3
|
-
"abi": [
|
|
4
|
-
{
|
|
5
|
-
"anonymous": false,
|
|
6
|
-
"inputs": [
|
|
7
|
-
{
|
|
8
|
-
"indexed": false,
|
|
9
|
-
"internalType": "address",
|
|
10
|
-
"name": "previousAdmin",
|
|
11
|
-
"type": "address"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"indexed": false,
|
|
15
|
-
"internalType": "address",
|
|
16
|
-
"name": "newAdmin",
|
|
17
|
-
"type": "address"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"name": "AdminChanged",
|
|
21
|
-
"type": "event"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"anonymous": false,
|
|
25
|
-
"inputs": [
|
|
26
|
-
{
|
|
27
|
-
"indexed": true,
|
|
28
|
-
"internalType": "address",
|
|
29
|
-
"name": "beacon",
|
|
30
|
-
"type": "address"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"name": "BeaconUpgraded",
|
|
34
|
-
"type": "event"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"anonymous": false,
|
|
38
|
-
"inputs": [
|
|
39
|
-
{
|
|
40
|
-
"indexed": true,
|
|
41
|
-
"internalType": "address",
|
|
42
|
-
"name": "implementation",
|
|
43
|
-
"type": "address"
|
|
44
|
-
}
|
|
45
|
-
],
|
|
46
|
-
"name": "Upgraded",
|
|
47
|
-
"type": "event"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"stateMutability": "payable",
|
|
51
|
-
"type": "fallback"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"inputs": [],
|
|
55
|
-
"name": "admin",
|
|
56
|
-
"outputs": [
|
|
57
|
-
{
|
|
58
|
-
"internalType": "address",
|
|
59
|
-
"name": "admin_",
|
|
60
|
-
"type": "address"
|
|
61
|
-
}
|
|
62
|
-
],
|
|
63
|
-
"stateMutability": "nonpayable",
|
|
64
|
-
"type": "function"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"inputs": [],
|
|
68
|
-
"name": "implementation",
|
|
69
|
-
"outputs": [
|
|
70
|
-
{
|
|
71
|
-
"internalType": "address",
|
|
72
|
-
"name": "implementation_",
|
|
73
|
-
"type": "address"
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
"stateMutability": "nonpayable",
|
|
77
|
-
"type": "function"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"inputs": [
|
|
81
|
-
{
|
|
82
|
-
"internalType": "address",
|
|
83
|
-
"name": "newImplementation",
|
|
84
|
-
"type": "address"
|
|
85
|
-
}
|
|
86
|
-
],
|
|
87
|
-
"name": "upgradeTo",
|
|
88
|
-
"outputs": [],
|
|
89
|
-
"stateMutability": "nonpayable",
|
|
90
|
-
"type": "function"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"inputs": [
|
|
94
|
-
{
|
|
95
|
-
"internalType": "address",
|
|
96
|
-
"name": "newImplementation",
|
|
97
|
-
"type": "address"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"internalType": "bytes",
|
|
101
|
-
"name": "data",
|
|
102
|
-
"type": "bytes"
|
|
103
|
-
}
|
|
104
|
-
],
|
|
105
|
-
"name": "upgradeToAndCall",
|
|
106
|
-
"outputs": [],
|
|
107
|
-
"stateMutability": "payable",
|
|
108
|
-
"type": "function"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"stateMutability": "payable",
|
|
112
|
-
"type": "receive"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"inputs": [
|
|
116
|
-
{
|
|
117
|
-
"internalType": "uint256",
|
|
118
|
-
"name": "provided",
|
|
119
|
-
"type": "uint256"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"internalType": "uint256",
|
|
123
|
-
"name": "required",
|
|
124
|
-
"type": "uint256"
|
|
125
|
-
}
|
|
126
|
-
],
|
|
127
|
-
"name": "LZ_PriceFeed_InsufficientFee",
|
|
128
|
-
"type": "error"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"inputs": [],
|
|
132
|
-
"name": "LZ_PriceFeed_OnlyPriceUpdater",
|
|
133
|
-
"type": "error"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"inputs": [
|
|
137
|
-
{
|
|
138
|
-
"internalType": "uint32",
|
|
139
|
-
"name": "l2Eid",
|
|
140
|
-
"type": "uint32"
|
|
141
|
-
}
|
|
142
|
-
],
|
|
143
|
-
"name": "LZ_PriceFeed_UnknownL2Eid",
|
|
144
|
-
"type": "error"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"inputs": [
|
|
148
|
-
{
|
|
149
|
-
"internalType": "address",
|
|
150
|
-
"name": "_to",
|
|
151
|
-
"type": "address"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"internalType": "uint256",
|
|
155
|
-
"name": "_value",
|
|
156
|
-
"type": "uint256"
|
|
157
|
-
}
|
|
158
|
-
],
|
|
159
|
-
"name": "Transfer_NativeFailed",
|
|
160
|
-
"type": "error"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"inputs": [],
|
|
164
|
-
"name": "Transfer_ToAddressIsZero",
|
|
165
|
-
"type": "error"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"anonymous": false,
|
|
169
|
-
"inputs": [
|
|
170
|
-
{
|
|
171
|
-
"indexed": false,
|
|
172
|
-
"internalType": "uint8",
|
|
173
|
-
"name": "version",
|
|
174
|
-
"type": "uint8"
|
|
175
|
-
}
|
|
176
|
-
],
|
|
177
|
-
"name": "Initialized",
|
|
178
|
-
"type": "event"
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"anonymous": false,
|
|
182
|
-
"inputs": [
|
|
183
|
-
{
|
|
184
|
-
"indexed": true,
|
|
185
|
-
"internalType": "address",
|
|
186
|
-
"name": "previousOwner",
|
|
187
|
-
"type": "address"
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
"indexed": true,
|
|
191
|
-
"internalType": "address",
|
|
192
|
-
"name": "newOwner",
|
|
193
|
-
"type": "address"
|
|
194
|
-
}
|
|
195
|
-
],
|
|
196
|
-
"name": "OwnershipTransferred",
|
|
197
|
-
"type": "event"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"inputs": [],
|
|
201
|
-
"name": "ARBITRUM_COMPRESSION_PERCENT",
|
|
202
|
-
"outputs": [
|
|
203
|
-
{
|
|
204
|
-
"internalType": "uint128",
|
|
205
|
-
"name": "",
|
|
206
|
-
"type": "uint128"
|
|
207
|
-
}
|
|
208
|
-
],
|
|
209
|
-
"stateMutability": "view",
|
|
210
|
-
"type": "function"
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"inputs": [],
|
|
214
|
-
"name": "arbitrumPriceExt",
|
|
215
|
-
"outputs": [
|
|
216
|
-
{
|
|
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",
|
|
230
|
-
"name": "",
|
|
231
|
-
"type": "tuple"
|
|
232
|
-
}
|
|
233
|
-
],
|
|
234
|
-
"stateMutability": "view",
|
|
235
|
-
"type": "function"
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
"inputs": [],
|
|
239
|
-
"name": "endpoint",
|
|
240
|
-
"outputs": [
|
|
241
|
-
{
|
|
242
|
-
"internalType": "contract ILayerZeroEndpointV2",
|
|
243
|
-
"name": "",
|
|
244
|
-
"type": "address"
|
|
245
|
-
}
|
|
246
|
-
],
|
|
247
|
-
"stateMutability": "view",
|
|
248
|
-
"type": "function"
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
"inputs": [
|
|
252
|
-
{
|
|
253
|
-
"internalType": "uint16",
|
|
254
|
-
"name": "_dstEid",
|
|
255
|
-
"type": "uint16"
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
"internalType": "uint256",
|
|
259
|
-
"name": "_callDataSize",
|
|
260
|
-
"type": "uint256"
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"internalType": "uint256",
|
|
264
|
-
"name": "_gas",
|
|
265
|
-
"type": "uint256"
|
|
266
|
-
}
|
|
267
|
-
],
|
|
268
|
-
"name": "estimateFeeByChain",
|
|
269
|
-
"outputs": [
|
|
270
|
-
{
|
|
271
|
-
"internalType": "uint256",
|
|
272
|
-
"name": "fee",
|
|
273
|
-
"type": "uint256"
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
"internalType": "uint128",
|
|
277
|
-
"name": "priceRatio",
|
|
278
|
-
"type": "uint128"
|
|
279
|
-
}
|
|
280
|
-
],
|
|
281
|
-
"stateMutability": "view",
|
|
282
|
-
"type": "function"
|
|
283
|
-
},
|
|
284
|
-
{
|
|
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",
|
|
303
|
-
"outputs": [
|
|
304
|
-
{
|
|
305
|
-
"internalType": "uint256",
|
|
306
|
-
"name": "",
|
|
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"
|
|
323
|
-
}
|
|
324
|
-
],
|
|
325
|
-
"stateMutability": "view",
|
|
326
|
-
"type": "function"
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"inputs": [
|
|
330
|
-
{
|
|
331
|
-
"internalType": "uint32",
|
|
332
|
-
"name": "_dstEid",
|
|
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"
|
|
344
|
-
}
|
|
345
|
-
],
|
|
346
|
-
"name": "estimateFeeOnSend",
|
|
347
|
-
"outputs": [
|
|
348
|
-
{
|
|
349
|
-
"internalType": "uint256",
|
|
350
|
-
"name": "",
|
|
351
|
-
"type": "uint256"
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
"internalType": "uint128",
|
|
355
|
-
"name": "",
|
|
356
|
-
"type": "uint128"
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"internalType": "uint128",
|
|
360
|
-
"name": "",
|
|
361
|
-
"type": "uint128"
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
"internalType": "uint128",
|
|
365
|
-
"name": "",
|
|
366
|
-
"type": "uint128"
|
|
367
|
-
}
|
|
368
|
-
],
|
|
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",
|
|
399
|
-
"type": "function"
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
"inputs": [
|
|
403
|
-
{
|
|
404
|
-
"internalType": "uint32",
|
|
405
|
-
"name": "_dstEid",
|
|
406
|
-
"type": "uint32"
|
|
407
|
-
}
|
|
408
|
-
],
|
|
409
|
-
"name": "getPrice",
|
|
410
|
-
"outputs": [
|
|
411
|
-
{
|
|
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"
|
|
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": [
|
|
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"
|
|
468
|
-
}
|
|
469
|
-
],
|
|
470
|
-
"stateMutability": "view",
|
|
471
|
-
"type": "function"
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
"inputs": [],
|
|
475
|
-
"name": "getPriceRatioDenominator",
|
|
476
|
-
"outputs": [
|
|
477
|
-
{
|
|
478
|
-
"internalType": "uint128",
|
|
479
|
-
"name": "",
|
|
480
|
-
"type": "uint128"
|
|
481
|
-
}
|
|
482
|
-
],
|
|
483
|
-
"stateMutability": "view",
|
|
484
|
-
"type": "function"
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
"inputs": [
|
|
488
|
-
{
|
|
489
|
-
"internalType": "address",
|
|
490
|
-
"name": "_priceUpdater",
|
|
491
|
-
"type": "address"
|
|
492
|
-
}
|
|
493
|
-
],
|
|
494
|
-
"name": "initialize",
|
|
495
|
-
"outputs": [],
|
|
496
|
-
"stateMutability": "nonpayable",
|
|
497
|
-
"type": "function"
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
"inputs": [],
|
|
501
|
-
"name": "nativeTokenPriceUSD",
|
|
502
|
-
"outputs": [
|
|
503
|
-
{
|
|
504
|
-
"internalType": "uint128",
|
|
505
|
-
"name": "",
|
|
506
|
-
"type": "uint128"
|
|
507
|
-
}
|
|
508
|
-
],
|
|
509
|
-
"stateMutability": "view",
|
|
510
|
-
"type": "function"
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
"inputs": [],
|
|
514
|
-
"name": "owner",
|
|
515
|
-
"outputs": [
|
|
516
|
-
{
|
|
517
|
-
"internalType": "address",
|
|
518
|
-
"name": "",
|
|
519
|
-
"type": "address"
|
|
520
|
-
}
|
|
521
|
-
],
|
|
522
|
-
"stateMutability": "view",
|
|
523
|
-
"type": "function"
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"inputs": [
|
|
527
|
-
{
|
|
528
|
-
"internalType": "address",
|
|
529
|
-
"name": "updater",
|
|
530
|
-
"type": "address"
|
|
531
|
-
}
|
|
532
|
-
],
|
|
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",
|
|
547
|
-
"outputs": [],
|
|
548
|
-
"stateMutability": "nonpayable",
|
|
549
|
-
"type": "function"
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
"inputs": [
|
|
553
|
-
{
|
|
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": [
|
|
566
|
-
{
|
|
567
|
-
"internalType": "address",
|
|
568
|
-
"name": "_endpoint",
|
|
569
|
-
"type": "address"
|
|
570
|
-
}
|
|
571
|
-
],
|
|
572
|
-
"name": "setEndpoint",
|
|
573
|
-
"outputs": [],
|
|
574
|
-
"stateMutability": "nonpayable",
|
|
575
|
-
"type": "function"
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
"inputs": [
|
|
579
|
-
{
|
|
580
|
-
"internalType": "uint128",
|
|
581
|
-
"name": "_nativeTokenPriceUSD",
|
|
582
|
-
"type": "uint128"
|
|
583
|
-
}
|
|
584
|
-
],
|
|
585
|
-
"name": "setNativeTokenPriceUSD",
|
|
586
|
-
"outputs": [],
|
|
587
|
-
"stateMutability": "nonpayable",
|
|
588
|
-
"type": "function"
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
"inputs": [
|
|
592
|
-
{
|
|
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[]"
|
|
625
|
-
}
|
|
626
|
-
],
|
|
627
|
-
"name": "setPrice",
|
|
628
|
-
"outputs": [],
|
|
629
|
-
"stateMutability": "nonpayable",
|
|
630
|
-
"type": "function"
|
|
631
|
-
},
|
|
632
|
-
{
|
|
633
|
-
"inputs": [
|
|
634
|
-
{
|
|
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"
|
|
684
|
-
}
|
|
685
|
-
],
|
|
686
|
-
"name": "setPriceForArbitrum",
|
|
687
|
-
"outputs": [],
|
|
688
|
-
"stateMutability": "nonpayable",
|
|
689
|
-
"type": "function"
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
"inputs": [
|
|
693
|
-
{
|
|
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": [
|
|
706
|
-
{
|
|
707
|
-
"internalType": "address",
|
|
708
|
-
"name": "_addr",
|
|
709
|
-
"type": "address"
|
|
710
|
-
},
|
|
711
|
-
{
|
|
712
|
-
"internalType": "bool",
|
|
713
|
-
"name": "_active",
|
|
714
|
-
"type": "bool"
|
|
715
|
-
}
|
|
716
|
-
],
|
|
717
|
-
"name": "setPriceUpdater",
|
|
718
|
-
"outputs": [],
|
|
719
|
-
"stateMutability": "nonpayable",
|
|
720
|
-
"type": "function"
|
|
721
|
-
},
|
|
722
|
-
{
|
|
723
|
-
"inputs": [
|
|
724
|
-
{
|
|
725
|
-
"internalType": "address",
|
|
726
|
-
"name": "newOwner",
|
|
727
|
-
"type": "address"
|
|
728
|
-
}
|
|
729
|
-
],
|
|
730
|
-
"name": "transferOwnership",
|
|
731
|
-
"outputs": [],
|
|
732
|
-
"stateMutability": "nonpayable",
|
|
733
|
-
"type": "function"
|
|
734
|
-
},
|
|
735
|
-
{
|
|
736
|
-
"inputs": [
|
|
737
|
-
{
|
|
738
|
-
"internalType": "address",
|
|
739
|
-
"name": "_to",
|
|
740
|
-
"type": "address"
|
|
741
|
-
},
|
|
742
|
-
{
|
|
743
|
-
"internalType": "uint256",
|
|
744
|
-
"name": "_amount",
|
|
745
|
-
"type": "uint256"
|
|
746
|
-
}
|
|
747
|
-
],
|
|
748
|
-
"name": "withdrawFee",
|
|
749
|
-
"outputs": [],
|
|
750
|
-
"stateMutability": "nonpayable",
|
|
751
|
-
"type": "function"
|
|
752
|
-
},
|
|
753
|
-
{
|
|
754
|
-
"inputs": [
|
|
755
|
-
{
|
|
756
|
-
"internalType": "address",
|
|
757
|
-
"name": "_logic",
|
|
758
|
-
"type": "address"
|
|
759
|
-
},
|
|
760
|
-
{
|
|
761
|
-
"internalType": "address",
|
|
762
|
-
"name": "admin_",
|
|
763
|
-
"type": "address"
|
|
764
|
-
},
|
|
765
|
-
{
|
|
766
|
-
"internalType": "bytes",
|
|
767
|
-
"name": "_data",
|
|
768
|
-
"type": "bytes"
|
|
769
|
-
}
|
|
770
|
-
],
|
|
771
|
-
"stateMutability": "payable",
|
|
772
|
-
"type": "constructor"
|
|
773
|
-
}
|
|
774
|
-
],
|
|
775
|
-
"transactionHash": "0x4a321202ce570af7a1d6a98441b3178e2a73cfb92cf9fa231148186ad0ca4dee",
|
|
776
|
-
"receipt": {
|
|
777
|
-
"to": null,
|
|
778
|
-
"from": "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC",
|
|
779
|
-
"contractAddress": "0x8438Ad1C834623CfF278AB6829a248E37C2D7E3f",
|
|
780
|
-
"transactionIndex": 0,
|
|
781
|
-
"gasUsed": "738814",
|
|
782
|
-
"logsBloom": "0x00000000000000000000000000000000400000000000000000800000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000002000001000000000000000000000000000000000000020000000000010000000800000800800000000000000800000000400000000000000000008000000000000000000000000880000000400000800000000000000000200000000000000400000000000000000000000000000000000000000020000000000000000000040000000000000400000000000000000020000000000000000000000000000000000000000000000000000000000000000040",
|
|
783
|
-
"blockHash": "0xfa22a4bde749d6151ea824371b1af12ff81a1cf6b499b60e5e9ba55ca50cc0bd",
|
|
784
|
-
"transactionHash": "0x4a321202ce570af7a1d6a98441b3178e2a73cfb92cf9fa231148186ad0ca4dee",
|
|
785
|
-
"logs": [
|
|
786
|
-
{
|
|
787
|
-
"transactionIndex": 0,
|
|
788
|
-
"blockNumber": 4,
|
|
789
|
-
"transactionHash": "0x4a321202ce570af7a1d6a98441b3178e2a73cfb92cf9fa231148186ad0ca4dee",
|
|
790
|
-
"address": "0x8438Ad1C834623CfF278AB6829a248E37C2D7E3f",
|
|
791
|
-
"topics": [
|
|
792
|
-
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
793
|
-
"0x0000000000000000000000002e983a1ba5e8b38aaaec4b440b9ddcfbf72e15d1"
|
|
794
|
-
],
|
|
795
|
-
"data": "0x",
|
|
796
|
-
"logIndex": 0,
|
|
797
|
-
"blockHash": "0xfa22a4bde749d6151ea824371b1af12ff81a1cf6b499b60e5e9ba55ca50cc0bd"
|
|
798
|
-
},
|
|
799
|
-
{
|
|
800
|
-
"transactionIndex": 0,
|
|
801
|
-
"blockNumber": 4,
|
|
802
|
-
"transactionHash": "0x4a321202ce570af7a1d6a98441b3178e2a73cfb92cf9fa231148186ad0ca4dee",
|
|
803
|
-
"address": "0x8438Ad1C834623CfF278AB6829a248E37C2D7E3f",
|
|
804
|
-
"topics": [
|
|
805
|
-
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
806
|
-
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
807
|
-
"0x0000000000000000000000003c44cdddb6a900fa2b585dd299e03d12fa4293bc"
|
|
808
|
-
],
|
|
809
|
-
"data": "0x",
|
|
810
|
-
"logIndex": 1,
|
|
811
|
-
"blockHash": "0xfa22a4bde749d6151ea824371b1af12ff81a1cf6b499b60e5e9ba55ca50cc0bd"
|
|
812
|
-
},
|
|
813
|
-
{
|
|
814
|
-
"transactionIndex": 0,
|
|
815
|
-
"blockNumber": 4,
|
|
816
|
-
"transactionHash": "0x4a321202ce570af7a1d6a98441b3178e2a73cfb92cf9fa231148186ad0ca4dee",
|
|
817
|
-
"address": "0x8438Ad1C834623CfF278AB6829a248E37C2D7E3f",
|
|
818
|
-
"topics": [
|
|
819
|
-
"0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
|
|
820
|
-
],
|
|
821
|
-
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
822
|
-
"logIndex": 2,
|
|
823
|
-
"blockHash": "0xfa22a4bde749d6151ea824371b1af12ff81a1cf6b499b60e5e9ba55ca50cc0bd"
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
"transactionIndex": 0,
|
|
827
|
-
"blockNumber": 4,
|
|
828
|
-
"transactionHash": "0x4a321202ce570af7a1d6a98441b3178e2a73cfb92cf9fa231148186ad0ca4dee",
|
|
829
|
-
"address": "0x8438Ad1C834623CfF278AB6829a248E37C2D7E3f",
|
|
830
|
-
"topics": [
|
|
831
|
-
"0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
|
|
832
|
-
],
|
|
833
|
-
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000663f3ad617193148711d28f5334ee4ed07016602",
|
|
834
|
-
"logIndex": 3,
|
|
835
|
-
"blockHash": "0xfa22a4bde749d6151ea824371b1af12ff81a1cf6b499b60e5e9ba55ca50cc0bd"
|
|
836
|
-
}
|
|
837
|
-
],
|
|
838
|
-
"blockNumber": 4,
|
|
839
|
-
"cumulativeGasUsed": "738814",
|
|
840
|
-
"status": 1,
|
|
841
|
-
"byzantium": true
|
|
842
|
-
},
|
|
843
|
-
"args": [
|
|
844
|
-
"0x2E983A1Ba5e8b38AAAeC4B440B9dDcFBf72E15d1",
|
|
845
|
-
"0x663F3ad617193148711d28f5334eE4Ed07016602",
|
|
846
|
-
"0xc4d66de8000000000000000000000000b9cb228d7498d6f02b0f88f7b16d2cf836d2aea9"
|
|
847
|
-
],
|
|
848
|
-
"numDeployments": 1,
|
|
849
|
-
"solcInputHash": "0e89febeebc7444140de8e67c9067d2c",
|
|
850
|
-
"bytecode": "0x60a060405260405162000f5f38038062000f5f83398101604081905262000026916200044a565b82816200005560017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd6200052a565b60008051602062000f188339815191521462000075576200007562000550565b62000083828260006200013c565b50620000b3905060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61046200052a565b60008051602062000ef883398151915214620000d357620000d362000550565b6001600160a01b038216608081905260008051602062000ef88339815191528381556040805160008152602081019390935290917f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f910160405180910390a150505050620005b9565b620001478362000179565b600082511180620001555750805b156200017457620001728383620001bb60201b620002a91760201c565b505b505050565b6200018481620001ea565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060620001e3838360405180606001604052806027815260200162000f3860279139620002b2565b9392505050565b62000200816200039860201b620002d51760201c565b620002685760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806200029160008051602062000f1883398151915260001b620003a760201b620002411760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b60606001600160a01b0384163b6200031c5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016200025f565b600080856001600160a01b03168560405162000339919062000566565b600060405180830381855af49150503d806000811462000376576040519150601f19603f3d011682016040523d82523d6000602084013e6200037b565b606091505b5090925090506200038e828286620003aa565b9695505050505050565b6001600160a01b03163b151590565b90565b60608315620003bb575081620001e3565b825115620003cc5782518084602001fd5b8160405162461bcd60e51b81526004016200025f919062000584565b80516001600160a01b03811681146200040057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620004385781810151838201526020016200041e565b83811115620001725750506000910152565b6000806000606084860312156200046057600080fd5b6200046b84620003e8565b92506200047b60208501620003e8565b60408501519092506001600160401b03808211156200049957600080fd5b818601915086601f830112620004ae57600080fd5b815181811115620004c357620004c362000405565b604051601f8201601f19908116603f01168101908382118183101715620004ee57620004ee62000405565b816040528281528960208487010111156200050857600080fd5b6200051b8360208301602088016200041b565b80955050505050509250925092565b6000828210156200054b57634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052600160045260246000fd5b600082516200057a8184602087016200041b565b9190910192915050565b6020815260008251806020840152620005a58160408501602087016200041b565b601f01601f19169190910160400192915050565b608051610900620005f86000396000818161011201528181610176015281816102060152818161025e01528181610287015261030901526109006000f3fe6080604052600436106100435760003560e01c80633659cfe61461005a5780634f1ef2861461007a5780635c60da1b1461008d578063f851a440146100cb57610052565b36610052576100506100e0565b005b6100506100e0565b34801561006657600080fd5b5061005061007536600461076c565b6100fa565b610050610088366004610787565b61015e565b34801561009957600080fd5b506100a26101ec565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100d757600080fd5b506100a2610244565b6100e86102f1565b6100f86100f36103e2565b610422565b565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101565761015381604051806020016040528060008152506000610446565b50565b6101536100e0565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101e4576101df8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610446915050565b505050565b6101df6100e0565b60003373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161415610239576102346103e2565b905090565b6102416100e0565b90565b60003373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016141561023957507f000000000000000000000000000000000000000000000000000000000000000090565b60606102ce83836040518060600160405280602781526020016108a460279139610471565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156100f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760648201527f6574000000000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b60006102347f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b3660008037600080366000845af43d6000803e808015610441573d6000f35b3d6000fd5b61044f83610599565b60008251118061045c5750805b156101df5761046b83836102a9565b50505050565b606073ffffffffffffffffffffffffffffffffffffffff84163b610517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084016103d9565b6000808573ffffffffffffffffffffffffffffffffffffffff168560405161053f9190610836565b600060405180830381855af49150503d806000811461057a576040519150601f19603f3d011682016040523d82523d6000602084013e61057f565b606091505b509150915061058f8282866105e6565b9695505050505050565b6105a281610639565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606083156105f55750816102ce565b8251156106055782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d99190610852565b73ffffffffffffffffffffffffffffffffffffffff81163b6106dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103d9565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461076757600080fd5b919050565b60006020828403121561077e57600080fd5b6102ce82610743565b60008060006040848603121561079c57600080fd5b6107a584610743565b9250602084013567ffffffffffffffff808211156107c257600080fd5b818601915086601f8301126107d657600080fd5b8135818111156107e557600080fd5b8760208285010111156107f757600080fd5b6020830194508093505050509250925092565b60005b8381101561082557818101518382015260200161080d565b8381111561046b5750506000910152565b6000825161084881846020870161080a565b9190910192915050565b602081526000825180602084015261087181604085016020870161080a565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212206f70214c51cdd41c05ba0ffeb72b309ca3c8be178fd6e73c12162330799984f364736f6c634300080a0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564",
|
|
851
|
-
"deployedBytecode": "0x6080604052600436106100435760003560e01c80633659cfe61461005a5780634f1ef2861461007a5780635c60da1b1461008d578063f851a440146100cb57610052565b36610052576100506100e0565b005b6100506100e0565b34801561006657600080fd5b5061005061007536600461076c565b6100fa565b610050610088366004610787565b61015e565b34801561009957600080fd5b506100a26101ec565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100d757600080fd5b506100a2610244565b6100e86102f1565b6100f86100f36103e2565b610422565b565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101565761015381604051806020016040528060008152506000610446565b50565b6101536100e0565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101e4576101df8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610446915050565b505050565b6101df6100e0565b60003373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161415610239576102346103e2565b905090565b6102416100e0565b90565b60003373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016141561023957507f000000000000000000000000000000000000000000000000000000000000000090565b60606102ce83836040518060600160405280602781526020016108a460279139610471565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156100f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760648201527f6574000000000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b60006102347f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b3660008037600080366000845af43d6000803e808015610441573d6000f35b3d6000fd5b61044f83610599565b60008251118061045c5750805b156101df5761046b83836102a9565b50505050565b606073ffffffffffffffffffffffffffffffffffffffff84163b610517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084016103d9565b6000808573ffffffffffffffffffffffffffffffffffffffff168560405161053f9190610836565b600060405180830381855af49150503d806000811461057a576040519150601f19603f3d011682016040523d82523d6000602084013e61057f565b606091505b509150915061058f8282866105e6565b9695505050505050565b6105a281610639565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606083156105f55750816102ce565b8251156106055782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d99190610852565b73ffffffffffffffffffffffffffffffffffffffff81163b6106dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103d9565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461076757600080fd5b919050565b60006020828403121561077e57600080fd5b6102ce82610743565b60008060006040848603121561079c57600080fd5b6107a584610743565b9250602084013567ffffffffffffffff808211156107c257600080fd5b818601915086601f8301126107d657600080fd5b8135818111156107e557600080fd5b8760208285010111156107f757600080fd5b6020830194508093505050509250925092565b60005b8381101561082557818101518382015260200161080d565b8381111561046b5750506000910152565b6000825161084881846020870161080a565b9190910192915050565b602081526000825180602084015261087181604085016020870161080a565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212206f70214c51cdd41c05ba0ffeb72b309ca3c8be178fd6e73c12162330799984f364736f6c634300080a0033",
|
|
852
|
-
"execute": {
|
|
853
|
-
"methodName": "initialize",
|
|
854
|
-
"args": [
|
|
855
|
-
"0xB9Cb228D7498d6F02B0F88F7b16d2Cf836d2aeA9"
|
|
856
|
-
]
|
|
857
|
-
},
|
|
858
|
-
"implementation": "0x2E983A1Ba5e8b38AAAeC4B440B9dDcFBf72E15d1",
|
|
859
|
-
"devdoc": {
|
|
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.",
|
|
861
|
-
"kind": "dev",
|
|
862
|
-
"methods": {
|
|
863
|
-
"admin()": {
|
|
864
|
-
"details": "Returns the current admin. NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}. TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`"
|
|
865
|
-
},
|
|
866
|
-
"constructor": {
|
|
867
|
-
"details": "Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}."
|
|
868
|
-
},
|
|
869
|
-
"implementation()": {
|
|
870
|
-
"details": "Returns the current implementation. NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}. TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`"
|
|
871
|
-
},
|
|
872
|
-
"upgradeTo(address)": {
|
|
873
|
-
"details": "Upgrade the implementation of the proxy. NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}."
|
|
874
|
-
},
|
|
875
|
-
"upgradeToAndCall(address,bytes)": {
|
|
876
|
-
"details": "Upgrade the implementation of the proxy, and then call a function from the new implementation as specified by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the proxied contract. NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}."
|
|
877
|
-
}
|
|
878
|
-
},
|
|
879
|
-
"version": 1
|
|
880
|
-
},
|
|
881
|
-
"userdoc": {
|
|
882
|
-
"kind": "user",
|
|
883
|
-
"methods": {},
|
|
884
|
-
"version": 1
|
|
885
|
-
},
|
|
886
|
-
"storageLayout": {
|
|
887
|
-
"storage": [],
|
|
888
|
-
"types": null
|
|
889
|
-
}
|
|
890
|
-
}
|