@layerzerolabs/lz-evm-sdk-v2 2.1.13 → 2.1.15

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 (46) hide show
  1. package/deployments/blast-mainnet/DVN.json +1918 -0
  2. package/deployments/blast-mainnet/DVNFeeLib.json +399 -0
  3. package/deployments/blast-mainnet/DefaultProxyAdmin.json +259 -0
  4. package/deployments/blast-mainnet/EndpointV2.json +3001 -0
  5. package/deployments/blast-mainnet/EndpointV2View.json +436 -0
  6. package/deployments/blast-mainnet/EndpointV2View_Implementation.json +314 -0
  7. package/deployments/blast-mainnet/EndpointV2View_Proxy.json +231 -0
  8. package/deployments/blast-mainnet/Executor.json +1501 -0
  9. package/deployments/blast-mainnet/ExecutorFeeLib.json +424 -0
  10. package/deployments/blast-mainnet/ExecutorProxyAdmin.json +284 -0
  11. package/deployments/blast-mainnet/Executor_Implementation.json +1592 -0
  12. package/deployments/blast-mainnet/Executor_Proxy.json +336 -0
  13. package/deployments/blast-mainnet/LzExecutor.json +758 -0
  14. package/deployments/blast-mainnet/LzExecutor_Implementation.json +704 -0
  15. package/deployments/blast-mainnet/LzExecutor_Proxy.json +245 -0
  16. package/deployments/blast-mainnet/PriceFeed.json +891 -0
  17. package/deployments/blast-mainnet/PriceFeedProxyAdmin.json +284 -0
  18. package/deployments/blast-mainnet/PriceFeed_Implementation.json +913 -0
  19. package/deployments/blast-mainnet/PriceFeed_Proxy.json +245 -0
  20. package/deployments/blast-mainnet/ReceiveUln301.json +1293 -0
  21. package/deployments/blast-mainnet/ReceiveUln301View.json +355 -0
  22. package/deployments/blast-mainnet/ReceiveUln301View_Implementation.json +232 -0
  23. package/deployments/blast-mainnet/ReceiveUln301View_Proxy.json +231 -0
  24. package/deployments/blast-mainnet/ReceiveUln302.json +1007 -0
  25. package/deployments/blast-mainnet/ReceiveUln302View.json +479 -0
  26. package/deployments/blast-mainnet/ReceiveUln302View_Implementation.json +385 -0
  27. package/deployments/blast-mainnet/ReceiveUln302View_Proxy.json +231 -0
  28. package/deployments/blast-mainnet/SendUln301.json +1570 -0
  29. package/deployments/blast-mainnet/SendUln302.json +1528 -0
  30. package/deployments/blast-mainnet/Treasury.json +413 -0
  31. package/deployments/blast-mainnet/TreasuryFeeHandler.json +126 -0
  32. package/package.json +9 -9
  33. package/deployments/arbitrum-sandbox-local/DVN.json +0 -1864
  34. package/deployments/arbitrum-sandbox-local/DVNDecompressor.json +0 -500
  35. package/deployments/arbitrum-sandbox-local/DVNFeeLib.json +0 -398
  36. package/deployments/arbitrum-sandbox-local/PriceFeed.json +0 -890
  37. package/deployments/arbitrum-sandbox-local/PriceFeedProxyAdmin.json +0 -283
  38. package/deployments/arbitrum-sandbox-local/PriceFeed_Implementation.json +0 -912
  39. package/deployments/arbitrum-sandbox-local/PriceFeed_Proxy.json +0 -244
  40. package/deployments/tron-sandbox-local/DVN.json +0 -1864
  41. package/deployments/tron-sandbox-local/DVNDecompressor.json +0 -500
  42. package/deployments/tron-sandbox-local/DVNFeeLib.json +0 -398
  43. package/deployments/tron-sandbox-local/PriceFeed.json +0 -890
  44. package/deployments/tron-sandbox-local/PriceFeedProxyAdmin.json +0 -283
  45. package/deployments/tron-sandbox-local/PriceFeed_Implementation.json +0 -912
  46. package/deployments/tron-sandbox-local/PriceFeed_Proxy.json +0 -244
