@layerzerolabs/lz-evm-sdk-v2 2.0.16 → 2.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/artifacts/contracts/Executor.sol/Executor.json +2 -2
  2. package/artifacts/contracts/ExecutorFeeLib.sol/ExecutorFeeLib.json +2 -7
  3. package/artifacts/contracts/interfaces/IExecutorFeeLib.sol/IExecutorFeeLib.json +0 -5
  4. package/deployments/avalanche-testnet/AxelarDVNAdapterFeeLib.json +10 -10
  5. package/deployments/avalanche-testnet/AxelarDVNAdapterFeeLib_Implementation.json +40 -40
  6. package/deployments/blast-testnet/DVN.json +1929 -0
  7. package/deployments/blast-testnet/DVNFeeLib.json +387 -0
  8. package/deployments/blast-testnet/EndpointV2.json +3000 -0
  9. package/deployments/blast-testnet/Executor.json +1532 -0
  10. package/deployments/blast-testnet/ExecutorFeeLib.json +407 -0
  11. package/deployments/blast-testnet/ExecutorProxyAdmin.json +283 -0
  12. package/deployments/blast-testnet/Executor_Implementation.json +1591 -0
  13. package/deployments/{ethereum-sandbox-local/ReceiveUln301View.json → blast-testnet/Executor_Proxy.json} +189 -178
  14. package/deployments/{polygon-sandbox-local/LzExecutor.json → blast-testnet/PriceFeed.json} +408 -275
  15. package/deployments/blast-testnet/PriceFeedProxyAdmin.json +283 -0
  16. package/deployments/blast-testnet/PriceFeed_Implementation.json +912 -0
  17. package/deployments/{ethereum-sandbox-local/LzExecutor_Proxy.json → blast-testnet/PriceFeed_Proxy.json} +37 -37
  18. package/deployments/blast-testnet/ReceiveUln301.json +1292 -0
  19. package/deployments/blast-testnet/ReceiveUln302.json +1006 -0
  20. package/deployments/blast-testnet/SendUln301.json +1569 -0
  21. package/deployments/blast-testnet/SendUln302.json +1527 -0
  22. package/deployments/blast-testnet/Treasury.json +412 -0
  23. package/deployments/blast-testnet/TreasuryFeeHandler.json +125 -0
  24. package/deployments/ethereum-sandbox-local/DVN.json +76 -76
  25. package/deployments/ethereum-sandbox-local/DVNFeeLib.json +23 -23
  26. package/deployments/ethereum-sandbox-local/EndpointV2.json +150 -141
  27. package/deployments/ethereum-sandbox-local/Executor.json +86 -86
  28. package/deployments/ethereum-sandbox-local/ExecutorFeeLib.json +33 -38
  29. package/deployments/ethereum-sandbox-local/ExecutorProxyAdmin.json +17 -17
  30. package/deployments/ethereum-sandbox-local/Executor_Implementation.json +61 -61
  31. package/deployments/ethereum-sandbox-local/Executor_Proxy.json +66 -66
  32. package/deployments/ethereum-sandbox-local/NonceContractMock.json +6 -6
  33. package/deployments/ethereum-sandbox-local/PriceFeed.json +18 -18
  34. package/deployments/ethereum-sandbox-local/PriceFeedProxyAdmin.json +5 -5
  35. package/deployments/ethereum-sandbox-local/PriceFeed_Implementation.json +44 -44
  36. package/deployments/ethereum-sandbox-local/PriceFeed_Proxy.json +5 -5
  37. package/deployments/ethereum-sandbox-local/ReceiveUln301.json +98 -126
  38. package/deployments/ethereum-sandbox-local/ReceiveUln302.json +62 -114
  39. package/deployments/ethereum-sandbox-local/SendUln301.json +112 -112
  40. package/deployments/ethereum-sandbox-local/SendUln302.json +109 -109
  41. package/deployments/ethereum-sandbox-local/SimpleMessageLib.json +23 -23
  42. package/deployments/ethereum-sandbox-local/Treasury.json +21 -21
  43. package/deployments/ethereum-sandbox-local/TreasuryFeeHandler.json +12 -12
  44. package/deployments/{ethereum-sandbox-local/LzExecutor.json → joc-testnet/PriceFeed.json} +408 -275
  45. package/deployments/joc-testnet/PriceFeedProxyAdmin.json +283 -0
  46. package/deployments/joc-testnet/PriceFeed_Implementation.json +912 -0
  47. package/deployments/{polygon-sandbox-local/LzExecutor_Proxy.json → joc-testnet/PriceFeed_Proxy.json} +37 -37
  48. package/deployments/polygon-sandbox-local/DVN.json +76 -76
  49. package/deployments/polygon-sandbox-local/DVNFeeLib.json +23 -23
  50. package/deployments/polygon-sandbox-local/EndpointV2.json +150 -141
  51. package/deployments/polygon-sandbox-local/Executor.json +86 -86
  52. package/deployments/polygon-sandbox-local/ExecutorFeeLib.json +33 -38
  53. package/deployments/polygon-sandbox-local/ExecutorProxyAdmin.json +17 -17
  54. package/deployments/polygon-sandbox-local/Executor_Implementation.json +61 -61
  55. package/deployments/polygon-sandbox-local/Executor_Proxy.json +66 -66
  56. package/deployments/polygon-sandbox-local/NonceContractMock.json +6 -6
  57. package/deployments/polygon-sandbox-local/PriceFeed.json +18 -18
  58. package/deployments/polygon-sandbox-local/PriceFeedProxyAdmin.json +5 -5
  59. package/deployments/polygon-sandbox-local/PriceFeed_Implementation.json +44 -44
  60. package/deployments/polygon-sandbox-local/PriceFeed_Proxy.json +5 -5
  61. package/deployments/polygon-sandbox-local/ReceiveUln301.json +98 -126
  62. package/deployments/polygon-sandbox-local/ReceiveUln302.json +62 -114
  63. package/deployments/polygon-sandbox-local/SendUln301.json +112 -112
  64. package/deployments/polygon-sandbox-local/SendUln302.json +109 -109
  65. package/deployments/polygon-sandbox-local/SimpleMessageLib.json +23 -23
  66. package/deployments/polygon-sandbox-local/Treasury.json +21 -21
  67. package/deployments/polygon-sandbox-local/TreasuryFeeHandler.json +12 -12
  68. package/deployments/rarible-mainnet/PriceFeed.json +891 -0
  69. package/deployments/rarible-mainnet/PriceFeedProxyAdmin.json +284 -0
  70. package/deployments/rarible-mainnet/PriceFeed_Implementation.json +913 -0
  71. package/deployments/rarible-mainnet/PriceFeed_Proxy.json +245 -0
  72. package/dist/{index-3seuukWJ.d.mts → index-htDjTX1I.d.mts} +2 -10
  73. package/dist/{index-3seuukWJ.d.ts → index-htDjTX1I.d.ts} +2 -10
  74. package/dist/index.browser.cjs +2 -12
  75. package/dist/index.browser.cjs.map +1 -1
  76. package/dist/index.browser.d.mts +1 -1
  77. package/dist/index.browser.d.ts +1 -1
  78. package/dist/index.browser.mjs +2 -12
  79. package/dist/index.browser.mjs.map +1 -1
  80. package/dist/index.cjs +2 -12
  81. package/dist/index.cjs.map +1 -1
  82. package/dist/index.d.mts +1 -1
  83. package/dist/index.d.ts +1 -1
  84. package/dist/index.mjs +2 -12
  85. package/dist/index.mjs.map +1 -1
  86. package/package.json +8 -8
  87. package/deployments/ethereum-sandbox-local/DefaultProxyAdmin.json +0 -258
  88. package/deployments/ethereum-sandbox-local/EndpointV2View.json +0 -435
  89. package/deployments/ethereum-sandbox-local/EndpointV2View_Implementation.json +0 -313
  90. package/deployments/ethereum-sandbox-local/EndpointV2View_Proxy.json +0 -230
  91. package/deployments/ethereum-sandbox-local/LzExecutor_Implementation.json +0 -703
  92. package/deployments/ethereum-sandbox-local/ReceiveUln301View_Implementation.json +0 -231
  93. package/deployments/ethereum-sandbox-local/ReceiveUln301View_Proxy.json +0 -230
  94. package/deployments/ethereum-sandbox-local/ReceiveUln302View.json +0 -478
  95. package/deployments/ethereum-sandbox-local/ReceiveUln302View_Implementation.json +0 -384
  96. package/deployments/ethereum-sandbox-local/ReceiveUln302View_Proxy.json +0 -230
  97. package/deployments/polygon-sandbox-local/DefaultProxyAdmin.json +0 -258
  98. package/deployments/polygon-sandbox-local/EndpointV2View.json +0 -435
  99. package/deployments/polygon-sandbox-local/EndpointV2View_Implementation.json +0 -313
  100. package/deployments/polygon-sandbox-local/EndpointV2View_Proxy.json +0 -230
  101. package/deployments/polygon-sandbox-local/LzExecutor_Implementation.json +0 -703
  102. package/deployments/polygon-sandbox-local/ReceiveUln301View.json +0 -354
  103. package/deployments/polygon-sandbox-local/ReceiveUln301View_Implementation.json +0 -231
  104. package/deployments/polygon-sandbox-local/ReceiveUln301View_Proxy.json +0 -230
  105. package/deployments/polygon-sandbox-local/ReceiveUln302View.json +0 -478
  106. package/deployments/polygon-sandbox-local/ReceiveUln302View_Implementation.json +0 -384
  107. package/deployments/polygon-sandbox-local/ReceiveUln302View_Proxy.json +0 -230