@@ -1,500 +0,0 @@
1
- {
2
- "address": "0xCABEe62adFB2a4d4172Fc2F7536f324FC52C274a",
3
- "abi": [
4
- {
5
- "inputs": [
6
- {
7
- "internalType": "uint32",
8
- "name": "_vid",
9
- "type": "uint32"
10
- },
11
- {
12
- "components": [
13
- {
14
- "internalType": "uint16",
15
- "name": "idx",
16
- "type": "uint16"
17
- },
18
- {
19
- "internalType": "address",
20
- "name": "addr",
21
- "type": "address"
22
- }
23
- ],
24
- "internalType": "struct DVNParam[]",
25
- "name": "_dvns",
26
- "type": "tuple[]"
27
- },
28
- {
29
- "components": [
30
- {
31
- "internalType": "uint8",
32
- "name": "idx",
33
- "type": "uint8"
34
- },
35
- {
36
- "internalType": "address",
37
- "name": "addr",
38
- "type": "address"
39
- }
40
- ],
41
- "internalType": "struct TargetParam[]",
42
- "name": "_targets",
43
- "type": "tuple[]"
44
- }
45
- ],
46
- "stateMutability": "nonpayable",
47
- "type": "constructor"
48
- },
49
- {
50
- "inputs": [
51
- {
52
- "internalType": "uint256",
53
- "name": "value",
54
- "type": "uint256"
55
- }
56
- ],
57
- "name": "IncorrectDictAccess",
58
- "type": "error"
59
- },
60
- {
61
- "anonymous": false,
62
- "inputs": [
63
- {
64
- "indexed": true,
65
- "internalType": "address",
66
- "name": "previousOwner",
67
- "type": "address"
68
- },
69
- {
70
- "indexed": true,
71
- "internalType": "address",
72
- "name": "newOwner",
73
- "type": "address"
74
- }
75
- ],
76
- "name": "OwnershipTransferred",
77
- "type": "event"
78
- },
79
- {
80
- "inputs": [],
81
- "name": "MAX_DICT_LEN",
82
- "outputs": [
83
- {
84
- "internalType": "uint256",
85
- "name": "",
86
- "type": "uint256"
87
- }
88
- ],
89
- "stateMutability": "view",
90
- "type": "function"
91
- },
92
- {
93
- "inputs": [],
94
- "name": "RESERVE_DICT_LEN",
95
- "outputs": [
96
- {
97
- "internalType": "uint256",
98
- "name": "",
99
- "type": "uint256"
100
- }
101
- ],
102
- "stateMutability": "view",
103
- "type": "function"
104
- },
105
- {
106
- "inputs": [
107
- {
108
- "components": [
109
- {
110
- "internalType": "uint16",
111
- "name": "idx",
112
- "type": "uint16"
113
- },
114
- {
115
- "internalType": "address",
116
- "name": "addr",
117
- "type": "address"
118
- }
119
- ],
120
- "internalType": "struct DVNParam[]",
121
- "name": "_dvns",
122
- "type": "tuple[]"
123
- }
124
- ],
125
- "name": "addDVNs",
126
- "outputs": [],
127
- "stateMutability": "nonpayable",
128
- "type": "function"
129
- },
130
- {
131
- "inputs": [
132
- {
133
- "components": [
134
- {
135
- "internalType": "uint8",
136
- "name": "idx",
137
- "type": "uint8"
138
- },
139
- {
140
- "internalType": "address",
141
- "name": "addr",
142
- "type": "address"
143
- }
144
- ],
145
- "internalType": "struct TargetParam[]",
146
- "name": "_targets",
147
- "type": "tuple[]"
148
- }
149
- ],
150
- "name": "addTargets",
151
- "outputs": [],
152
- "stateMutability": "nonpayable",
153
- "type": "function"
154
- },
155
- {
156
- "inputs": [],
157
- "name": "decompress",
158
- "outputs": [],
159
- "stateMutability": "payable",
160
- "type": "function"
161
- },
162
- {
163
- "inputs": [],
164
- "name": "decompressed",
165
- "outputs": [
166
- {
167
- "internalType": "bytes",
168
- "name": "raw",
169
- "type": "bytes"
170
- }
171
- ],
172
- "stateMutability": "view",
173
- "type": "function"
174
- },
175
- {
176
- "inputs": [
177
- {
178
- "internalType": "uint16",
179
- "name": "index",
180
- "type": "uint16"
181
- }
182
- ],
183
- "name": "dvns",
184
- "outputs": [
185
- {
186
- "internalType": "address",
187
- "name": "dvn",
188
- "type": "address"
189
- }
190
- ],
191
- "stateMutability": "view",
192
- "type": "function"
193
- },
194
- {
195
- "inputs": [
196
- {
197
- "internalType": "bytes",
198
- "name": "_encoded",
199
- "type": "bytes"
200
- }
201
- ],
202
- "name": "execute",
203
- "outputs": [],
204
- "stateMutability": "nonpayable",
205
- "type": "function"
206
- },
207
- {
208
- "inputs": [
209
- {
210
- "internalType": "uint256",
211
- "name": "begin",
212
- "type": "uint256"
213
- },
214
- {
215
- "internalType": "uint256",
216
- "name": "end",
217
- "type": "uint256"
218
- }
219
- ],
220
- "name": "getData",
221
- "outputs": [
222
- {
223
- "internalType": "bytes32[]",
224
- "name": "res",
225
- "type": "bytes32[]"
226
- }
227
- ],
228
- "stateMutability": "view",
229
- "type": "function"
230
- },
231
- {
232
- "inputs": [],
233
- "name": "owner",
234
- "outputs": [
235
- {
236
- "internalType": "address",
237
- "name": "",
238
- "type": "address"
239
- }
240
- ],
241
- "stateMutability": "view",
242
- "type": "function"
243
- },
244
- {
245
- "inputs": [
246
- {
247
- "internalType": "uint16[]",
248
- "name": "_idx",
249
- "type": "uint16[]"
250
- }
251
- ],
252
- "name": "removeDVNs",
253
- "outputs": [],
254
- "stateMutability": "nonpayable",
255
- "type": "function"
256
- },
257
- {
258
- "inputs": [
259
- {
260
- "internalType": "uint8[]",
261
- "name": "_idx",
262
- "type": "uint8[]"
263
- }
264
- ],
265
- "name": "removeTargets",
266
- "outputs": [],
267
- "stateMutability": "nonpayable",
268
- "type": "function"
269
- },
270
- {
271
- "inputs": [],
272
- "name": "renounceOwnership",
273
- "outputs": [],
274
- "stateMutability": "nonpayable",
275
- "type": "function"
276
- },
277
- {
278
- "inputs": [
279
- {
280
- "internalType": "uint8",
281
- "name": "index",
282
- "type": "uint8"
283
- }
284
- ],
285
- "name": "targets",
286
- "outputs": [
287
- {
288
- "internalType": "address",
289
- "name": "target",
290
- "type": "address"
291
- }
292
- ],
293
- "stateMutability": "view",
294
- "type": "function"
295
- },
296
- {
297
- "inputs": [
298
- {
299
- "internalType": "address",
300
- "name": "newOwner",
301
- "type": "address"
302
- }
303
- ],
304
- "name": "transferOwnership",
305
- "outputs": [],
306
- "stateMutability": "nonpayable",
307
- "type": "function"
308
- },
309
- {
310
- "inputs": [],
311
- "name": "vid",
312
- "outputs": [
313
- {
314
- "internalType": "uint32",
315
- "name": "",
316
- "type": "uint32"
317
- }
318
- ],
319
- "stateMutability": "view",
320
- "type": "function"
321
- }
322
- ],
323
- "transactionHash": "0xcf0fa858db2022e7f4dc7ac11af21812b13ea0c1f2154b7c32f5b21bc6ac734c",
324
- "receipt": {
325
- "to": null,
326
- "from": "0xBcd4042DE499D14e55001CcbB24a551F3b954096",
327
- "contractAddress": "0xCABEe62adFB2a4d4172Fc2F7536f324FC52C274a",
328
- "transactionIndex": 0,
329
- "gasUsed": "1426239",
330
- "logsBloom": "0x00000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000020000000000000000000800000000000000000000080000000000400000000000000000000000000000000000000000000000004000000000000020000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000080000000000000000080000000000000000000000000000000000000",
331
- "blockHash": "0x0dec7530f721aad4fd27b6e93d3cf7b0876308f1a8e0aafe350446322af82472",
332
- "transactionHash": "0xcf0fa858db2022e7f4dc7ac11af21812b13ea0c1f2154b7c32f5b21bc6ac734c",
333
- "logs": [
334
- {
335
- "transactionIndex": 0,
336
- "blockNumber": 22,
337
- "transactionHash": "0xcf0fa858db2022e7f4dc7ac11af21812b13ea0c1f2154b7c32f5b21bc6ac734c",
338
- "address": "0xCABEe62adFB2a4d4172Fc2F7536f324FC52C274a",
339
- "topics": [
340
- "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
341
- "0x0000000000000000000000000000000000000000000000000000000000000000",
342
- "0x000000000000000000000000bcd4042de499d14e55001ccbb24a551f3b954096"
343
- ],
344
- "data": "0x",
345
- "logIndex": 0,
346
- "blockHash": "0x0dec7530f721aad4fd27b6e93d3cf7b0876308f1a8e0aafe350446322af82472"
347
- }
348
- ],
349
- "blockNumber": 22,
350
- "cumulativeGasUsed": "1426239",
351
- "status": 1,
352
- "byzantium": true
353
- },
354
- "args": [
355
- 20231,
356
- [
357
- {
358
- "idx": 1,
359
- "addr": "0x10Aeafac83d48E2f9ac4bAAf94311c45fACe1404"
360
- }
361
- ],
362
- [
363
- {
364
- "idx": 1,
365
- "addr": "0x59F2f1fCfE2474fD5F0b9BA1E73ca90b143Eb8d0"
366
- }
367
- ]
368
- ],
369
- "numDeployments": 1,
370
- "solcInputHash": "286a3c36538d8fd41416e187cae2c651",
371
- "bytecode": "0x60a06040523480156200001157600080fd5b5060405162001baf38038062001baf8339810160408190526200003491620002f2565b6200003f3362000137565b63ffffffff831660805260005b8251811015620000bb5760008382815181106200006d576200006d6200041b565b60209081029190910181015180820151905161ffff16600090815262100001909252604090912080546001600160a01b0319166001600160a01b03909216919091179055506001016200004c565b5060005b81518110156200012d576000828281518110620000e057620000e06200041b565b60209081029190910181015180820151905160ff16600090815262100002909252604090912080546001600160a01b0319166001600160a01b0390921691909117905550600101620000bf565b5050505062000431565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715620001c257620001c262000187565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620001f357620001f362000187565b604052919050565b60006001600160401b0382111562000217576200021762000187565b5060051b60200190565b80516001600160a01b03811681146200023957600080fd5b919050565b600082601f8301126200025057600080fd5b81516020620002696200026383620001fb565b620001c8565b82815260069290921b840181019181810190868411156200028957600080fd5b8286015b84811015620002e75760408189031215620002a85760008081fd5b620002b26200019d565b815160ff81168114620002c55760008081fd5b8152620002d482860162000221565b818601528352918301916040016200028d565b509695505050505050565b6000806000606084860312156200030857600080fd5b835163ffffffff811681146200031d57600080fd5b602085810151919450906001600160401b03808211156200033d57600080fd5b818701915087601f8301126200035257600080fd5b8151620003636200026382620001fb565b81815260069190911b8301840190848101908a8311156200038357600080fd5b938501935b82851015620003e7576040858c031215620003a35760008081fd5b620003ad6200019d565b855161ffff81168114620003c15760008081fd5b8152620003d086880162000221565b818801528252604094909401939085019062000388565b60408a015190975094505050808311156200040157600080fd5b505062000411868287016200023e565b9150509250925092565b634e487b7160e01b600052603260045260246000fd5b60805161175b62000454600039600081816103350152610419015261175b6000f3fe6080604052600436106100f35760003560e01c8063701c06101161008a57806397a656141161005957806397a65614146102d6578063ac423ce1146102de578063cf34c76814610323578063f2fde38b1461036c57600080fd5b8063701c06101461020c578063715018a6146102765780637302478c1461028b5780638da5cb5b146102ab57600080fd5b8063422b45fc116100c6578063422b45fc146101855780634736d978146101a55780634e4fe306146101ca57806362a8fdcb146101f757600080fd5b806308b8a08b146100f857806309c5eabe1461011a578063269f12601461013a5780633bec591e1461015a575b600080fd5b34801561010457600080fd5b50610118610113366004611016565b61038c565b005b34801561012657600080fd5b506101186101353660046110b3565b610407565b34801561014657600080fd5b5061011861015536600461115b565b6104e7565b34801561016657600080fd5b5061016f61059b565b60405161017c9190611279565b60405180910390f35b34801561019157600080fd5b506101186101a0366004611293565b6105b8565b3480156101b157600080fd5b506101bc6210000081565b60405190815260200161017c565b3480156101d657600080fd5b506101ea6101e5366004611320565b610630565b60405161017c9190611342565b34801561020357600080fd5b506101bc600281565b34801561021857600080fd5b50610251610227366004611386565b621000016020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161017c565b34801561028257600080fd5b50610118610772565b34801561029757600080fd5b506101186102a63660046113a1565b610786565b3480156102b757600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610251565b610118610839565b3480156102ea57600080fd5b506102516102f936600461145b565b621000026020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b34801561032f57600080fd5b506103577f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff909116815260200161017c565b34801561037857600080fd5b50610118610387366004611476565b610849565b610394610900565b60005b8151811015610403576210000260008383815181106103b8576103b8611491565b60209081029190910181015160ff16825281019190915260400160002080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055600101610397565b5050565b61040f610900565b60008061044184847f000000000000000000000000000000000000000000000000000000000000000062100002610981565b61ffff82166000908152621000016020526040908190205490517fb143044b00000000000000000000000000000000000000000000000000000000815292945090925073ffffffffffffffffffffffffffffffffffffffff169063b143044b906104af9084906004016114c0565b600060405180830381600087803b1580156104c957600080fd5b505af11580156104dd573d6000803e3d6000fd5b5050505050505050565b6104ef610900565b60005b81518110156104035781818151811061050d5761050d611491565b60200260200101516020015162100001600084848151811061053157610531611491565b6020908102919091018101515161ffff16825281019190915260400160002080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff929092169190911790556001016104f2565b60606105b36105ae3660048160006115a3565b610d01565b905090565b6105c0610900565b60005b8151811015610403576210000160008383815181106105e4576105e4611491565b60209081029190910181015161ffff16825281019190915260400160002080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690556001016105c3565b60608260028110806106455750621000008110155b15610684576040517f50695b8f000000000000000000000000000000000000000000000000000000008152600481018290526024015b60405180910390fd5b8260028110806106975750621000008110155b156106d1576040517f50695b8f0000000000000000000000000000000000000000000000000000000081526004810182905260240161067b565b8385101561076a5784840367ffffffffffffffff8111156106f4576106f4610f35565b60405190808252806020026020018201604052801561071d578160200160208202803683370190505b509250845b848110156107685760018162100000811061073f5761073f611491565b0154848783038151811061075557610755611491565b6020908102919091010152600101610722565b505b505092915050565b61077a610900565b6107846000610e9e565b565b61078e610900565b60005b8151811015610403578181815181106107ac576107ac611491565b6020026020010151602001516210000260008484815181106107d0576107d0611491565b6020908102919091018101515160ff16825281019190915260400160002080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055600101610791565b61078461084461059b565b610f13565b610851610900565b73ffffffffffffffffffffffffffffffffffffffff81166108f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161067b565b6108fd81610e9e565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610784576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161067b565b60006060818681876109946002836115cd565b926109a1939291906115a3565b6109aa9161160d565b60f01c92506109ba6002826115cd565b905060008782886109cc6001836115cd565b926109d9939291906115a3565b6109e291611653565b60f81c90506109f26001836115cd565b91508060ff1667ffffffffffffffff811115610a1057610a10610f35565b604051908082528060200260200182016040528015610a6b57816020015b6040805160a0810182526000808252602082018190526060928201839052828201526080810191909152815260200190600190039081610a2e5790505b50925060005b8160ff16811015610cf557600089848a610a8c6001836115cd565b92610a99939291906115a3565b610aa291611653565b60f81c9050610ab26001856115cd565b935060008a858b610ac46010836115cd565b92610ad1939291906115a3565b610ada91611699565b60801c9050610aea6010866115cd565b945060008b868c610afc6002836115cd565b92610b09939291906115a3565b610b129161160d565b60f01c9050610b226002876115cd565b955060008c878d610b3761ffff8616836115cd565b92610b44939291906115a3565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929350610b8a9250505061ffff8316886115cd565b965060008d888e610b9c6008836115cd565b92610ba9939291906115a3565b610bb2916116df565b60c01c9050610bc26008896115cd565b975060008e898f610bdd67ffffffffffffffff8616836115cd565b92610bea939291906115a3565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929350610c369250505067ffffffffffffffff83168a6115cd565b98506040518060a001604052808e63ffffffff1681526020018d60008960ff1660ff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001866fffffffffffffffffffffffffffffffff168152602001848152508a8881518110610cd757610cd7611491565b60200260200101819052505050505050508080600101915050610a71565b50505094509492505050565b60405160208101838301845b81811015610e6c57803560008160fe1c60008114610d425760018114610d5d5760028114610db85760038114610dcc57610ddc565b60018360001a01803688379590950194505050600101610d0d565b60018360001a601f16017f2000000000000000000000000000000000000000000000000000000000000000841615610d9c576000875280602003870196505b8060018601883795860195939093016001019250610d0d915050565b8260041b60f41c9150600284019350610ddc565b8260041b60ec1c91506003840193505b506000818015610dfa5760018114610e025782600101549150610e06565b339150610e06565b3091505b508260021b60fe1c60008114610e375760018114610e455760028114610e56578160081b8752601f87019650610e63565b818752602087019650610e63565b8160601b8752601487019650610e63565b8160e01b87526004870196505b50505050610d0d565b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082820301825260405292915050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080825160208401305af43d6000803e8015610f2f573d6000f35b503d6000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610f8757610f87610f35565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715610fd457610fd4610f35565b604052919050565b600067ffffffffffffffff821115610ff657610ff6610f35565b5060051b60200190565b803560ff8116811461101157600080fd5b919050565b6000602080838503121561102957600080fd5b823567ffffffffffffffff81111561104057600080fd5b8301601f8101851361105157600080fd5b803561106461105f82610fdc565b610f8d565b81815260059190911b8201830190838101908783111561108357600080fd5b928401925b828410156110a85761109984611000565b82529284019290840190611088565b979650505050505050565b600080602083850312156110c657600080fd5b823567ffffffffffffffff808211156110de57600080fd5b818501915085601f8301126110f257600080fd5b81358181111561110157600080fd5b86602082850101111561111357600080fd5b60209290920196919550909350505050565b803561ffff8116811461101157600080fd5b803573ffffffffffffffffffffffffffffffffffffffff8116811461101157600080fd5b6000602080838503121561116e57600080fd5b823567ffffffffffffffff81111561118557600080fd5b8301601f8101851361119657600080fd5b80356111a461105f82610fdc565b81815260069190911b820183019083810190878311156111c357600080fd5b928401925b828410156110a857604084890312156111e15760008081fd5b6111e9610f64565b6111f285611125565b81526111ff868601611137565b81870152825260409390930192908401906111c8565b6000815180845260005b8181101561123b5760208185018101518683018201520161121f565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b60208152600061128c6020830184611215565b9392505050565b600060208083850312156112a657600080fd5b823567ffffffffffffffff8111156112bd57600080fd5b8301601f810185136112ce57600080fd5b80356112dc61105f82610fdc565b81815260059190911b820183019083810190878311156112fb57600080fd5b928401925b828410156110a85761131184611125565b82529284019290840190611300565b6000806040838503121561133357600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b8181101561137a5783518352928401929184019160010161135e565b50909695505050505050565b60006020828403121561139857600080fd5b61128c82611125565b600060208083850312156113b457600080fd5b823567ffffffffffffffff8111156113cb57600080fd5b8301601f810185136113dc57600080fd5b80356113ea61105f82610fdc565b81815260069190911b8201830190838101908783111561140957600080fd5b928401925b828410156110a857604084890312156114275760008081fd5b61142f610f64565b61143885611000565b8152611445868601611137565b818701528252604093909301929084019061140e565b60006020828403121561146d57600080fd5b61128c82611000565b60006020828403121561148857600080fd5b61128c82611137565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060208083018184528085518083526040925060408601915060408160051b87010184880160005b83811015611595577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0898403018552815160a063ffffffff825116855273ffffffffffffffffffffffffffffffffffffffff89830151168986015287820151818987015261155982870182611215565b9150506060808301518187015250608080830151925085820381870152506115818183611215565b9689019694505050908601906001016114e9565b509098975050505050505050565b600080858511156115b357600080fd5b838611156115c057600080fd5b5050820193919092039150565b80820180821115611607577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b92915050565b7fffff000000000000000000000000000000000000000000000000000000000000813581811691600285101561076a5760029490940360031b84901b1690921692915050565b7fff00000000000000000000000000000000000000000000000000000000000000813581811691600185101561076a5760019490940360031b84901b1690921692915050565b7fffffffffffffffffffffffffffffffff00000000000000000000000000000000813581811691601085101561076a5760109490940360031b84901b1690921692915050565b7fffffffffffffffff000000000000000000000000000000000000000000000000813581811691600885101561076a5760089490940360031b84901b169092169291505056fea2646970667358221220ee9f1852c8cf1c8bf05d1251b5c5bd5fe2ae88edb5c71804ccc48424153551e864736f6c63430008160033",
372
- "deployedBytecode": "0x6080604052600436106100f35760003560e01c8063701c06101161008a57806397a656141161005957806397a65614146102d6578063ac423ce1146102de578063cf34c76814610323578063f2fde38b1461036c57600080fd5b8063701c06101461020c578063715018a6146102765780637302478c1461028b5780638da5cb5b146102ab57600080fd5b8063422b45fc116100c6578063422b45fc146101855780634736d978146101a55780634e4fe306146101ca57806362a8fdcb146101f757600080fd5b806308b8a08b146100f857806309c5eabe1461011a578063269f12601461013a5780633bec591e1461015a575b600080fd5b34801561010457600080fd5b50610118610113366004611016565b61038c565b005b34801561012657600080fd5b506101186101353660046110b3565b610407565b34801561014657600080fd5b5061011861015536600461115b565b6104e7565b34801561016657600080fd5b5061016f61059b565b60405161017c9190611279565b60405180910390f35b34801561019157600080fd5b506101186101a0366004611293565b6105b8565b3480156101b157600080fd5b506101bc6210000081565b60405190815260200161017c565b3480156101d657600080fd5b506101ea6101e5366004611320565b610630565b60405161017c9190611342565b34801561020357600080fd5b506101bc600281565b34801561021857600080fd5b50610251610227366004611386565b621000016020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161017c565b34801561028257600080fd5b50610118610772565b34801561029757600080fd5b506101186102a63660046113a1565b610786565b3480156102b757600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610251565b610118610839565b3480156102ea57600080fd5b506102516102f936600461145b565b621000026020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b34801561032f57600080fd5b506103577f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff909116815260200161017c565b34801561037857600080fd5b50610118610387366004611476565b610849565b610394610900565b60005b8151811015610403576210000260008383815181106103b8576103b8611491565b60209081029190910181015160ff16825281019190915260400160002080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055600101610397565b5050565b61040f610900565b60008061044184847f000000000000000000000000000000000000000000000000000000000000000062100002610981565b61ffff82166000908152621000016020526040908190205490517fb143044b00000000000000000000000000000000000000000000000000000000815292945090925073ffffffffffffffffffffffffffffffffffffffff169063b143044b906104af9084906004016114c0565b600060405180830381600087803b1580156104c957600080fd5b505af11580156104dd573d6000803e3d6000fd5b5050505050505050565b6104ef610900565b60005b81518110156104035781818151811061050d5761050d611491565b60200260200101516020015162100001600084848151811061053157610531611491565b6020908102919091018101515161ffff16825281019190915260400160002080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff929092169190911790556001016104f2565b60606105b36105ae3660048160006115a3565b610d01565b905090565b6105c0610900565b60005b8151811015610403576210000160008383815181106105e4576105e4611491565b60209081029190910181015161ffff16825281019190915260400160002080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690556001016105c3565b60608260028110806106455750621000008110155b15610684576040517f50695b8f000000000000000000000000000000000000000000000000000000008152600481018290526024015b60405180910390fd5b8260028110806106975750621000008110155b156106d1576040517f50695b8f0000000000000000000000000000000000000000000000000000000081526004810182905260240161067b565b8385101561076a5784840367ffffffffffffffff8111156106f4576106f4610f35565b60405190808252806020026020018201604052801561071d578160200160208202803683370190505b509250845b848110156107685760018162100000811061073f5761073f611491565b0154848783038151811061075557610755611491565b6020908102919091010152600101610722565b505b505092915050565b61077a610900565b6107846000610e9e565b565b61078e610900565b60005b8151811015610403578181815181106107ac576107ac611491565b6020026020010151602001516210000260008484815181106107d0576107d0611491565b6020908102919091018101515160ff16825281019190915260400160002080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055600101610791565b61078461084461059b565b610f13565b610851610900565b73ffffffffffffffffffffffffffffffffffffffff81166108f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161067b565b6108fd81610e9e565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610784576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161067b565b60006060818681876109946002836115cd565b926109a1939291906115a3565b6109aa9161160d565b60f01c92506109ba6002826115cd565b905060008782886109cc6001836115cd565b926109d9939291906115a3565b6109e291611653565b60f81c90506109f26001836115cd565b91508060ff1667ffffffffffffffff811115610a1057610a10610f35565b604051908082528060200260200182016040528015610a6b57816020015b6040805160a0810182526000808252602082018190526060928201839052828201526080810191909152815260200190600190039081610a2e5790505b50925060005b8160ff16811015610cf557600089848a610a8c6001836115cd565b92610a99939291906115a3565b610aa291611653565b60f81c9050610ab26001856115cd565b935060008a858b610ac46010836115cd565b92610ad1939291906115a3565b610ada91611699565b60801c9050610aea6010866115cd565b945060008b868c610afc6002836115cd565b92610b09939291906115a3565b610b129161160d565b60f01c9050610b226002876115cd565b955060008c878d610b3761ffff8616836115cd565b92610b44939291906115a3565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929350610b8a9250505061ffff8316886115cd565b965060008d888e610b9c6008836115cd565b92610ba9939291906115a3565b610bb2916116df565b60c01c9050610bc26008896115cd565b975060008e898f610bdd67ffffffffffffffff8616836115cd565b92610bea939291906115a3565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929350610c369250505067ffffffffffffffff83168a6115cd565b98506040518060a001604052808e63ffffffff1681526020018d60008960ff1660ff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001866fffffffffffffffffffffffffffffffff168152602001848152508a8881518110610cd757610cd7611491565b60200260200101819052505050505050508080600101915050610a71565b50505094509492505050565b60405160208101838301845b81811015610e6c57803560008160fe1c60008114610d425760018114610d5d5760028114610db85760038114610dcc57610ddc565b60018360001a01803688379590950194505050600101610d0d565b60018360001a601f16017f2000000000000000000000000000000000000000000000000000000000000000841615610d9c576000875280602003870196505b8060018601883795860195939093016001019250610d0d915050565b8260041b60f41c9150600284019350610ddc565b8260041b60ec1c91506003840193505b506000818015610dfa5760018114610e025782600101549150610e06565b339150610e06565b3091505b508260021b60fe1c60008114610e375760018114610e455760028114610e56578160081b8752601f87019650610e63565b818752602087019650610e63565b8160601b8752601487019650610e63565b8160e01b87526004870196505b50505050610d0d565b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082820301825260405292915050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080825160208401305af43d6000803e8015610f2f573d6000f35b503d6000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610f8757610f87610f35565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715610fd457610fd4610f35565b604052919050565b600067ffffffffffffffff821115610ff657610ff6610f35565b5060051b60200190565b803560ff8116811461101157600080fd5b919050565b6000602080838503121561102957600080fd5b823567ffffffffffffffff81111561104057600080fd5b8301601f8101851361105157600080fd5b803561106461105f82610fdc565b610f8d565b81815260059190911b8201830190838101908783111561108357600080fd5b928401925b828410156110a85761109984611000565b82529284019290840190611088565b979650505050505050565b600080602083850312156110c657600080fd5b823567ffffffffffffffff808211156110de57600080fd5b818501915085601f8301126110f257600080fd5b81358181111561110157600080fd5b86602082850101111561111357600080fd5b60209290920196919550909350505050565b803561ffff8116811461101157600080fd5b803573ffffffffffffffffffffffffffffffffffffffff8116811461101157600080fd5b6000602080838503121561116e57600080fd5b823567ffffffffffffffff81111561118557600080fd5b8301601f8101851361119657600080fd5b80356111a461105f82610fdc565b81815260069190911b820183019083810190878311156111c357600080fd5b928401925b828410156110a857604084890312156111e15760008081fd5b6111e9610f64565b6111f285611125565b81526111ff868601611137565b81870152825260409390930192908401906111c8565b6000815180845260005b8181101561123b5760208185018101518683018201520161121f565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b60208152600061128c6020830184611215565b9392505050565b600060208083850312156112a657600080fd5b823567ffffffffffffffff8111156112bd57600080fd5b8301601f810185136112ce57600080fd5b80356112dc61105f82610fdc565b81815260059190911b820183019083810190878311156112fb57600080fd5b928401925b828410156110a85761131184611125565b82529284019290840190611300565b6000806040838503121561133357600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b8181101561137a5783518352928401929184019160010161135e565b50909695505050505050565b60006020828403121561139857600080fd5b61128c82611125565b600060208083850312156113b457600080fd5b823567ffffffffffffffff8111156113cb57600080fd5b8301601f810185136113dc57600080fd5b80356113ea61105f82610fdc565b81815260069190911b8201830190838101908783111561140957600080fd5b928401925b828410156110a857604084890312156114275760008081fd5b61142f610f64565b61143885611000565b8152611445868601611137565b818701528252604093909301929084019061140e565b60006020828403121561146d57600080fd5b61128c82611000565b60006020828403121561148857600080fd5b61128c82611137565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060208083018184528085518083526040925060408601915060408160051b87010184880160005b83811015611595577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0898403018552815160a063ffffffff825116855273ffffffffffffffffffffffffffffffffffffffff89830151168986015287820151818987015261155982870182611215565b9150506060808301518187015250608080830151925085820381870152506115818183611215565b9689019694505050908601906001016114e9565b509098975050505050505050565b600080858511156115b357600080fd5b838611156115c057600080fd5b5050820193919092039150565b80820180821115611607577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b92915050565b7fffff000000000000000000000000000000000000000000000000000000000000813581811691600285101561076a5760029490940360031b84901b1690921692915050565b7fff00000000000000000000000000000000000000000000000000000000000000813581811691600185101561076a5760019490940360031b84901b1690921692915050565b7fffffffffffffffffffffffffffffffff00000000000000000000000000000000813581811691601085101561076a5760109490940360031b84901b1690921692915050565b7fffffffffffffffff000000000000000000000000000000000000000000000000813581811691600885101561076a5760089490940360031b84901b169092169291505056fea2646970667358221220ee9f1852c8cf1c8bf05d1251b5c5bd5fe2ae88edb5c71804ccc48424153551e864736f6c63430008160033",
373
- "devdoc": {
374
- "errors": {
375
- "IncorrectDictAccess(uint256)": [
376
- {
377
- "details": "Emitted when an offset is used incorrectly, either because it is too small, or because its sum with a dict data's length exceeds a certain limit.",
378
- "params": {
379
- "value": "The incorrect value used as an offset or as the sum of the offset and a dict data's length."
380
- }
381
- }
382
- ]
383
- },
384
- "kind": "dev",
385
- "methods": {
386
- "decompress()": {
387
- "details": "Decompresses the compressed data (N bytes) passed to the function using the _delegatecall function."
388
- },
389
- "decompressed()": {
390
- "details": "Calculates and returns the decompressed data from the compressed calldata.",
391
- "returns": {
392
- "raw": "The decompressed raw data."
393
- }
394
- },
395
- "getData(uint256,uint256)": {
396
- "details": "Returns the data stored in the dictionary in the specified range.",
397
- "params": {
398
- "begin": "The starting index of the data range to return. First 2 positions are reserved, so it should be greater than 1.",
399
- "end": "The ending index of the data range to return."
400
- },
401
- "returns": {
402
- "res": "An array of bytes32 values containing the data in the specified range."
403
- }
404
- },
405
- "owner()": {
406
- "details": "Returns the address of the current owner."
407
- },
408
- "renounceOwnership()": {
409
- "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."
410
- },
411
- "transferOwnership(address)": {
412
- "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
413
- }
414
- },
415
- "version": 1
416
- },
417
- "userdoc": {
418
- "kind": "user",
419
- "methods": {},
420
- "version": 1
421
- },
422
- "storageLayout": {
423
- "storage": [
424
- {
425
- "astId": 7808,
426
- "contract": "contracts/decompressor/DVNDecompressor.sol:DVNDecompressor",
427
- "label": "_owner",
428
- "offset": 0,
429
- "slot": "0",
430
- "type": "t_address"
431
- },
432
- {
433
- "astId": 16720,
434
- "contract": "contracts/decompressor/DVNDecompressor.sol:DVNDecompressor",
435
- "label": "_dict",
436
- "offset": 0,
437
- "slot": "1",
438
- "type": "t_array(t_bytes32)1048576_storage"
439
- },
440
- {
441
- "astId": 16464,
442
- "contract": "contracts/decompressor/DVNDecompressor.sol:DVNDecompressor",
443
- "label": "dvns",
444
- "offset": 0,
445
- "slot": "1048577",
446
- "type": "t_mapping(t_uint16,t_address)"
447
- },
448
- {
449
- "astId": 16468,
450
- "contract": "contracts/decompressor/DVNDecompressor.sol:DVNDecompressor",
451
- "label": "targets",
452
- "offset": 0,
453
- "slot": "1048578",
454
- "type": "t_mapping(t_uint8,t_address)"
455
- }
456
- ],
457
- "types": {
458
- "t_address": {
459
- "encoding": "inplace",
460
- "label": "address",
461
- "numberOfBytes": "20"
462
- },
463
- "t_array(t_bytes32)1048576_storage": {
464
- "base": "t_bytes32",
465
- "encoding": "inplace",
466
- "label": "bytes32[1048576]",
467
- "numberOfBytes": "33554432"
468
- },
469
- "t_bytes32": {
470
- "encoding": "inplace",
471
- "label": "bytes32",
472
- "numberOfBytes": "32"
473
- },
474
- "t_mapping(t_uint16,t_address)": {
475
- "encoding": "mapping",
476
- "key": "t_uint16",
477
- "label": "mapping(uint16 => address)",
478
- "numberOfBytes": "32",
479
- "value": "t_address"
480
- },
481
- "t_mapping(t_uint8,t_address)": {
482
- "encoding": "mapping",
483
- "key": "t_uint8",
484
- "label": "mapping(uint8 => address)",
485
- "numberOfBytes": "32",
486
- "value": "t_address"
487
- },
488
- "t_uint16": {
489
- "encoding": "inplace",
490
- "label": "uint16",
491
- "numberOfBytes": "2"
492
- },
493
- "t_uint8": {
494
- "encoding": "inplace",
495
- "label": "uint8",
496
- "numberOfBytes": "1"
497
- }
498
- }
499
- }
500
- }