@@ -1,478 +0,0 @@
1
- {
2
- "address": "0x544eAe853EA3774A8857573C6423E6Db95b79258",
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
- "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
- "inputs": [],
129
- "name": "EMPTY_PAYLOAD_HASH",
130
- "outputs": [
131
- {
132
- "internalType": "bytes32",
133
- "name": "",
134
- "type": "bytes32"
135
- }
136
- ],
137
- "stateMutability": "view",
138
- "type": "function"
139
- },
140
- {
141
- "inputs": [],
142
- "name": "NIL_PAYLOAD_HASH",
143
- "outputs": [
144
- {
145
- "internalType": "bytes32",
146
- "name": "",
147
- "type": "bytes32"
148
- }
149
- ],
150
- "stateMutability": "view",
151
- "type": "function"
152
- },
153
- {
154
- "inputs": [],
155
- "name": "endpoint",
156
- "outputs": [
157
- {
158
- "internalType": "contract ILayerZeroEndpointV2",
159
- "name": "",
160
- "type": "address"
161
- }
162
- ],
163
- "stateMutability": "view",
164
- "type": "function"
165
- },
166
- {
167
- "inputs": [
168
- {
169
- "components": [
170
- {
171
- "internalType": "uint32",
172
- "name": "srcEid",
173
- "type": "uint32"
174
- },
175
- {
176
- "internalType": "bytes32",
177
- "name": "sender",
178
- "type": "bytes32"
179
- },
180
- {
181
- "internalType": "uint64",
182
- "name": "nonce",
183
- "type": "uint64"
184
- }
185
- ],
186
- "internalType": "struct Origin",
187
- "name": "_origin",
188
- "type": "tuple"
189
- },
190
- {
191
- "internalType": "address",
192
- "name": "_receiver",
193
- "type": "address"
194
- }
195
- ],
196
- "name": "executable",
197
- "outputs": [
198
- {
199
- "internalType": "enum ExecutionState",
200
- "name": "",
201
- "type": "uint8"
202
- }
203
- ],
204
- "stateMutability": "view",
205
- "type": "function"
206
- },
207
- {
208
- "inputs": [
209
- {
210
- "components": [
211
- {
212
- "internalType": "uint32",
213
- "name": "srcEid",
214
- "type": "uint32"
215
- },
216
- {
217
- "internalType": "bytes32",
218
- "name": "sender",
219
- "type": "bytes32"
220
- },
221
- {
222
- "internalType": "uint64",
223
- "name": "nonce",
224
- "type": "uint64"
225
- }
226
- ],
227
- "internalType": "struct Origin",
228
- "name": "_origin",
229
- "type": "tuple"
230
- },
231
- {
232
- "internalType": "address",
233
- "name": "_receiver",
234
- "type": "address"
235
- }
236
- ],
237
- "name": "initializable",
238
- "outputs": [
239
- {
240
- "internalType": "bool",
241
- "name": "",
242
- "type": "bool"
243
- }
244
- ],
245
- "stateMutability": "view",
246
- "type": "function"
247
- },
248
- {
249
- "inputs": [
250
- {
251
- "internalType": "address",
252
- "name": "_endpoint",
253
- "type": "address"
254
- },
255
- {
256
- "internalType": "address",
257
- "name": "_receiveUln302",
258
- "type": "address"
259
- }
260
- ],
261
- "name": "initialize",
262
- "outputs": [],
263
- "stateMutability": "nonpayable",
264
- "type": "function"
265
- },
266
- {
267
- "inputs": [],
268
- "name": "receiveUln302",
269
- "outputs": [
270
- {
271
- "internalType": "contract IReceiveUln302",
272
- "name": "",
273
- "type": "address"
274
- }
275
- ],
276
- "stateMutability": "view",
277
- "type": "function"
278
- },
279
- {
280
- "inputs": [
281
- {
282
- "internalType": "bytes",
283
- "name": "_packetHeader",
284
- "type": "bytes"
285
- },
286
- {
287
- "internalType": "bytes32",
288
- "name": "_payloadHash",
289
- "type": "bytes32"
290
- }
291
- ],
292
- "name": "verifiable",
293
- "outputs": [
294
- {
295
- "internalType": "enum VerificationState",
296
- "name": "",
297
- "type": "uint8"
298
- }
299
- ],
300
- "stateMutability": "view",
301
- "type": "function"
302
- },
303
- {
304
- "inputs": [
305
- {
306
- "components": [
307
- {
308
- "internalType": "uint32",
309
- "name": "srcEid",
310
- "type": "uint32"
311
- },
312
- {
313
- "internalType": "bytes32",
314
- "name": "sender",
315
- "type": "bytes32"
316
- },
317
- {
318
- "internalType": "uint64",
319
- "name": "nonce",
320
- "type": "uint64"
321
- }
322
- ],
323
- "internalType": "struct Origin",
324
- "name": "_origin",
325
- "type": "tuple"
326
- },
327
- {
328
- "internalType": "address",
329
- "name": "_receiver",
330
- "type": "address"
331
- },
332
- {
333
- "internalType": "address",
334
- "name": "_receiveLib",
335
- "type": "address"
336
- },
337
- {
338
- "internalType": "bytes32",
339
- "name": "_payloadHash",
340
- "type": "bytes32"
341
- }
342
- ],
343
- "name": "verifiable",
344
- "outputs": [
345
- {
346
- "internalType": "bool",
347
- "name": "",
348
- "type": "bool"
349
- }
350
- ],
351
- "stateMutability": "view",
352
- "type": "function"
353
- },
354
- {
355
- "inputs": [
356
- {
357
- "internalType": "address",
358
- "name": "_logic",
359
- "type": "address"
360
- },
361
- {
362
- "internalType": "address",
363
- "name": "admin_",
364
- "type": "address"
365
- },
366
- {
367
- "internalType": "bytes",
368
- "name": "_data",
369
- "type": "bytes"
370
- }
371
- ],
372
- "stateMutability": "payable",
373
- "type": "constructor"
374
- }
375
- ],
376
- "transactionHash": "0x6bfc610f82be08a913cbf2f6f23f9b33335b7c3d81ab853ac992a706e54e0de3",
377
- "receipt": {
378
- "to": null,
379
- "from": "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC",
380
- "contractAddress": "0x544eAe853EA3774A8857573C6423E6Db95b79258",
381
- "transactionIndex": 0,
382
- "gasUsed": "675287",
383
- "logsBloom": "0x00000000000000000000000000000000400000000000000000000080000010000000000000000000000008000000000000000000000000000000000000000000000000000000000001000000000002000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000080000000000000800000000000000000000000000000000400000000000000000000000000000000000000200020000000000008000000040000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
384
- "blockHash": "0x901151f79e741eacf6caada3e79ef155b6d9ad5b06d65ba8b46b1169aa45997b",
385
- "transactionHash": "0x6bfc610f82be08a913cbf2f6f23f9b33335b7c3d81ab853ac992a706e54e0de3",
386
- "logs": [
387
- {
388
- "transactionIndex": 0,
389
- "blockNumber": 53,
390
- "transactionHash": "0x6bfc610f82be08a913cbf2f6f23f9b33335b7c3d81ab853ac992a706e54e0de3",
391
- "address": "0x544eAe853EA3774A8857573C6423E6Db95b79258",
392
- "topics": [
393
- "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
394
- "0x0000000000000000000000004f41b941940005ae25d5ecb0f01badbc7065e2dd"
395
- ],
396
- "data": "0x",
397
- "logIndex": 0,
398
- "blockHash": "0x901151f79e741eacf6caada3e79ef155b6d9ad5b06d65ba8b46b1169aa45997b"
399
- },
400
- {
401
- "transactionIndex": 0,
402
- "blockNumber": 53,
403
- "transactionHash": "0x6bfc610f82be08a913cbf2f6f23f9b33335b7c3d81ab853ac992a706e54e0de3",
404
- "address": "0x544eAe853EA3774A8857573C6423E6Db95b79258",
405
- "topics": [
406
- "0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
407
- ],
408
- "data": "0x0000000000000000000000000000000000000000000000000000000000000001",
409
- "logIndex": 1,
410
- "blockHash": "0x901151f79e741eacf6caada3e79ef155b6d9ad5b06d65ba8b46b1169aa45997b"
411
- },
412
- {
413
- "transactionIndex": 0,
414
- "blockNumber": 53,
415
- "transactionHash": "0x6bfc610f82be08a913cbf2f6f23f9b33335b7c3d81ab853ac992a706e54e0de3",
416
- "address": "0x544eAe853EA3774A8857573C6423E6Db95b79258",
417
- "topics": [
418
- "0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
419
- ],
420
- "data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e7c2a73131dd48d8ac46dcd7ab80c8cbee5b410a",
421
- "logIndex": 2,
422
- "blockHash": "0x901151f79e741eacf6caada3e79ef155b6d9ad5b06d65ba8b46b1169aa45997b"
423
- }
424
- ],
425
- "blockNumber": 53,
426
- "cumulativeGasUsed": "675287",
427
- "status": 1,
428
- "byzantium": true
429
- },
430
- "args": [
431
- "0x4F41b941940005aE25D5ecB0F01BaDbc7065E2dD",
432
- "0xE7C2a73131dd48D8AC46dCD7Ab80C8cbeE5b410A",
433
- "0x485cc9550000000000000000000000000b48af34f4c854f5ae1a3d587da471fea45bad520000000000000000000000005c7c905b505f0cf40ab6600d05e677f717916f6b"
434
- ],
435
- "numDeployments": 1,
436
- "solcInputHash": "0e89febeebc7444140de8e67c9067d2c",
437
- "bytecode": "0x60a060405260405162000f5f38038062000f5f83398101604081905262000026916200044a565b82816200005560017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd6200052a565b60008051602062000f188339815191521462000075576200007562000550565b62000083828260006200013c565b50620000b3905060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61046200052a565b60008051602062000ef883398151915214620000d357620000d362000550565b6001600160a01b038216608081905260008051602062000ef88339815191528381556040805160008152602081019390935290917f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f910160405180910390a150505050620005b9565b620001478362000179565b600082511180620001555750805b156200017457620001728383620001bb60201b620002a91760201c565b505b505050565b6200018481620001ea565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060620001e3838360405180606001604052806027815260200162000f3860279139620002b2565b9392505050565b62000200816200039860201b620002d51760201c565b620002685760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806200029160008051602062000f1883398151915260001b620003a760201b620002411760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b60606001600160a01b0384163b6200031c5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016200025f565b600080856001600160a01b03168560405162000339919062000566565b600060405180830381855af49150503d806000811462000376576040519150601f19603f3d011682016040523d82523d6000602084013e6200037b565b606091505b5090925090506200038e828286620003aa565b9695505050505050565b6001600160a01b03163b151590565b90565b60608315620003bb575081620001e3565b825115620003cc5782518084602001fd5b8160405162461bcd60e51b81526004016200025f919062000584565b80516001600160a01b03811681146200040057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620004385781810151838201526020016200041e565b83811115620001725750506000910152565b6000806000606084860312156200046057600080fd5b6200046b84620003e8565b92506200047b60208501620003e8565b60408501519092506001600160401b03808211156200049957600080fd5b818601915086601f830112620004ae57600080fd5b815181811115620004c357620004c362000405565b604051601f8201601f19908116603f01168101908382118183101715620004ee57620004ee62000405565b816040528281528960208487010111156200050857600080fd5b6200051b8360208301602088016200041b565b80955050505050509250925092565b6000828210156200054b57634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052600160045260246000fd5b600082516200057a8184602087016200041b565b9190910192915050565b6020815260008251806020840152620005a58160408501602087016200041b565b601f01601f19169190910160400192915050565b608051610900620005f86000396000818161011201528181610176015281816102060152818161025e01528181610287015261030901526109006000f3fe6080604052600436106100435760003560e01c80633659cfe61461005a5780634f1ef2861461007a5780635c60da1b1461008d578063f851a440146100cb57610052565b36610052576100506100e0565b005b6100506100e0565b34801561006657600080fd5b5061005061007536600461076c565b6100fa565b610050610088366004610787565b61015e565b34801561009957600080fd5b506100a26101ec565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100d757600080fd5b506100a2610244565b6100e86102f1565b6100f86100f36103e2565b610422565b565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101565761015381604051806020016040528060008152506000610446565b50565b6101536100e0565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101e4576101df8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610446915050565b505050565b6101df6100e0565b60003373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161415610239576102346103e2565b905090565b6102416100e0565b90565b60003373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016141561023957507f000000000000000000000000000000000000000000000000000000000000000090565b60606102ce83836040518060600160405280602781526020016108a460279139610471565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156100f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760648201527f6574000000000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b60006102347f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b3660008037600080366000845af43d6000803e808015610441573d6000f35b3d6000fd5b61044f83610599565b60008251118061045c5750805b156101df5761046b83836102a9565b50505050565b606073ffffffffffffffffffffffffffffffffffffffff84163b610517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084016103d9565b6000808573ffffffffffffffffffffffffffffffffffffffff168560405161053f9190610836565b600060405180830381855af49150503d806000811461057a576040519150601f19603f3d011682016040523d82523d6000602084013e61057f565b606091505b509150915061058f8282866105e6565b9695505050505050565b6105a281610639565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606083156105f55750816102ce565b8251156106055782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d99190610852565b73ffffffffffffffffffffffffffffffffffffffff81163b6106dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103d9565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461076757600080fd5b919050565b60006020828403121561077e57600080fd5b6102ce82610743565b60008060006040848603121561079c57600080fd5b6107a584610743565b9250602084013567ffffffffffffffff808211156107c257600080fd5b818601915086601f8301126107d657600080fd5b8135818111156107e557600080fd5b8760208285010111156107f757600080fd5b6020830194508093505050509250925092565b60005b8381101561082557818101518382015260200161080d565b8381111561046b5750506000910152565b6000825161084881846020870161080a565b9190910192915050565b602081526000825180602084015261087181604085016020870161080a565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212206f70214c51cdd41c05ba0ffeb72b309ca3c8be178fd6e73c12162330799984f364736f6c634300080a0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564",
438
- "deployedBytecode": "0x6080604052600436106100435760003560e01c80633659cfe61461005a5780634f1ef2861461007a5780635c60da1b1461008d578063f851a440146100cb57610052565b36610052576100506100e0565b005b6100506100e0565b34801561006657600080fd5b5061005061007536600461076c565b6100fa565b610050610088366004610787565b61015e565b34801561009957600080fd5b506100a26101ec565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100d757600080fd5b506100a2610244565b6100e86102f1565b6100f86100f36103e2565b610422565b565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101565761015381604051806020016040528060008152506000610446565b50565b6101536100e0565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101e4576101df8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610446915050565b505050565b6101df6100e0565b60003373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161415610239576102346103e2565b905090565b6102416100e0565b90565b60003373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016141561023957507f000000000000000000000000000000000000000000000000000000000000000090565b60606102ce83836040518060600160405280602781526020016108a460279139610471565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156100f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760648201527f6574000000000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b60006102347f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b3660008037600080366000845af43d6000803e808015610441573d6000f35b3d6000fd5b61044f83610599565b60008251118061045c5750805b156101df5761046b83836102a9565b50505050565b606073ffffffffffffffffffffffffffffffffffffffff84163b610517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084016103d9565b6000808573ffffffffffffffffffffffffffffffffffffffff168560405161053f9190610836565b600060405180830381855af49150503d806000811461057a576040519150601f19603f3d011682016040523d82523d6000602084013e61057f565b606091505b509150915061058f8282866105e6565b9695505050505050565b6105a281610639565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606083156105f55750816102ce565b8251156106055782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d99190610852565b73ffffffffffffffffffffffffffffffffffffffff81163b6106dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103d9565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461076757600080fd5b919050565b60006020828403121561077e57600080fd5b6102ce82610743565b60008060006040848603121561079c57600080fd5b6107a584610743565b9250602084013567ffffffffffffffff808211156107c257600080fd5b818601915086601f8301126107d657600080fd5b8135818111156107e557600080fd5b8760208285010111156107f757600080fd5b6020830194508093505050509250925092565b60005b8381101561082557818101518382015260200161080d565b8381111561046b5750506000910152565b6000825161084881846020870161080a565b9190910192915050565b602081526000825180602084015261087181604085016020870161080a565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212206f70214c51cdd41c05ba0ffeb72b309ca3c8be178fd6e73c12162330799984f364736f6c634300080a0033",
439
- "execute": {
440
- "methodName": "initialize",
441
- "args": [
442
- "0x0b48aF34f4c854F5ae1A3D587da471FeA45bAD52",
443
- "0x5C7c905B505f0Cf40Ab6600d05e677F717916F6B"
444
- ]
445
- },
446
- "implementation": "0x4F41b941940005aE25D5ecB0F01BaDbc7065E2dD",
447
- "devdoc": {
448
- "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.",
449
- "kind": "dev",
450
- "methods": {
451
- "admin()": {
452
- "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`"
453
- },
454
- "constructor": {
455
- "details": "Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}."
456
- },
457
- "implementation()": {
458
- "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`"
459
- },
460
- "upgradeTo(address)": {
461
- "details": "Upgrade the implementation of the proxy. NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}."
462
- },
463
- "upgradeToAndCall(address,bytes)": {
464
- "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}."
465
- }
466
- },
467
- "version": 1
468
- },
469
- "userdoc": {
470
- "kind": "user",
471
- "methods": {},
472
- "version": 1
473
- },
474
- "storageLayout": {
475
- "storage": [],
476
- "types": null
477
- }
478
- }