@layerzerolabs/hardhat-tron 2.1.12

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 (69) hide show
  1. package/README.md +78 -0
  2. package/dist/DeploymentFactory.d.ts +13 -0
  3. package/dist/DeploymentFactory.d.ts.map +1 -0
  4. package/dist/DeploymentFactory.js +46 -0
  5. package/dist/DeploymentFactory.js.map +1 -0
  6. package/dist/DeploymentsManager.d.ts +10 -0
  7. package/dist/DeploymentsManager.d.ts.map +1 -0
  8. package/dist/DeploymentsManager.js +78 -0
  9. package/dist/DeploymentsManager.js.map +1 -0
  10. package/dist/constants.d.ts +10 -0
  11. package/dist/constants.d.ts.map +1 -0
  12. package/dist/constants.js +70 -0
  13. package/dist/constants.js.map +1 -0
  14. package/dist/downloader.d.ts +14 -0
  15. package/dist/downloader.d.ts.map +1 -0
  16. package/dist/downloader.js +107 -0
  17. package/dist/downloader.js.map +1 -0
  18. package/dist/extendedArtifactsTron/Diamond.json +17557 -0
  19. package/dist/extendedArtifactsTron/DiamondCutFacet.json +10112 -0
  20. package/dist/extendedArtifactsTron/DiamondERC165Init.json +1549 -0
  21. package/dist/extendedArtifactsTron/DiamondLoupeFacet.json +3194 -0
  22. package/dist/extendedArtifactsTron/EIP173Proxy.json +4707 -0
  23. package/dist/extendedArtifactsTron/EIP173ProxyWithReceive.json +4524 -0
  24. package/dist/extendedArtifactsTron/ERC1967Proxy.json +4039 -0
  25. package/dist/extendedArtifactsTron/OptimizedTransparentUpgradeableProxy.json +6143 -0
  26. package/dist/extendedArtifactsTron/OwnershipFacet.json +793 -0
  27. package/dist/extendedArtifactsTron/ProxyAdmin.json +4339 -0
  28. package/dist/extendedArtifactsTron/TransparentUpgradeableProxy.json +6829 -0
  29. package/dist/helper.d.ts +39 -0
  30. package/dist/helper.d.ts.map +1 -0
  31. package/dist/helper.js +2484 -0
  32. package/dist/helper.js.map +1 -0
  33. package/dist/index.d.ts +3 -0
  34. package/dist/index.d.ts.map +1 -0
  35. package/dist/index.js +159 -0
  36. package/dist/index.js.map +1 -0
  37. package/dist/tron/contract.d.ts +12 -0
  38. package/dist/tron/contract.d.ts.map +1 -0
  39. package/dist/tron/contract.js +38 -0
  40. package/dist/tron/contract.js.map +1 -0
  41. package/dist/tron/provider.d.ts +41 -0
  42. package/dist/tron/provider.d.ts.map +1 -0
  43. package/dist/tron/provider.js +165 -0
  44. package/dist/tron/provider.js.map +1 -0
  45. package/dist/tron/signer.d.ts +31 -0
  46. package/dist/tron/signer.d.ts.map +1 -0
  47. package/dist/tron/signer.js +102 -0
  48. package/dist/tron/signer.js.map +1 -0
  49. package/dist/tron/types.d.ts +10 -0
  50. package/dist/tron/types.d.ts.map +1 -0
  51. package/dist/tron/types.js +9 -0
  52. package/dist/tron/types.js.map +1 -0
  53. package/dist/tron/utils.d.ts +26 -0
  54. package/dist/tron/utils.d.ts.map +1 -0
  55. package/dist/tron/utils.js +64 -0
  56. package/dist/tron/utils.js.map +1 -0
  57. package/dist/type-extensions.d.ts +34 -0
  58. package/dist/type-extensions.d.ts.map +1 -0
  59. package/dist/type-extensions.js +4 -0
  60. package/dist/type-extensions.js.map +1 -0
  61. package/dist/types.d.ts +30 -0
  62. package/dist/types.d.ts.map +1 -0
  63. package/dist/types.js +3 -0
  64. package/dist/types.js.map +1 -0
  65. package/dist/utils.d.ts +19 -0
  66. package/dist/utils.d.ts.map +1 -0
  67. package/dist/utils.js +118 -0
  68. package/dist/utils.js.map +1 -0
  69. package/package.json +114 -0
@@ -0,0 +1,4039 @@
1
+ {
2
+ "contractName": "ERC1967Proxy",
3
+ "sourceName": "solc_0.8/openzeppelin/proxy/ERC1967/ERC1967Proxy.sol",
4
+ "abi": [
5
+ {
6
+ "inputs": [
7
+ {
8
+ "internalType": "address",
9
+ "name": "_logic",
10
+ "type": "address"
11
+ },
12
+ {
13
+ "internalType": "bytes",
14
+ "name": "_data",
15
+ "type": "bytes"
16
+ }
17
+ ],
18
+ "stateMutability": "payable",
19
+ "type": "constructor"
20
+ },
21
+ {
22
+ "anonymous": false,
23
+ "inputs": [
24
+ {
25
+ "indexed": false,
26
+ "internalType": "address",
27
+ "name": "previousAdmin",
28
+ "type": "address"
29
+ },
30
+ {
31
+ "indexed": false,
32
+ "internalType": "address",
33
+ "name": "newAdmin",
34
+ "type": "address"
35
+ }
36
+ ],
37
+ "name": "AdminChanged",
38
+ "type": "event"
39
+ },
40
+ {
41
+ "anonymous": false,
42
+ "inputs": [
43
+ {
44
+ "indexed": true,
45
+ "internalType": "address",
46
+ "name": "beacon",
47
+ "type": "address"
48
+ }
49
+ ],
50
+ "name": "BeaconUpgraded",
51
+ "type": "event"
52
+ },
53
+ {
54
+ "anonymous": false,
55
+ "inputs": [
56
+ {
57
+ "indexed": true,
58
+ "internalType": "address",
59
+ "name": "implementation",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "Upgraded",
64
+ "type": "event"
65
+ },
66
+ {
67
+ "stateMutability": "payable",
68
+ "type": "fallback"
69
+ },
70
+ {
71
+ "stateMutability": "payable",
72
+ "type": "receive"
73
+ }
74
+ ],
75
+ "bytecode": "0x608060405260405161085938038061085983398101604081905261002291610349565b61004d60017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd610422565b6000805160206108128339815191521461006957610069610447565b6100758282600061007c565b50506104ac565b610085836100b2565b6000825111806100925750805b156100ad576100ab83836100f260201b6100291760201c565b505b505050565b6100bb8161011e565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606101178383604051806060016040528060278152602001610832602791396101de565b9392505050565b610131816102bc60201b6100551760201c565b6101985760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806101bd60008051602061081283398151915260001b6102cb60201b6100711760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b60606001600160a01b0384163b6102465760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b606482015260840161018f565b600080856001600160a01b031685604051610261919061045d565b600060405180830381855af49150503d806000811461029c576040519150601f19603f3d011682016040523d82523d6000602084013e6102a1565b606091505b5090925090506102b28282866102ce565b9695505050505050565b6001600160a01b03163b151590565b90565b606083156102dd575081610117565b8251156102ed5782518084602001fd5b8160405162461bcd60e51b815260040161018f9190610479565b634e487b7160e01b600052604160045260246000fd5b60005b83811015610338578181015183820152602001610320565b838111156100ab5750506000910152565b6000806040838503121561035c57600080fd5b82516001600160a81b038116811461037357600080fd5b60208401516001600160a01b039190911692506001600160401b038082111561039b57600080fd5b818501915085601f8301126103af57600080fd5b8151818111156103c1576103c1610307565b604051601f8201601f19908116603f011681019083821181831017156103e9576103e9610307565b8160405282815288602084870101111561040257600080fd5b61041383602083016020880161031d565b80955050505050509250929050565b60008282101561044257634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052600160045260246000fd5b6000825161046f81846020870161031d565b9190910192915050565b602081526000825180602084015261049881604085016020870161031d565b601f01601f19169190910160400192915050565b610357806104bb6000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610074565b6100b9565b565b606061004e83836040518060600160405280602781526020016102fb602791396100dd565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b90565b60006100b47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b3660008037600080366000845af43d6000803e8080156100d8573d6000f35b3d6000fd5b606073ffffffffffffffffffffffffffffffffffffffff84163b610188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff16856040516101b0919061028d565b600060405180830381855af49150503d80600081146101eb576040519150601f19603f3d011682016040523d82523d6000602084013e6101f0565b606091505b509150915061020082828661020a565b9695505050505050565b6060831561021957508161004e565b8251156102295782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017f91906102a9565b60005b83811015610278578181015183820152602001610260565b83811115610287576000848401525b50505050565b6000825161029f81846020870161025d565b9190910192915050565b60208152600082518060208401526102c881604085016020870161025d565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26474726f6e58221220e6c5d5a4484542bab40437383ef1706d7a3b851f5c85ef1460e1c6d646f5543664736f6c634300080b0033360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564",
76
+ "deployedBytecode": "0x60806040523661001357610011610017565b005b6100115b610027610022610074565b6100b9565b565b606061004e83836040518060600160405280602781526020016102fb602791396100dd565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b90565b60006100b47f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b3660008037600080366000845af43d6000803e8080156100d8573d6000f35b3d6000fd5b606073ffffffffffffffffffffffffffffffffffffffff84163b610188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff16856040516101b0919061028d565b600060405180830381855af49150503d80600081146101eb576040519150601f19603f3d011682016040523d82523d6000602084013e6101f0565b606091505b509150915061020082828661020a565b9695505050505050565b6060831561021957508161004e565b8251156102295782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017f91906102a9565b60005b83811015610278578181015183820152602001610260565b83811115610287576000848401525b50505050565b6000825161029f81846020870161025d565b9190910192915050565b60208152600082518060208401526102c881604085016020870161025d565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26474726f6e58221220e6c5d5a4484542bab40437383ef1706d7a3b851f5c85ef1460e1c6d646f5543664736f6c634300080b0033",
77
+ "linkReferences": {},
78
+ "deployedLinkReferences": {},
79
+ "devdoc": {
80
+ "details": "This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an implementation address that can be changed. This address is stored in storage in the location specified by https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the implementation behind the proxy.",
81
+ "kind": "dev",
82
+ "methods": {
83
+ "constructor": {
84
+ "details": "Initializes the upgradeable proxy with an initial implementation specified by `_logic`. If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded function call, and allows initializating the storage of the proxy like a Solidity constructor."
85
+ }
86
+ },
87
+ "version": 1
88
+ },
89
+ "evm": {
90
+ "bytecode": {
91
+ "functionDebugData": {
92
+ "@_1827": {
93
+ "entryPoint": null,
94
+ "id": 1827,
95
+ "parameterSlots": 2,
96
+ "returnSlots": 0
97
+ },
98
+ "@_setImplementation_1896": {
99
+ "entryPoint": 286,
100
+ "id": 1896,
101
+ "parameterSlots": 1,
102
+ "returnSlots": 0
103
+ },
104
+ "@_upgradeToAndCall_1941": {
105
+ "entryPoint": 124,
106
+ "id": 1941,
107
+ "parameterSlots": 3,
108
+ "returnSlots": 0
109
+ },
110
+ "@_upgradeTo_1911": {
111
+ "entryPoint": 178,
112
+ "id": 1911,
113
+ "parameterSlots": 1,
114
+ "returnSlots": 0
115
+ },
116
+ "@functionDelegateCall_3109": {
117
+ "entryPoint": 242,
118
+ "id": 3109,
119
+ "parameterSlots": 2,
120
+ "returnSlots": 1
121
+ },
122
+ "@functionDelegateCall_3144": {
123
+ "entryPoint": 478,
124
+ "id": 3144,
125
+ "parameterSlots": 3,
126
+ "returnSlots": 1
127
+ },
128
+ "@getAddressSlot_3224": {
129
+ "entryPoint": 715,
130
+ "id": 3224,
131
+ "parameterSlots": 1,
132
+ "returnSlots": 1
133
+ },
134
+ "@isContract_2899": {
135
+ "entryPoint": 700,
136
+ "id": 2899,
137
+ "parameterSlots": 1,
138
+ "returnSlots": 1
139
+ },
140
+ "@verifyCallResult_3175": {
141
+ "entryPoint": 718,
142
+ "id": 3175,
143
+ "parameterSlots": 3,
144
+ "returnSlots": 1
145
+ },
146
+ "abi_decode_tuple_t_addresst_bytes_memory_ptr_fromMemory": {
147
+ "entryPoint": 841,
148
+ "id": null,
149
+ "parameterSlots": 2,
150
+ "returnSlots": 2
151
+ },
152
+ "abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed": {
153
+ "entryPoint": 1117,
154
+ "id": null,
155
+ "parameterSlots": 2,
156
+ "returnSlots": 1
157
+ },
158
+ "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": {
159
+ "entryPoint": 1145,
160
+ "id": null,
161
+ "parameterSlots": 2,
162
+ "returnSlots": 1
163
+ },
164
+ "abi_encode_tuple_t_stringliteral_972b7028e8de0bff0d553b3264eba2312ec98a552add05e58853b313f9f4ac65__to_t_string_memory_ptr__fromStack_reversed": {
165
+ "entryPoint": null,
166
+ "id": null,
167
+ "parameterSlots": 1,
168
+ "returnSlots": 1
169
+ },
170
+ "abi_encode_tuple_t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520__to_t_string_memory_ptr__fromStack_reversed": {
171
+ "entryPoint": null,
172
+ "id": null,
173
+ "parameterSlots": 1,
174
+ "returnSlots": 1
175
+ },
176
+ "checked_sub_t_uint256": {
177
+ "entryPoint": 1058,
178
+ "id": null,
179
+ "parameterSlots": 2,
180
+ "returnSlots": 1
181
+ },
182
+ "copy_memory_to_memory": {
183
+ "entryPoint": 797,
184
+ "id": null,
185
+ "parameterSlots": 3,
186
+ "returnSlots": 0
187
+ },
188
+ "panic_error_0x01": {
189
+ "entryPoint": 1095,
190
+ "id": null,
191
+ "parameterSlots": 0,
192
+ "returnSlots": 0
193
+ },
194
+ "panic_error_0x41": {
195
+ "entryPoint": 775,
196
+ "id": null,
197
+ "parameterSlots": 0,
198
+ "returnSlots": 0
199
+ }
200
+ },
201
+ "generatedSources": [
202
+ {
203
+ "ast": {
204
+ "nodeType": "YulBlock",
205
+ "src": "0:3334:37",
206
+ "statements": [
207
+ {
208
+ "nodeType": "YulBlock",
209
+ "src": "6:3:37",
210
+ "statements": []
211
+ },
212
+ {
213
+ "body": {
214
+ "nodeType": "YulBlock",
215
+ "src": "46:95:37",
216
+ "statements": [
217
+ {
218
+ "expression": {
219
+ "arguments": [
220
+ {
221
+ "kind": "number",
222
+ "nodeType": "YulLiteral",
223
+ "src": "63:1:37",
224
+ "type": "",
225
+ "value": "0"
226
+ },
227
+ {
228
+ "arguments": [
229
+ {
230
+ "kind": "number",
231
+ "nodeType": "YulLiteral",
232
+ "src": "70:3:37",
233
+ "type": "",
234
+ "value": "224"
235
+ },
236
+ {
237
+ "kind": "number",
238
+ "nodeType": "YulLiteral",
239
+ "src": "75:10:37",
240
+ "type": "",
241
+ "value": "0x4e487b71"
242
+ }
243
+ ],
244
+ "functionName": {
245
+ "name": "shl",
246
+ "nodeType": "YulIdentifier",
247
+ "src": "66:3:37"
248
+ },
249
+ "nodeType": "YulFunctionCall",
250
+ "src": "66:20:37"
251
+ }
252
+ ],
253
+ "functionName": {
254
+ "name": "mstore",
255
+ "nodeType": "YulIdentifier",
256
+ "src": "56:6:37"
257
+ },
258
+ "nodeType": "YulFunctionCall",
259
+ "src": "56:31:37"
260
+ },
261
+ "nodeType": "YulExpressionStatement",
262
+ "src": "56:31:37"
263
+ },
264
+ {
265
+ "expression": {
266
+ "arguments": [
267
+ {
268
+ "kind": "number",
269
+ "nodeType": "YulLiteral",
270
+ "src": "103:1:37",
271
+ "type": "",
272
+ "value": "4"
273
+ },
274
+ {
275
+ "kind": "number",
276
+ "nodeType": "YulLiteral",
277
+ "src": "106:4:37",
278
+ "type": "",
279
+ "value": "0x41"
280
+ }
281
+ ],
282
+ "functionName": {
283
+ "name": "mstore",
284
+ "nodeType": "YulIdentifier",
285
+ "src": "96:6:37"
286
+ },
287
+ "nodeType": "YulFunctionCall",
288
+ "src": "96:15:37"
289
+ },
290
+ "nodeType": "YulExpressionStatement",
291
+ "src": "96:15:37"
292
+ },
293
+ {
294
+ "expression": {
295
+ "arguments": [
296
+ {
297
+ "kind": "number",
298
+ "nodeType": "YulLiteral",
299
+ "src": "127:1:37",
300
+ "type": "",
301
+ "value": "0"
302
+ },
303
+ {
304
+ "kind": "number",
305
+ "nodeType": "YulLiteral",
306
+ "src": "130:4:37",
307
+ "type": "",
308
+ "value": "0x24"
309
+ }
310
+ ],
311
+ "functionName": {
312
+ "name": "revert",
313
+ "nodeType": "YulIdentifier",
314
+ "src": "120:6:37"
315
+ },
316
+ "nodeType": "YulFunctionCall",
317
+ "src": "120:15:37"
318
+ },
319
+ "nodeType": "YulExpressionStatement",
320
+ "src": "120:15:37"
321
+ }
322
+ ]
323
+ },
324
+ "name": "panic_error_0x41",
325
+ "nodeType": "YulFunctionDefinition",
326
+ "src": "14:127:37"
327
+ },
328
+ {
329
+ "body": {
330
+ "nodeType": "YulBlock",
331
+ "src": "199:205:37",
332
+ "statements": [
333
+ {
334
+ "nodeType": "YulVariableDeclaration",
335
+ "src": "209:10:37",
336
+ "value": {
337
+ "kind": "number",
338
+ "nodeType": "YulLiteral",
339
+ "src": "218:1:37",
340
+ "type": "",
341
+ "value": "0"
342
+ },
343
+ "variables": [
344
+ {
345
+ "name": "i",
346
+ "nodeType": "YulTypedName",
347
+ "src": "213:1:37",
348
+ "type": ""
349
+ }
350
+ ]
351
+ },
352
+ {
353
+ "body": {
354
+ "nodeType": "YulBlock",
355
+ "src": "278:63:37",
356
+ "statements": [
357
+ {
358
+ "expression": {
359
+ "arguments": [
360
+ {
361
+ "arguments": [
362
+ {
363
+ "name": "dst",
364
+ "nodeType": "YulIdentifier",
365
+ "src": "303:3:37"
366
+ },
367
+ {
368
+ "name": "i",
369
+ "nodeType": "YulIdentifier",
370
+ "src": "308:1:37"
371
+ }
372
+ ],
373
+ "functionName": {
374
+ "name": "add",
375
+ "nodeType": "YulIdentifier",
376
+ "src": "299:3:37"
377
+ },
378
+ "nodeType": "YulFunctionCall",
379
+ "src": "299:11:37"
380
+ },
381
+ {
382
+ "arguments": [
383
+ {
384
+ "arguments": [
385
+ {
386
+ "name": "src",
387
+ "nodeType": "YulIdentifier",
388
+ "src": "322:3:37"
389
+ },
390
+ {
391
+ "name": "i",
392
+ "nodeType": "YulIdentifier",
393
+ "src": "327:1:37"
394
+ }
395
+ ],
396
+ "functionName": {
397
+ "name": "add",
398
+ "nodeType": "YulIdentifier",
399
+ "src": "318:3:37"
400
+ },
401
+ "nodeType": "YulFunctionCall",
402
+ "src": "318:11:37"
403
+ }
404
+ ],
405
+ "functionName": {
406
+ "name": "mload",
407
+ "nodeType": "YulIdentifier",
408
+ "src": "312:5:37"
409
+ },
410
+ "nodeType": "YulFunctionCall",
411
+ "src": "312:18:37"
412
+ }
413
+ ],
414
+ "functionName": {
415
+ "name": "mstore",
416
+ "nodeType": "YulIdentifier",
417
+ "src": "292:6:37"
418
+ },
419
+ "nodeType": "YulFunctionCall",
420
+ "src": "292:39:37"
421
+ },
422
+ "nodeType": "YulExpressionStatement",
423
+ "src": "292:39:37"
424
+ }
425
+ ]
426
+ },
427
+ "condition": {
428
+ "arguments": [
429
+ {
430
+ "name": "i",
431
+ "nodeType": "YulIdentifier",
432
+ "src": "239:1:37"
433
+ },
434
+ {
435
+ "name": "length",
436
+ "nodeType": "YulIdentifier",
437
+ "src": "242:6:37"
438
+ }
439
+ ],
440
+ "functionName": {
441
+ "name": "lt",
442
+ "nodeType": "YulIdentifier",
443
+ "src": "236:2:37"
444
+ },
445
+ "nodeType": "YulFunctionCall",
446
+ "src": "236:13:37"
447
+ },
448
+ "nodeType": "YulForLoop",
449
+ "post": {
450
+ "nodeType": "YulBlock",
451
+ "src": "250:19:37",
452
+ "statements": [
453
+ {
454
+ "nodeType": "YulAssignment",
455
+ "src": "252:15:37",
456
+ "value": {
457
+ "arguments": [
458
+ {
459
+ "name": "i",
460
+ "nodeType": "YulIdentifier",
461
+ "src": "261:1:37"
462
+ },
463
+ {
464
+ "kind": "number",
465
+ "nodeType": "YulLiteral",
466
+ "src": "264:2:37",
467
+ "type": "",
468
+ "value": "32"
469
+ }
470
+ ],
471
+ "functionName": {
472
+ "name": "add",
473
+ "nodeType": "YulIdentifier",
474
+ "src": "257:3:37"
475
+ },
476
+ "nodeType": "YulFunctionCall",
477
+ "src": "257:10:37"
478
+ },
479
+ "variableNames": [
480
+ {
481
+ "name": "i",
482
+ "nodeType": "YulIdentifier",
483
+ "src": "252:1:37"
484
+ }
485
+ ]
486
+ }
487
+ ]
488
+ },
489
+ "pre": {
490
+ "nodeType": "YulBlock",
491
+ "src": "232:3:37",
492
+ "statements": []
493
+ },
494
+ "src": "228:113:37"
495
+ },
496
+ {
497
+ "body": {
498
+ "nodeType": "YulBlock",
499
+ "src": "367:31:37",
500
+ "statements": [
501
+ {
502
+ "expression": {
503
+ "arguments": [
504
+ {
505
+ "arguments": [
506
+ {
507
+ "name": "dst",
508
+ "nodeType": "YulIdentifier",
509
+ "src": "380:3:37"
510
+ },
511
+ {
512
+ "name": "length",
513
+ "nodeType": "YulIdentifier",
514
+ "src": "385:6:37"
515
+ }
516
+ ],
517
+ "functionName": {
518
+ "name": "add",
519
+ "nodeType": "YulIdentifier",
520
+ "src": "376:3:37"
521
+ },
522
+ "nodeType": "YulFunctionCall",
523
+ "src": "376:16:37"
524
+ },
525
+ {
526
+ "kind": "number",
527
+ "nodeType": "YulLiteral",
528
+ "src": "394:1:37",
529
+ "type": "",
530
+ "value": "0"
531
+ }
532
+ ],
533
+ "functionName": {
534
+ "name": "mstore",
535
+ "nodeType": "YulIdentifier",
536
+ "src": "369:6:37"
537
+ },
538
+ "nodeType": "YulFunctionCall",
539
+ "src": "369:27:37"
540
+ },
541
+ "nodeType": "YulExpressionStatement",
542
+ "src": "369:27:37"
543
+ }
544
+ ]
545
+ },
546
+ "condition": {
547
+ "arguments": [
548
+ {
549
+ "name": "i",
550
+ "nodeType": "YulIdentifier",
551
+ "src": "356:1:37"
552
+ },
553
+ {
554
+ "name": "length",
555
+ "nodeType": "YulIdentifier",
556
+ "src": "359:6:37"
557
+ }
558
+ ],
559
+ "functionName": {
560
+ "name": "gt",
561
+ "nodeType": "YulIdentifier",
562
+ "src": "353:2:37"
563
+ },
564
+ "nodeType": "YulFunctionCall",
565
+ "src": "353:13:37"
566
+ },
567
+ "nodeType": "YulIf",
568
+ "src": "350:48:37"
569
+ }
570
+ ]
571
+ },
572
+ "name": "copy_memory_to_memory",
573
+ "nodeType": "YulFunctionDefinition",
574
+ "parameters": [
575
+ {
576
+ "name": "src",
577
+ "nodeType": "YulTypedName",
578
+ "src": "177:3:37",
579
+ "type": ""
580
+ },
581
+ {
582
+ "name": "dst",
583
+ "nodeType": "YulTypedName",
584
+ "src": "182:3:37",
585
+ "type": ""
586
+ },
587
+ {
588
+ "name": "length",
589
+ "nodeType": "YulTypedName",
590
+ "src": "187:6:37",
591
+ "type": ""
592
+ }
593
+ ],
594
+ "src": "146:258:37"
595
+ },
596
+ {
597
+ "body": {
598
+ "nodeType": "YulBlock",
599
+ "src": "516:969:37",
600
+ "statements": [
601
+ {
602
+ "body": {
603
+ "nodeType": "YulBlock",
604
+ "src": "562:16:37",
605
+ "statements": [
606
+ {
607
+ "expression": {
608
+ "arguments": [
609
+ {
610
+ "kind": "number",
611
+ "nodeType": "YulLiteral",
612
+ "src": "571:1:37",
613
+ "type": "",
614
+ "value": "0"
615
+ },
616
+ {
617
+ "kind": "number",
618
+ "nodeType": "YulLiteral",
619
+ "src": "574:1:37",
620
+ "type": "",
621
+ "value": "0"
622
+ }
623
+ ],
624
+ "functionName": {
625
+ "name": "revert",
626
+ "nodeType": "YulIdentifier",
627
+ "src": "564:6:37"
628
+ },
629
+ "nodeType": "YulFunctionCall",
630
+ "src": "564:12:37"
631
+ },
632
+ "nodeType": "YulExpressionStatement",
633
+ "src": "564:12:37"
634
+ }
635
+ ]
636
+ },
637
+ "condition": {
638
+ "arguments": [
639
+ {
640
+ "arguments": [
641
+ {
642
+ "name": "dataEnd",
643
+ "nodeType": "YulIdentifier",
644
+ "src": "537:7:37"
645
+ },
646
+ {
647
+ "name": "headStart",
648
+ "nodeType": "YulIdentifier",
649
+ "src": "546:9:37"
650
+ }
651
+ ],
652
+ "functionName": {
653
+ "name": "sub",
654
+ "nodeType": "YulIdentifier",
655
+ "src": "533:3:37"
656
+ },
657
+ "nodeType": "YulFunctionCall",
658
+ "src": "533:23:37"
659
+ },
660
+ {
661
+ "kind": "number",
662
+ "nodeType": "YulLiteral",
663
+ "src": "558:2:37",
664
+ "type": "",
665
+ "value": "64"
666
+ }
667
+ ],
668
+ "functionName": {
669
+ "name": "slt",
670
+ "nodeType": "YulIdentifier",
671
+ "src": "529:3:37"
672
+ },
673
+ "nodeType": "YulFunctionCall",
674
+ "src": "529:32:37"
675
+ },
676
+ "nodeType": "YulIf",
677
+ "src": "526:52:37"
678
+ },
679
+ {
680
+ "nodeType": "YulVariableDeclaration",
681
+ "src": "587:29:37",
682
+ "value": {
683
+ "arguments": [
684
+ {
685
+ "name": "headStart",
686
+ "nodeType": "YulIdentifier",
687
+ "src": "606:9:37"
688
+ }
689
+ ],
690
+ "functionName": {
691
+ "name": "mload",
692
+ "nodeType": "YulIdentifier",
693
+ "src": "600:5:37"
694
+ },
695
+ "nodeType": "YulFunctionCall",
696
+ "src": "600:16:37"
697
+ },
698
+ "variables": [
699
+ {
700
+ "name": "value",
701
+ "nodeType": "YulTypedName",
702
+ "src": "591:5:37",
703
+ "type": ""
704
+ }
705
+ ]
706
+ },
707
+ {
708
+ "body": {
709
+ "nodeType": "YulBlock",
710
+ "src": "679:16:37",
711
+ "statements": [
712
+ {
713
+ "expression": {
714
+ "arguments": [
715
+ {
716
+ "kind": "number",
717
+ "nodeType": "YulLiteral",
718
+ "src": "688:1:37",
719
+ "type": "",
720
+ "value": "0"
721
+ },
722
+ {
723
+ "kind": "number",
724
+ "nodeType": "YulLiteral",
725
+ "src": "691:1:37",
726
+ "type": "",
727
+ "value": "0"
728
+ }
729
+ ],
730
+ "functionName": {
731
+ "name": "revert",
732
+ "nodeType": "YulIdentifier",
733
+ "src": "681:6:37"
734
+ },
735
+ "nodeType": "YulFunctionCall",
736
+ "src": "681:12:37"
737
+ },
738
+ "nodeType": "YulExpressionStatement",
739
+ "src": "681:12:37"
740
+ }
741
+ ]
742
+ },
743
+ "condition": {
744
+ "arguments": [
745
+ {
746
+ "arguments": [
747
+ {
748
+ "name": "value",
749
+ "nodeType": "YulIdentifier",
750
+ "src": "638:5:37"
751
+ },
752
+ {
753
+ "arguments": [
754
+ {
755
+ "name": "value",
756
+ "nodeType": "YulIdentifier",
757
+ "src": "649:5:37"
758
+ },
759
+ {
760
+ "arguments": [
761
+ {
762
+ "arguments": [
763
+ {
764
+ "kind": "number",
765
+ "nodeType": "YulLiteral",
766
+ "src": "664:3:37",
767
+ "type": "",
768
+ "value": "168"
769
+ },
770
+ {
771
+ "kind": "number",
772
+ "nodeType": "YulLiteral",
773
+ "src": "669:1:37",
774
+ "type": "",
775
+ "value": "1"
776
+ }
777
+ ],
778
+ "functionName": {
779
+ "name": "shl",
780
+ "nodeType": "YulIdentifier",
781
+ "src": "660:3:37"
782
+ },
783
+ "nodeType": "YulFunctionCall",
784
+ "src": "660:11:37"
785
+ },
786
+ {
787
+ "kind": "number",
788
+ "nodeType": "YulLiteral",
789
+ "src": "673:1:37",
790
+ "type": "",
791
+ "value": "1"
792
+ }
793
+ ],
794
+ "functionName": {
795
+ "name": "sub",
796
+ "nodeType": "YulIdentifier",
797
+ "src": "656:3:37"
798
+ },
799
+ "nodeType": "YulFunctionCall",
800
+ "src": "656:19:37"
801
+ }
802
+ ],
803
+ "functionName": {
804
+ "name": "and",
805
+ "nodeType": "YulIdentifier",
806
+ "src": "645:3:37"
807
+ },
808
+ "nodeType": "YulFunctionCall",
809
+ "src": "645:31:37"
810
+ }
811
+ ],
812
+ "functionName": {
813
+ "name": "eq",
814
+ "nodeType": "YulIdentifier",
815
+ "src": "635:2:37"
816
+ },
817
+ "nodeType": "YulFunctionCall",
818
+ "src": "635:42:37"
819
+ }
820
+ ],
821
+ "functionName": {
822
+ "name": "iszero",
823
+ "nodeType": "YulIdentifier",
824
+ "src": "628:6:37"
825
+ },
826
+ "nodeType": "YulFunctionCall",
827
+ "src": "628:50:37"
828
+ },
829
+ "nodeType": "YulIf",
830
+ "src": "625:70:37"
831
+ },
832
+ {
833
+ "nodeType": "YulAssignment",
834
+ "src": "704:41:37",
835
+ "value": {
836
+ "arguments": [
837
+ {
838
+ "name": "value",
839
+ "nodeType": "YulIdentifier",
840
+ "src": "718:5:37"
841
+ },
842
+ {
843
+ "arguments": [
844
+ {
845
+ "arguments": [
846
+ {
847
+ "kind": "number",
848
+ "nodeType": "YulLiteral",
849
+ "src": "733:3:37",
850
+ "type": "",
851
+ "value": "160"
852
+ },
853
+ {
854
+ "kind": "number",
855
+ "nodeType": "YulLiteral",
856
+ "src": "738:1:37",
857
+ "type": "",
858
+ "value": "1"
859
+ }
860
+ ],
861
+ "functionName": {
862
+ "name": "shl",
863
+ "nodeType": "YulIdentifier",
864
+ "src": "729:3:37"
865
+ },
866
+ "nodeType": "YulFunctionCall",
867
+ "src": "729:11:37"
868
+ },
869
+ {
870
+ "kind": "number",
871
+ "nodeType": "YulLiteral",
872
+ "src": "742:1:37",
873
+ "type": "",
874
+ "value": "1"
875
+ }
876
+ ],
877
+ "functionName": {
878
+ "name": "sub",
879
+ "nodeType": "YulIdentifier",
880
+ "src": "725:3:37"
881
+ },
882
+ "nodeType": "YulFunctionCall",
883
+ "src": "725:19:37"
884
+ }
885
+ ],
886
+ "functionName": {
887
+ "name": "and",
888
+ "nodeType": "YulIdentifier",
889
+ "src": "714:3:37"
890
+ },
891
+ "nodeType": "YulFunctionCall",
892
+ "src": "714:31:37"
893
+ },
894
+ "variableNames": [
895
+ {
896
+ "name": "value0",
897
+ "nodeType": "YulIdentifier",
898
+ "src": "704:6:37"
899
+ }
900
+ ]
901
+ },
902
+ {
903
+ "nodeType": "YulVariableDeclaration",
904
+ "src": "754:39:37",
905
+ "value": {
906
+ "arguments": [
907
+ {
908
+ "arguments": [
909
+ {
910
+ "name": "headStart",
911
+ "nodeType": "YulIdentifier",
912
+ "src": "778:9:37"
913
+ },
914
+ {
915
+ "kind": "number",
916
+ "nodeType": "YulLiteral",
917
+ "src": "789:2:37",
918
+ "type": "",
919
+ "value": "32"
920
+ }
921
+ ],
922
+ "functionName": {
923
+ "name": "add",
924
+ "nodeType": "YulIdentifier",
925
+ "src": "774:3:37"
926
+ },
927
+ "nodeType": "YulFunctionCall",
928
+ "src": "774:18:37"
929
+ }
930
+ ],
931
+ "functionName": {
932
+ "name": "mload",
933
+ "nodeType": "YulIdentifier",
934
+ "src": "768:5:37"
935
+ },
936
+ "nodeType": "YulFunctionCall",
937
+ "src": "768:25:37"
938
+ },
939
+ "variables": [
940
+ {
941
+ "name": "offset",
942
+ "nodeType": "YulTypedName",
943
+ "src": "758:6:37",
944
+ "type": ""
945
+ }
946
+ ]
947
+ },
948
+ {
949
+ "nodeType": "YulVariableDeclaration",
950
+ "src": "802:28:37",
951
+ "value": {
952
+ "arguments": [
953
+ {
954
+ "arguments": [
955
+ {
956
+ "kind": "number",
957
+ "nodeType": "YulLiteral",
958
+ "src": "820:2:37",
959
+ "type": "",
960
+ "value": "64"
961
+ },
962
+ {
963
+ "kind": "number",
964
+ "nodeType": "YulLiteral",
965
+ "src": "824:1:37",
966
+ "type": "",
967
+ "value": "1"
968
+ }
969
+ ],
970
+ "functionName": {
971
+ "name": "shl",
972
+ "nodeType": "YulIdentifier",
973
+ "src": "816:3:37"
974
+ },
975
+ "nodeType": "YulFunctionCall",
976
+ "src": "816:10:37"
977
+ },
978
+ {
979
+ "kind": "number",
980
+ "nodeType": "YulLiteral",
981
+ "src": "828:1:37",
982
+ "type": "",
983
+ "value": "1"
984
+ }
985
+ ],
986
+ "functionName": {
987
+ "name": "sub",
988
+ "nodeType": "YulIdentifier",
989
+ "src": "812:3:37"
990
+ },
991
+ "nodeType": "YulFunctionCall",
992
+ "src": "812:18:37"
993
+ },
994
+ "variables": [
995
+ {
996
+ "name": "_1",
997
+ "nodeType": "YulTypedName",
998
+ "src": "806:2:37",
999
+ "type": ""
1000
+ }
1001
+ ]
1002
+ },
1003
+ {
1004
+ "body": {
1005
+ "nodeType": "YulBlock",
1006
+ "src": "857:16:37",
1007
+ "statements": [
1008
+ {
1009
+ "expression": {
1010
+ "arguments": [
1011
+ {
1012
+ "kind": "number",
1013
+ "nodeType": "YulLiteral",
1014
+ "src": "866:1:37",
1015
+ "type": "",
1016
+ "value": "0"
1017
+ },
1018
+ {
1019
+ "kind": "number",
1020
+ "nodeType": "YulLiteral",
1021
+ "src": "869:1:37",
1022
+ "type": "",
1023
+ "value": "0"
1024
+ }
1025
+ ],
1026
+ "functionName": {
1027
+ "name": "revert",
1028
+ "nodeType": "YulIdentifier",
1029
+ "src": "859:6:37"
1030
+ },
1031
+ "nodeType": "YulFunctionCall",
1032
+ "src": "859:12:37"
1033
+ },
1034
+ "nodeType": "YulExpressionStatement",
1035
+ "src": "859:12:37"
1036
+ }
1037
+ ]
1038
+ },
1039
+ "condition": {
1040
+ "arguments": [
1041
+ {
1042
+ "name": "offset",
1043
+ "nodeType": "YulIdentifier",
1044
+ "src": "845:6:37"
1045
+ },
1046
+ {
1047
+ "name": "_1",
1048
+ "nodeType": "YulIdentifier",
1049
+ "src": "853:2:37"
1050
+ }
1051
+ ],
1052
+ "functionName": {
1053
+ "name": "gt",
1054
+ "nodeType": "YulIdentifier",
1055
+ "src": "842:2:37"
1056
+ },
1057
+ "nodeType": "YulFunctionCall",
1058
+ "src": "842:14:37"
1059
+ },
1060
+ "nodeType": "YulIf",
1061
+ "src": "839:34:37"
1062
+ },
1063
+ {
1064
+ "nodeType": "YulVariableDeclaration",
1065
+ "src": "882:32:37",
1066
+ "value": {
1067
+ "arguments": [
1068
+ {
1069
+ "name": "headStart",
1070
+ "nodeType": "YulIdentifier",
1071
+ "src": "896:9:37"
1072
+ },
1073
+ {
1074
+ "name": "offset",
1075
+ "nodeType": "YulIdentifier",
1076
+ "src": "907:6:37"
1077
+ }
1078
+ ],
1079
+ "functionName": {
1080
+ "name": "add",
1081
+ "nodeType": "YulIdentifier",
1082
+ "src": "892:3:37"
1083
+ },
1084
+ "nodeType": "YulFunctionCall",
1085
+ "src": "892:22:37"
1086
+ },
1087
+ "variables": [
1088
+ {
1089
+ "name": "_2",
1090
+ "nodeType": "YulTypedName",
1091
+ "src": "886:2:37",
1092
+ "type": ""
1093
+ }
1094
+ ]
1095
+ },
1096
+ {
1097
+ "body": {
1098
+ "nodeType": "YulBlock",
1099
+ "src": "962:16:37",
1100
+ "statements": [
1101
+ {
1102
+ "expression": {
1103
+ "arguments": [
1104
+ {
1105
+ "kind": "number",
1106
+ "nodeType": "YulLiteral",
1107
+ "src": "971:1:37",
1108
+ "type": "",
1109
+ "value": "0"
1110
+ },
1111
+ {
1112
+ "kind": "number",
1113
+ "nodeType": "YulLiteral",
1114
+ "src": "974:1:37",
1115
+ "type": "",
1116
+ "value": "0"
1117
+ }
1118
+ ],
1119
+ "functionName": {
1120
+ "name": "revert",
1121
+ "nodeType": "YulIdentifier",
1122
+ "src": "964:6:37"
1123
+ },
1124
+ "nodeType": "YulFunctionCall",
1125
+ "src": "964:12:37"
1126
+ },
1127
+ "nodeType": "YulExpressionStatement",
1128
+ "src": "964:12:37"
1129
+ }
1130
+ ]
1131
+ },
1132
+ "condition": {
1133
+ "arguments": [
1134
+ {
1135
+ "arguments": [
1136
+ {
1137
+ "arguments": [
1138
+ {
1139
+ "name": "_2",
1140
+ "nodeType": "YulIdentifier",
1141
+ "src": "941:2:37"
1142
+ },
1143
+ {
1144
+ "kind": "number",
1145
+ "nodeType": "YulLiteral",
1146
+ "src": "945:4:37",
1147
+ "type": "",
1148
+ "value": "0x1f"
1149
+ }
1150
+ ],
1151
+ "functionName": {
1152
+ "name": "add",
1153
+ "nodeType": "YulIdentifier",
1154
+ "src": "937:3:37"
1155
+ },
1156
+ "nodeType": "YulFunctionCall",
1157
+ "src": "937:13:37"
1158
+ },
1159
+ {
1160
+ "name": "dataEnd",
1161
+ "nodeType": "YulIdentifier",
1162
+ "src": "952:7:37"
1163
+ }
1164
+ ],
1165
+ "functionName": {
1166
+ "name": "slt",
1167
+ "nodeType": "YulIdentifier",
1168
+ "src": "933:3:37"
1169
+ },
1170
+ "nodeType": "YulFunctionCall",
1171
+ "src": "933:27:37"
1172
+ }
1173
+ ],
1174
+ "functionName": {
1175
+ "name": "iszero",
1176
+ "nodeType": "YulIdentifier",
1177
+ "src": "926:6:37"
1178
+ },
1179
+ "nodeType": "YulFunctionCall",
1180
+ "src": "926:35:37"
1181
+ },
1182
+ "nodeType": "YulIf",
1183
+ "src": "923:55:37"
1184
+ },
1185
+ {
1186
+ "nodeType": "YulVariableDeclaration",
1187
+ "src": "987:19:37",
1188
+ "value": {
1189
+ "arguments": [
1190
+ {
1191
+ "name": "_2",
1192
+ "nodeType": "YulIdentifier",
1193
+ "src": "1003:2:37"
1194
+ }
1195
+ ],
1196
+ "functionName": {
1197
+ "name": "mload",
1198
+ "nodeType": "YulIdentifier",
1199
+ "src": "997:5:37"
1200
+ },
1201
+ "nodeType": "YulFunctionCall",
1202
+ "src": "997:9:37"
1203
+ },
1204
+ "variables": [
1205
+ {
1206
+ "name": "_3",
1207
+ "nodeType": "YulTypedName",
1208
+ "src": "991:2:37",
1209
+ "type": ""
1210
+ }
1211
+ ]
1212
+ },
1213
+ {
1214
+ "body": {
1215
+ "nodeType": "YulBlock",
1216
+ "src": "1029:22:37",
1217
+ "statements": [
1218
+ {
1219
+ "expression": {
1220
+ "arguments": [],
1221
+ "functionName": {
1222
+ "name": "panic_error_0x41",
1223
+ "nodeType": "YulIdentifier",
1224
+ "src": "1031:16:37"
1225
+ },
1226
+ "nodeType": "YulFunctionCall",
1227
+ "src": "1031:18:37"
1228
+ },
1229
+ "nodeType": "YulExpressionStatement",
1230
+ "src": "1031:18:37"
1231
+ }
1232
+ ]
1233
+ },
1234
+ "condition": {
1235
+ "arguments": [
1236
+ {
1237
+ "name": "_3",
1238
+ "nodeType": "YulIdentifier",
1239
+ "src": "1021:2:37"
1240
+ },
1241
+ {
1242
+ "name": "_1",
1243
+ "nodeType": "YulIdentifier",
1244
+ "src": "1025:2:37"
1245
+ }
1246
+ ],
1247
+ "functionName": {
1248
+ "name": "gt",
1249
+ "nodeType": "YulIdentifier",
1250
+ "src": "1018:2:37"
1251
+ },
1252
+ "nodeType": "YulFunctionCall",
1253
+ "src": "1018:10:37"
1254
+ },
1255
+ "nodeType": "YulIf",
1256
+ "src": "1015:36:37"
1257
+ },
1258
+ {
1259
+ "nodeType": "YulVariableDeclaration",
1260
+ "src": "1060:17:37",
1261
+ "value": {
1262
+ "arguments": [
1263
+ {
1264
+ "kind": "number",
1265
+ "nodeType": "YulLiteral",
1266
+ "src": "1074:2:37",
1267
+ "type": "",
1268
+ "value": "31"
1269
+ }
1270
+ ],
1271
+ "functionName": {
1272
+ "name": "not",
1273
+ "nodeType": "YulIdentifier",
1274
+ "src": "1070:3:37"
1275
+ },
1276
+ "nodeType": "YulFunctionCall",
1277
+ "src": "1070:7:37"
1278
+ },
1279
+ "variables": [
1280
+ {
1281
+ "name": "_4",
1282
+ "nodeType": "YulTypedName",
1283
+ "src": "1064:2:37",
1284
+ "type": ""
1285
+ }
1286
+ ]
1287
+ },
1288
+ {
1289
+ "nodeType": "YulVariableDeclaration",
1290
+ "src": "1086:23:37",
1291
+ "value": {
1292
+ "arguments": [
1293
+ {
1294
+ "kind": "number",
1295
+ "nodeType": "YulLiteral",
1296
+ "src": "1106:2:37",
1297
+ "type": "",
1298
+ "value": "64"
1299
+ }
1300
+ ],
1301
+ "functionName": {
1302
+ "name": "mload",
1303
+ "nodeType": "YulIdentifier",
1304
+ "src": "1100:5:37"
1305
+ },
1306
+ "nodeType": "YulFunctionCall",
1307
+ "src": "1100:9:37"
1308
+ },
1309
+ "variables": [
1310
+ {
1311
+ "name": "memPtr",
1312
+ "nodeType": "YulTypedName",
1313
+ "src": "1090:6:37",
1314
+ "type": ""
1315
+ }
1316
+ ]
1317
+ },
1318
+ {
1319
+ "nodeType": "YulVariableDeclaration",
1320
+ "src": "1118:71:37",
1321
+ "value": {
1322
+ "arguments": [
1323
+ {
1324
+ "name": "memPtr",
1325
+ "nodeType": "YulIdentifier",
1326
+ "src": "1140:6:37"
1327
+ },
1328
+ {
1329
+ "arguments": [
1330
+ {
1331
+ "arguments": [
1332
+ {
1333
+ "arguments": [
1334
+ {
1335
+ "arguments": [
1336
+ {
1337
+ "name": "_3",
1338
+ "nodeType": "YulIdentifier",
1339
+ "src": "1164:2:37"
1340
+ },
1341
+ {
1342
+ "kind": "number",
1343
+ "nodeType": "YulLiteral",
1344
+ "src": "1168:4:37",
1345
+ "type": "",
1346
+ "value": "0x1f"
1347
+ }
1348
+ ],
1349
+ "functionName": {
1350
+ "name": "add",
1351
+ "nodeType": "YulIdentifier",
1352
+ "src": "1160:3:37"
1353
+ },
1354
+ "nodeType": "YulFunctionCall",
1355
+ "src": "1160:13:37"
1356
+ },
1357
+ {
1358
+ "name": "_4",
1359
+ "nodeType": "YulIdentifier",
1360
+ "src": "1175:2:37"
1361
+ }
1362
+ ],
1363
+ "functionName": {
1364
+ "name": "and",
1365
+ "nodeType": "YulIdentifier",
1366
+ "src": "1156:3:37"
1367
+ },
1368
+ "nodeType": "YulFunctionCall",
1369
+ "src": "1156:22:37"
1370
+ },
1371
+ {
1372
+ "kind": "number",
1373
+ "nodeType": "YulLiteral",
1374
+ "src": "1180:2:37",
1375
+ "type": "",
1376
+ "value": "63"
1377
+ }
1378
+ ],
1379
+ "functionName": {
1380
+ "name": "add",
1381
+ "nodeType": "YulIdentifier",
1382
+ "src": "1152:3:37"
1383
+ },
1384
+ "nodeType": "YulFunctionCall",
1385
+ "src": "1152:31:37"
1386
+ },
1387
+ {
1388
+ "name": "_4",
1389
+ "nodeType": "YulIdentifier",
1390
+ "src": "1185:2:37"
1391
+ }
1392
+ ],
1393
+ "functionName": {
1394
+ "name": "and",
1395
+ "nodeType": "YulIdentifier",
1396
+ "src": "1148:3:37"
1397
+ },
1398
+ "nodeType": "YulFunctionCall",
1399
+ "src": "1148:40:37"
1400
+ }
1401
+ ],
1402
+ "functionName": {
1403
+ "name": "add",
1404
+ "nodeType": "YulIdentifier",
1405
+ "src": "1136:3:37"
1406
+ },
1407
+ "nodeType": "YulFunctionCall",
1408
+ "src": "1136:53:37"
1409
+ },
1410
+ "variables": [
1411
+ {
1412
+ "name": "newFreePtr",
1413
+ "nodeType": "YulTypedName",
1414
+ "src": "1122:10:37",
1415
+ "type": ""
1416
+ }
1417
+ ]
1418
+ },
1419
+ {
1420
+ "body": {
1421
+ "nodeType": "YulBlock",
1422
+ "src": "1248:22:37",
1423
+ "statements": [
1424
+ {
1425
+ "expression": {
1426
+ "arguments": [],
1427
+ "functionName": {
1428
+ "name": "panic_error_0x41",
1429
+ "nodeType": "YulIdentifier",
1430
+ "src": "1250:16:37"
1431
+ },
1432
+ "nodeType": "YulFunctionCall",
1433
+ "src": "1250:18:37"
1434
+ },
1435
+ "nodeType": "YulExpressionStatement",
1436
+ "src": "1250:18:37"
1437
+ }
1438
+ ]
1439
+ },
1440
+ "condition": {
1441
+ "arguments": [
1442
+ {
1443
+ "arguments": [
1444
+ {
1445
+ "name": "newFreePtr",
1446
+ "nodeType": "YulIdentifier",
1447
+ "src": "1207:10:37"
1448
+ },
1449
+ {
1450
+ "name": "_1",
1451
+ "nodeType": "YulIdentifier",
1452
+ "src": "1219:2:37"
1453
+ }
1454
+ ],
1455
+ "functionName": {
1456
+ "name": "gt",
1457
+ "nodeType": "YulIdentifier",
1458
+ "src": "1204:2:37"
1459
+ },
1460
+ "nodeType": "YulFunctionCall",
1461
+ "src": "1204:18:37"
1462
+ },
1463
+ {
1464
+ "arguments": [
1465
+ {
1466
+ "name": "newFreePtr",
1467
+ "nodeType": "YulIdentifier",
1468
+ "src": "1227:10:37"
1469
+ },
1470
+ {
1471
+ "name": "memPtr",
1472
+ "nodeType": "YulIdentifier",
1473
+ "src": "1239:6:37"
1474
+ }
1475
+ ],
1476
+ "functionName": {
1477
+ "name": "lt",
1478
+ "nodeType": "YulIdentifier",
1479
+ "src": "1224:2:37"
1480
+ },
1481
+ "nodeType": "YulFunctionCall",
1482
+ "src": "1224:22:37"
1483
+ }
1484
+ ],
1485
+ "functionName": {
1486
+ "name": "or",
1487
+ "nodeType": "YulIdentifier",
1488
+ "src": "1201:2:37"
1489
+ },
1490
+ "nodeType": "YulFunctionCall",
1491
+ "src": "1201:46:37"
1492
+ },
1493
+ "nodeType": "YulIf",
1494
+ "src": "1198:72:37"
1495
+ },
1496
+ {
1497
+ "expression": {
1498
+ "arguments": [
1499
+ {
1500
+ "kind": "number",
1501
+ "nodeType": "YulLiteral",
1502
+ "src": "1286:2:37",
1503
+ "type": "",
1504
+ "value": "64"
1505
+ },
1506
+ {
1507
+ "name": "newFreePtr",
1508
+ "nodeType": "YulIdentifier",
1509
+ "src": "1290:10:37"
1510
+ }
1511
+ ],
1512
+ "functionName": {
1513
+ "name": "mstore",
1514
+ "nodeType": "YulIdentifier",
1515
+ "src": "1279:6:37"
1516
+ },
1517
+ "nodeType": "YulFunctionCall",
1518
+ "src": "1279:22:37"
1519
+ },
1520
+ "nodeType": "YulExpressionStatement",
1521
+ "src": "1279:22:37"
1522
+ },
1523
+ {
1524
+ "expression": {
1525
+ "arguments": [
1526
+ {
1527
+ "name": "memPtr",
1528
+ "nodeType": "YulIdentifier",
1529
+ "src": "1317:6:37"
1530
+ },
1531
+ {
1532
+ "name": "_3",
1533
+ "nodeType": "YulIdentifier",
1534
+ "src": "1325:2:37"
1535
+ }
1536
+ ],
1537
+ "functionName": {
1538
+ "name": "mstore",
1539
+ "nodeType": "YulIdentifier",
1540
+ "src": "1310:6:37"
1541
+ },
1542
+ "nodeType": "YulFunctionCall",
1543
+ "src": "1310:18:37"
1544
+ },
1545
+ "nodeType": "YulExpressionStatement",
1546
+ "src": "1310:18:37"
1547
+ },
1548
+ {
1549
+ "body": {
1550
+ "nodeType": "YulBlock",
1551
+ "src": "1374:16:37",
1552
+ "statements": [
1553
+ {
1554
+ "expression": {
1555
+ "arguments": [
1556
+ {
1557
+ "kind": "number",
1558
+ "nodeType": "YulLiteral",
1559
+ "src": "1383:1:37",
1560
+ "type": "",
1561
+ "value": "0"
1562
+ },
1563
+ {
1564
+ "kind": "number",
1565
+ "nodeType": "YulLiteral",
1566
+ "src": "1386:1:37",
1567
+ "type": "",
1568
+ "value": "0"
1569
+ }
1570
+ ],
1571
+ "functionName": {
1572
+ "name": "revert",
1573
+ "nodeType": "YulIdentifier",
1574
+ "src": "1376:6:37"
1575
+ },
1576
+ "nodeType": "YulFunctionCall",
1577
+ "src": "1376:12:37"
1578
+ },
1579
+ "nodeType": "YulExpressionStatement",
1580
+ "src": "1376:12:37"
1581
+ }
1582
+ ]
1583
+ },
1584
+ "condition": {
1585
+ "arguments": [
1586
+ {
1587
+ "arguments": [
1588
+ {
1589
+ "arguments": [
1590
+ {
1591
+ "name": "_2",
1592
+ "nodeType": "YulIdentifier",
1593
+ "src": "1351:2:37"
1594
+ },
1595
+ {
1596
+ "name": "_3",
1597
+ "nodeType": "YulIdentifier",
1598
+ "src": "1355:2:37"
1599
+ }
1600
+ ],
1601
+ "functionName": {
1602
+ "name": "add",
1603
+ "nodeType": "YulIdentifier",
1604
+ "src": "1347:3:37"
1605
+ },
1606
+ "nodeType": "YulFunctionCall",
1607
+ "src": "1347:11:37"
1608
+ },
1609
+ {
1610
+ "kind": "number",
1611
+ "nodeType": "YulLiteral",
1612
+ "src": "1360:2:37",
1613
+ "type": "",
1614
+ "value": "32"
1615
+ }
1616
+ ],
1617
+ "functionName": {
1618
+ "name": "add",
1619
+ "nodeType": "YulIdentifier",
1620
+ "src": "1343:3:37"
1621
+ },
1622
+ "nodeType": "YulFunctionCall",
1623
+ "src": "1343:20:37"
1624
+ },
1625
+ {
1626
+ "name": "dataEnd",
1627
+ "nodeType": "YulIdentifier",
1628
+ "src": "1365:7:37"
1629
+ }
1630
+ ],
1631
+ "functionName": {
1632
+ "name": "gt",
1633
+ "nodeType": "YulIdentifier",
1634
+ "src": "1340:2:37"
1635
+ },
1636
+ "nodeType": "YulFunctionCall",
1637
+ "src": "1340:33:37"
1638
+ },
1639
+ "nodeType": "YulIf",
1640
+ "src": "1337:53:37"
1641
+ },
1642
+ {
1643
+ "expression": {
1644
+ "arguments": [
1645
+ {
1646
+ "arguments": [
1647
+ {
1648
+ "name": "_2",
1649
+ "nodeType": "YulIdentifier",
1650
+ "src": "1425:2:37"
1651
+ },
1652
+ {
1653
+ "kind": "number",
1654
+ "nodeType": "YulLiteral",
1655
+ "src": "1429:2:37",
1656
+ "type": "",
1657
+ "value": "32"
1658
+ }
1659
+ ],
1660
+ "functionName": {
1661
+ "name": "add",
1662
+ "nodeType": "YulIdentifier",
1663
+ "src": "1421:3:37"
1664
+ },
1665
+ "nodeType": "YulFunctionCall",
1666
+ "src": "1421:11:37"
1667
+ },
1668
+ {
1669
+ "arguments": [
1670
+ {
1671
+ "name": "memPtr",
1672
+ "nodeType": "YulIdentifier",
1673
+ "src": "1438:6:37"
1674
+ },
1675
+ {
1676
+ "kind": "number",
1677
+ "nodeType": "YulLiteral",
1678
+ "src": "1446:2:37",
1679
+ "type": "",
1680
+ "value": "32"
1681
+ }
1682
+ ],
1683
+ "functionName": {
1684
+ "name": "add",
1685
+ "nodeType": "YulIdentifier",
1686
+ "src": "1434:3:37"
1687
+ },
1688
+ "nodeType": "YulFunctionCall",
1689
+ "src": "1434:15:37"
1690
+ },
1691
+ {
1692
+ "name": "_3",
1693
+ "nodeType": "YulIdentifier",
1694
+ "src": "1451:2:37"
1695
+ }
1696
+ ],
1697
+ "functionName": {
1698
+ "name": "copy_memory_to_memory",
1699
+ "nodeType": "YulIdentifier",
1700
+ "src": "1399:21:37"
1701
+ },
1702
+ "nodeType": "YulFunctionCall",
1703
+ "src": "1399:55:37"
1704
+ },
1705
+ "nodeType": "YulExpressionStatement",
1706
+ "src": "1399:55:37"
1707
+ },
1708
+ {
1709
+ "nodeType": "YulAssignment",
1710
+ "src": "1463:16:37",
1711
+ "value": {
1712
+ "name": "memPtr",
1713
+ "nodeType": "YulIdentifier",
1714
+ "src": "1473:6:37"
1715
+ },
1716
+ "variableNames": [
1717
+ {
1718
+ "name": "value1",
1719
+ "nodeType": "YulIdentifier",
1720
+ "src": "1463:6:37"
1721
+ }
1722
+ ]
1723
+ }
1724
+ ]
1725
+ },
1726
+ "name": "abi_decode_tuple_t_addresst_bytes_memory_ptr_fromMemory",
1727
+ "nodeType": "YulFunctionDefinition",
1728
+ "parameters": [
1729
+ {
1730
+ "name": "headStart",
1731
+ "nodeType": "YulTypedName",
1732
+ "src": "474:9:37",
1733
+ "type": ""
1734
+ },
1735
+ {
1736
+ "name": "dataEnd",
1737
+ "nodeType": "YulTypedName",
1738
+ "src": "485:7:37",
1739
+ "type": ""
1740
+ }
1741
+ ],
1742
+ "returnVariables": [
1743
+ {
1744
+ "name": "value0",
1745
+ "nodeType": "YulTypedName",
1746
+ "src": "497:6:37",
1747
+ "type": ""
1748
+ },
1749
+ {
1750
+ "name": "value1",
1751
+ "nodeType": "YulTypedName",
1752
+ "src": "505:6:37",
1753
+ "type": ""
1754
+ }
1755
+ ],
1756
+ "src": "409:1076:37"
1757
+ },
1758
+ {
1759
+ "body": {
1760
+ "nodeType": "YulBlock",
1761
+ "src": "1539:173:37",
1762
+ "statements": [
1763
+ {
1764
+ "body": {
1765
+ "nodeType": "YulBlock",
1766
+ "src": "1569:111:37",
1767
+ "statements": [
1768
+ {
1769
+ "expression": {
1770
+ "arguments": [
1771
+ {
1772
+ "kind": "number",
1773
+ "nodeType": "YulLiteral",
1774
+ "src": "1590:1:37",
1775
+ "type": "",
1776
+ "value": "0"
1777
+ },
1778
+ {
1779
+ "arguments": [
1780
+ {
1781
+ "kind": "number",
1782
+ "nodeType": "YulLiteral",
1783
+ "src": "1597:3:37",
1784
+ "type": "",
1785
+ "value": "224"
1786
+ },
1787
+ {
1788
+ "kind": "number",
1789
+ "nodeType": "YulLiteral",
1790
+ "src": "1602:10:37",
1791
+ "type": "",
1792
+ "value": "0x4e487b71"
1793
+ }
1794
+ ],
1795
+ "functionName": {
1796
+ "name": "shl",
1797
+ "nodeType": "YulIdentifier",
1798
+ "src": "1593:3:37"
1799
+ },
1800
+ "nodeType": "YulFunctionCall",
1801
+ "src": "1593:20:37"
1802
+ }
1803
+ ],
1804
+ "functionName": {
1805
+ "name": "mstore",
1806
+ "nodeType": "YulIdentifier",
1807
+ "src": "1583:6:37"
1808
+ },
1809
+ "nodeType": "YulFunctionCall",
1810
+ "src": "1583:31:37"
1811
+ },
1812
+ "nodeType": "YulExpressionStatement",
1813
+ "src": "1583:31:37"
1814
+ },
1815
+ {
1816
+ "expression": {
1817
+ "arguments": [
1818
+ {
1819
+ "kind": "number",
1820
+ "nodeType": "YulLiteral",
1821
+ "src": "1634:1:37",
1822
+ "type": "",
1823
+ "value": "4"
1824
+ },
1825
+ {
1826
+ "kind": "number",
1827
+ "nodeType": "YulLiteral",
1828
+ "src": "1637:4:37",
1829
+ "type": "",
1830
+ "value": "0x11"
1831
+ }
1832
+ ],
1833
+ "functionName": {
1834
+ "name": "mstore",
1835
+ "nodeType": "YulIdentifier",
1836
+ "src": "1627:6:37"
1837
+ },
1838
+ "nodeType": "YulFunctionCall",
1839
+ "src": "1627:15:37"
1840
+ },
1841
+ "nodeType": "YulExpressionStatement",
1842
+ "src": "1627:15:37"
1843
+ },
1844
+ {
1845
+ "expression": {
1846
+ "arguments": [
1847
+ {
1848
+ "kind": "number",
1849
+ "nodeType": "YulLiteral",
1850
+ "src": "1662:1:37",
1851
+ "type": "",
1852
+ "value": "0"
1853
+ },
1854
+ {
1855
+ "kind": "number",
1856
+ "nodeType": "YulLiteral",
1857
+ "src": "1665:4:37",
1858
+ "type": "",
1859
+ "value": "0x24"
1860
+ }
1861
+ ],
1862
+ "functionName": {
1863
+ "name": "revert",
1864
+ "nodeType": "YulIdentifier",
1865
+ "src": "1655:6:37"
1866
+ },
1867
+ "nodeType": "YulFunctionCall",
1868
+ "src": "1655:15:37"
1869
+ },
1870
+ "nodeType": "YulExpressionStatement",
1871
+ "src": "1655:15:37"
1872
+ }
1873
+ ]
1874
+ },
1875
+ "condition": {
1876
+ "arguments": [
1877
+ {
1878
+ "name": "x",
1879
+ "nodeType": "YulIdentifier",
1880
+ "src": "1555:1:37"
1881
+ },
1882
+ {
1883
+ "name": "y",
1884
+ "nodeType": "YulIdentifier",
1885
+ "src": "1558:1:37"
1886
+ }
1887
+ ],
1888
+ "functionName": {
1889
+ "name": "lt",
1890
+ "nodeType": "YulIdentifier",
1891
+ "src": "1552:2:37"
1892
+ },
1893
+ "nodeType": "YulFunctionCall",
1894
+ "src": "1552:8:37"
1895
+ },
1896
+ "nodeType": "YulIf",
1897
+ "src": "1549:131:37"
1898
+ },
1899
+ {
1900
+ "nodeType": "YulAssignment",
1901
+ "src": "1689:17:37",
1902
+ "value": {
1903
+ "arguments": [
1904
+ {
1905
+ "name": "x",
1906
+ "nodeType": "YulIdentifier",
1907
+ "src": "1701:1:37"
1908
+ },
1909
+ {
1910
+ "name": "y",
1911
+ "nodeType": "YulIdentifier",
1912
+ "src": "1704:1:37"
1913
+ }
1914
+ ],
1915
+ "functionName": {
1916
+ "name": "sub",
1917
+ "nodeType": "YulIdentifier",
1918
+ "src": "1697:3:37"
1919
+ },
1920
+ "nodeType": "YulFunctionCall",
1921
+ "src": "1697:9:37"
1922
+ },
1923
+ "variableNames": [
1924
+ {
1925
+ "name": "diff",
1926
+ "nodeType": "YulIdentifier",
1927
+ "src": "1689:4:37"
1928
+ }
1929
+ ]
1930
+ }
1931
+ ]
1932
+ },
1933
+ "name": "checked_sub_t_uint256",
1934
+ "nodeType": "YulFunctionDefinition",
1935
+ "parameters": [
1936
+ {
1937
+ "name": "x",
1938
+ "nodeType": "YulTypedName",
1939
+ "src": "1521:1:37",
1940
+ "type": ""
1941
+ },
1942
+ {
1943
+ "name": "y",
1944
+ "nodeType": "YulTypedName",
1945
+ "src": "1524:1:37",
1946
+ "type": ""
1947
+ }
1948
+ ],
1949
+ "returnVariables": [
1950
+ {
1951
+ "name": "diff",
1952
+ "nodeType": "YulTypedName",
1953
+ "src": "1530:4:37",
1954
+ "type": ""
1955
+ }
1956
+ ],
1957
+ "src": "1490:222:37"
1958
+ },
1959
+ {
1960
+ "body": {
1961
+ "nodeType": "YulBlock",
1962
+ "src": "1749:95:37",
1963
+ "statements": [
1964
+ {
1965
+ "expression": {
1966
+ "arguments": [
1967
+ {
1968
+ "kind": "number",
1969
+ "nodeType": "YulLiteral",
1970
+ "src": "1766:1:37",
1971
+ "type": "",
1972
+ "value": "0"
1973
+ },
1974
+ {
1975
+ "arguments": [
1976
+ {
1977
+ "kind": "number",
1978
+ "nodeType": "YulLiteral",
1979
+ "src": "1773:3:37",
1980
+ "type": "",
1981
+ "value": "224"
1982
+ },
1983
+ {
1984
+ "kind": "number",
1985
+ "nodeType": "YulLiteral",
1986
+ "src": "1778:10:37",
1987
+ "type": "",
1988
+ "value": "0x4e487b71"
1989
+ }
1990
+ ],
1991
+ "functionName": {
1992
+ "name": "shl",
1993
+ "nodeType": "YulIdentifier",
1994
+ "src": "1769:3:37"
1995
+ },
1996
+ "nodeType": "YulFunctionCall",
1997
+ "src": "1769:20:37"
1998
+ }
1999
+ ],
2000
+ "functionName": {
2001
+ "name": "mstore",
2002
+ "nodeType": "YulIdentifier",
2003
+ "src": "1759:6:37"
2004
+ },
2005
+ "nodeType": "YulFunctionCall",
2006
+ "src": "1759:31:37"
2007
+ },
2008
+ "nodeType": "YulExpressionStatement",
2009
+ "src": "1759:31:37"
2010
+ },
2011
+ {
2012
+ "expression": {
2013
+ "arguments": [
2014
+ {
2015
+ "kind": "number",
2016
+ "nodeType": "YulLiteral",
2017
+ "src": "1806:1:37",
2018
+ "type": "",
2019
+ "value": "4"
2020
+ },
2021
+ {
2022
+ "kind": "number",
2023
+ "nodeType": "YulLiteral",
2024
+ "src": "1809:4:37",
2025
+ "type": "",
2026
+ "value": "0x01"
2027
+ }
2028
+ ],
2029
+ "functionName": {
2030
+ "name": "mstore",
2031
+ "nodeType": "YulIdentifier",
2032
+ "src": "1799:6:37"
2033
+ },
2034
+ "nodeType": "YulFunctionCall",
2035
+ "src": "1799:15:37"
2036
+ },
2037
+ "nodeType": "YulExpressionStatement",
2038
+ "src": "1799:15:37"
2039
+ },
2040
+ {
2041
+ "expression": {
2042
+ "arguments": [
2043
+ {
2044
+ "kind": "number",
2045
+ "nodeType": "YulLiteral",
2046
+ "src": "1830:1:37",
2047
+ "type": "",
2048
+ "value": "0"
2049
+ },
2050
+ {
2051
+ "kind": "number",
2052
+ "nodeType": "YulLiteral",
2053
+ "src": "1833:4:37",
2054
+ "type": "",
2055
+ "value": "0x24"
2056
+ }
2057
+ ],
2058
+ "functionName": {
2059
+ "name": "revert",
2060
+ "nodeType": "YulIdentifier",
2061
+ "src": "1823:6:37"
2062
+ },
2063
+ "nodeType": "YulFunctionCall",
2064
+ "src": "1823:15:37"
2065
+ },
2066
+ "nodeType": "YulExpressionStatement",
2067
+ "src": "1823:15:37"
2068
+ }
2069
+ ]
2070
+ },
2071
+ "name": "panic_error_0x01",
2072
+ "nodeType": "YulFunctionDefinition",
2073
+ "src": "1717:127:37"
2074
+ },
2075
+ {
2076
+ "body": {
2077
+ "nodeType": "YulBlock",
2078
+ "src": "2023:235:37",
2079
+ "statements": [
2080
+ {
2081
+ "expression": {
2082
+ "arguments": [
2083
+ {
2084
+ "name": "headStart",
2085
+ "nodeType": "YulIdentifier",
2086
+ "src": "2040:9:37"
2087
+ },
2088
+ {
2089
+ "kind": "number",
2090
+ "nodeType": "YulLiteral",
2091
+ "src": "2051:2:37",
2092
+ "type": "",
2093
+ "value": "32"
2094
+ }
2095
+ ],
2096
+ "functionName": {
2097
+ "name": "mstore",
2098
+ "nodeType": "YulIdentifier",
2099
+ "src": "2033:6:37"
2100
+ },
2101
+ "nodeType": "YulFunctionCall",
2102
+ "src": "2033:21:37"
2103
+ },
2104
+ "nodeType": "YulExpressionStatement",
2105
+ "src": "2033:21:37"
2106
+ },
2107
+ {
2108
+ "expression": {
2109
+ "arguments": [
2110
+ {
2111
+ "arguments": [
2112
+ {
2113
+ "name": "headStart",
2114
+ "nodeType": "YulIdentifier",
2115
+ "src": "2074:9:37"
2116
+ },
2117
+ {
2118
+ "kind": "number",
2119
+ "nodeType": "YulLiteral",
2120
+ "src": "2085:2:37",
2121
+ "type": "",
2122
+ "value": "32"
2123
+ }
2124
+ ],
2125
+ "functionName": {
2126
+ "name": "add",
2127
+ "nodeType": "YulIdentifier",
2128
+ "src": "2070:3:37"
2129
+ },
2130
+ "nodeType": "YulFunctionCall",
2131
+ "src": "2070:18:37"
2132
+ },
2133
+ {
2134
+ "kind": "number",
2135
+ "nodeType": "YulLiteral",
2136
+ "src": "2090:2:37",
2137
+ "type": "",
2138
+ "value": "45"
2139
+ }
2140
+ ],
2141
+ "functionName": {
2142
+ "name": "mstore",
2143
+ "nodeType": "YulIdentifier",
2144
+ "src": "2063:6:37"
2145
+ },
2146
+ "nodeType": "YulFunctionCall",
2147
+ "src": "2063:30:37"
2148
+ },
2149
+ "nodeType": "YulExpressionStatement",
2150
+ "src": "2063:30:37"
2151
+ },
2152
+ {
2153
+ "expression": {
2154
+ "arguments": [
2155
+ {
2156
+ "arguments": [
2157
+ {
2158
+ "name": "headStart",
2159
+ "nodeType": "YulIdentifier",
2160
+ "src": "2113:9:37"
2161
+ },
2162
+ {
2163
+ "kind": "number",
2164
+ "nodeType": "YulLiteral",
2165
+ "src": "2124:2:37",
2166
+ "type": "",
2167
+ "value": "64"
2168
+ }
2169
+ ],
2170
+ "functionName": {
2171
+ "name": "add",
2172
+ "nodeType": "YulIdentifier",
2173
+ "src": "2109:3:37"
2174
+ },
2175
+ "nodeType": "YulFunctionCall",
2176
+ "src": "2109:18:37"
2177
+ },
2178
+ {
2179
+ "hexValue": "455243313936373a206e657720696d706c656d656e746174696f6e206973206e",
2180
+ "kind": "string",
2181
+ "nodeType": "YulLiteral",
2182
+ "src": "2129:34:37",
2183
+ "type": "",
2184
+ "value": "ERC1967: new implementation is n"
2185
+ }
2186
+ ],
2187
+ "functionName": {
2188
+ "name": "mstore",
2189
+ "nodeType": "YulIdentifier",
2190
+ "src": "2102:6:37"
2191
+ },
2192
+ "nodeType": "YulFunctionCall",
2193
+ "src": "2102:62:37"
2194
+ },
2195
+ "nodeType": "YulExpressionStatement",
2196
+ "src": "2102:62:37"
2197
+ },
2198
+ {
2199
+ "expression": {
2200
+ "arguments": [
2201
+ {
2202
+ "arguments": [
2203
+ {
2204
+ "name": "headStart",
2205
+ "nodeType": "YulIdentifier",
2206
+ "src": "2184:9:37"
2207
+ },
2208
+ {
2209
+ "kind": "number",
2210
+ "nodeType": "YulLiteral",
2211
+ "src": "2195:2:37",
2212
+ "type": "",
2213
+ "value": "96"
2214
+ }
2215
+ ],
2216
+ "functionName": {
2217
+ "name": "add",
2218
+ "nodeType": "YulIdentifier",
2219
+ "src": "2180:3:37"
2220
+ },
2221
+ "nodeType": "YulFunctionCall",
2222
+ "src": "2180:18:37"
2223
+ },
2224
+ {
2225
+ "hexValue": "6f74206120636f6e7472616374",
2226
+ "kind": "string",
2227
+ "nodeType": "YulLiteral",
2228
+ "src": "2200:15:37",
2229
+ "type": "",
2230
+ "value": "ot a contract"
2231
+ }
2232
+ ],
2233
+ "functionName": {
2234
+ "name": "mstore",
2235
+ "nodeType": "YulIdentifier",
2236
+ "src": "2173:6:37"
2237
+ },
2238
+ "nodeType": "YulFunctionCall",
2239
+ "src": "2173:43:37"
2240
+ },
2241
+ "nodeType": "YulExpressionStatement",
2242
+ "src": "2173:43:37"
2243
+ },
2244
+ {
2245
+ "nodeType": "YulAssignment",
2246
+ "src": "2225:27:37",
2247
+ "value": {
2248
+ "arguments": [
2249
+ {
2250
+ "name": "headStart",
2251
+ "nodeType": "YulIdentifier",
2252
+ "src": "2237:9:37"
2253
+ },
2254
+ {
2255
+ "kind": "number",
2256
+ "nodeType": "YulLiteral",
2257
+ "src": "2248:3:37",
2258
+ "type": "",
2259
+ "value": "128"
2260
+ }
2261
+ ],
2262
+ "functionName": {
2263
+ "name": "add",
2264
+ "nodeType": "YulIdentifier",
2265
+ "src": "2233:3:37"
2266
+ },
2267
+ "nodeType": "YulFunctionCall",
2268
+ "src": "2233:19:37"
2269
+ },
2270
+ "variableNames": [
2271
+ {
2272
+ "name": "tail",
2273
+ "nodeType": "YulIdentifier",
2274
+ "src": "2225:4:37"
2275
+ }
2276
+ ]
2277
+ }
2278
+ ]
2279
+ },
2280
+ "name": "abi_encode_tuple_t_stringliteral_972b7028e8de0bff0d553b3264eba2312ec98a552add05e58853b313f9f4ac65__to_t_string_memory_ptr__fromStack_reversed",
2281
+ "nodeType": "YulFunctionDefinition",
2282
+ "parameters": [
2283
+ {
2284
+ "name": "headStart",
2285
+ "nodeType": "YulTypedName",
2286
+ "src": "2000:9:37",
2287
+ "type": ""
2288
+ }
2289
+ ],
2290
+ "returnVariables": [
2291
+ {
2292
+ "name": "tail",
2293
+ "nodeType": "YulTypedName",
2294
+ "src": "2014:4:37",
2295
+ "type": ""
2296
+ }
2297
+ ],
2298
+ "src": "1849:409:37"
2299
+ },
2300
+ {
2301
+ "body": {
2302
+ "nodeType": "YulBlock",
2303
+ "src": "2437:228:37",
2304
+ "statements": [
2305
+ {
2306
+ "expression": {
2307
+ "arguments": [
2308
+ {
2309
+ "name": "headStart",
2310
+ "nodeType": "YulIdentifier",
2311
+ "src": "2454:9:37"
2312
+ },
2313
+ {
2314
+ "kind": "number",
2315
+ "nodeType": "YulLiteral",
2316
+ "src": "2465:2:37",
2317
+ "type": "",
2318
+ "value": "32"
2319
+ }
2320
+ ],
2321
+ "functionName": {
2322
+ "name": "mstore",
2323
+ "nodeType": "YulIdentifier",
2324
+ "src": "2447:6:37"
2325
+ },
2326
+ "nodeType": "YulFunctionCall",
2327
+ "src": "2447:21:37"
2328
+ },
2329
+ "nodeType": "YulExpressionStatement",
2330
+ "src": "2447:21:37"
2331
+ },
2332
+ {
2333
+ "expression": {
2334
+ "arguments": [
2335
+ {
2336
+ "arguments": [
2337
+ {
2338
+ "name": "headStart",
2339
+ "nodeType": "YulIdentifier",
2340
+ "src": "2488:9:37"
2341
+ },
2342
+ {
2343
+ "kind": "number",
2344
+ "nodeType": "YulLiteral",
2345
+ "src": "2499:2:37",
2346
+ "type": "",
2347
+ "value": "32"
2348
+ }
2349
+ ],
2350
+ "functionName": {
2351
+ "name": "add",
2352
+ "nodeType": "YulIdentifier",
2353
+ "src": "2484:3:37"
2354
+ },
2355
+ "nodeType": "YulFunctionCall",
2356
+ "src": "2484:18:37"
2357
+ },
2358
+ {
2359
+ "kind": "number",
2360
+ "nodeType": "YulLiteral",
2361
+ "src": "2504:2:37",
2362
+ "type": "",
2363
+ "value": "38"
2364
+ }
2365
+ ],
2366
+ "functionName": {
2367
+ "name": "mstore",
2368
+ "nodeType": "YulIdentifier",
2369
+ "src": "2477:6:37"
2370
+ },
2371
+ "nodeType": "YulFunctionCall",
2372
+ "src": "2477:30:37"
2373
+ },
2374
+ "nodeType": "YulExpressionStatement",
2375
+ "src": "2477:30:37"
2376
+ },
2377
+ {
2378
+ "expression": {
2379
+ "arguments": [
2380
+ {
2381
+ "arguments": [
2382
+ {
2383
+ "name": "headStart",
2384
+ "nodeType": "YulIdentifier",
2385
+ "src": "2527:9:37"
2386
+ },
2387
+ {
2388
+ "kind": "number",
2389
+ "nodeType": "YulLiteral",
2390
+ "src": "2538:2:37",
2391
+ "type": "",
2392
+ "value": "64"
2393
+ }
2394
+ ],
2395
+ "functionName": {
2396
+ "name": "add",
2397
+ "nodeType": "YulIdentifier",
2398
+ "src": "2523:3:37"
2399
+ },
2400
+ "nodeType": "YulFunctionCall",
2401
+ "src": "2523:18:37"
2402
+ },
2403
+ {
2404
+ "hexValue": "416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f",
2405
+ "kind": "string",
2406
+ "nodeType": "YulLiteral",
2407
+ "src": "2543:34:37",
2408
+ "type": "",
2409
+ "value": "Address: delegate call to non-co"
2410
+ }
2411
+ ],
2412
+ "functionName": {
2413
+ "name": "mstore",
2414
+ "nodeType": "YulIdentifier",
2415
+ "src": "2516:6:37"
2416
+ },
2417
+ "nodeType": "YulFunctionCall",
2418
+ "src": "2516:62:37"
2419
+ },
2420
+ "nodeType": "YulExpressionStatement",
2421
+ "src": "2516:62:37"
2422
+ },
2423
+ {
2424
+ "expression": {
2425
+ "arguments": [
2426
+ {
2427
+ "arguments": [
2428
+ {
2429
+ "name": "headStart",
2430
+ "nodeType": "YulIdentifier",
2431
+ "src": "2598:9:37"
2432
+ },
2433
+ {
2434
+ "kind": "number",
2435
+ "nodeType": "YulLiteral",
2436
+ "src": "2609:2:37",
2437
+ "type": "",
2438
+ "value": "96"
2439
+ }
2440
+ ],
2441
+ "functionName": {
2442
+ "name": "add",
2443
+ "nodeType": "YulIdentifier",
2444
+ "src": "2594:3:37"
2445
+ },
2446
+ "nodeType": "YulFunctionCall",
2447
+ "src": "2594:18:37"
2448
+ },
2449
+ {
2450
+ "hexValue": "6e7472616374",
2451
+ "kind": "string",
2452
+ "nodeType": "YulLiteral",
2453
+ "src": "2614:8:37",
2454
+ "type": "",
2455
+ "value": "ntract"
2456
+ }
2457
+ ],
2458
+ "functionName": {
2459
+ "name": "mstore",
2460
+ "nodeType": "YulIdentifier",
2461
+ "src": "2587:6:37"
2462
+ },
2463
+ "nodeType": "YulFunctionCall",
2464
+ "src": "2587:36:37"
2465
+ },
2466
+ "nodeType": "YulExpressionStatement",
2467
+ "src": "2587:36:37"
2468
+ },
2469
+ {
2470
+ "nodeType": "YulAssignment",
2471
+ "src": "2632:27:37",
2472
+ "value": {
2473
+ "arguments": [
2474
+ {
2475
+ "name": "headStart",
2476
+ "nodeType": "YulIdentifier",
2477
+ "src": "2644:9:37"
2478
+ },
2479
+ {
2480
+ "kind": "number",
2481
+ "nodeType": "YulLiteral",
2482
+ "src": "2655:3:37",
2483
+ "type": "",
2484
+ "value": "128"
2485
+ }
2486
+ ],
2487
+ "functionName": {
2488
+ "name": "add",
2489
+ "nodeType": "YulIdentifier",
2490
+ "src": "2640:3:37"
2491
+ },
2492
+ "nodeType": "YulFunctionCall",
2493
+ "src": "2640:19:37"
2494
+ },
2495
+ "variableNames": [
2496
+ {
2497
+ "name": "tail",
2498
+ "nodeType": "YulIdentifier",
2499
+ "src": "2632:4:37"
2500
+ }
2501
+ ]
2502
+ }
2503
+ ]
2504
+ },
2505
+ "name": "abi_encode_tuple_t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520__to_t_string_memory_ptr__fromStack_reversed",
2506
+ "nodeType": "YulFunctionDefinition",
2507
+ "parameters": [
2508
+ {
2509
+ "name": "headStart",
2510
+ "nodeType": "YulTypedName",
2511
+ "src": "2414:9:37",
2512
+ "type": ""
2513
+ }
2514
+ ],
2515
+ "returnVariables": [
2516
+ {
2517
+ "name": "tail",
2518
+ "nodeType": "YulTypedName",
2519
+ "src": "2428:4:37",
2520
+ "type": ""
2521
+ }
2522
+ ],
2523
+ "src": "2263:402:37"
2524
+ },
2525
+ {
2526
+ "body": {
2527
+ "nodeType": "YulBlock",
2528
+ "src": "2807:137:37",
2529
+ "statements": [
2530
+ {
2531
+ "nodeType": "YulVariableDeclaration",
2532
+ "src": "2817:27:37",
2533
+ "value": {
2534
+ "arguments": [
2535
+ {
2536
+ "name": "value0",
2537
+ "nodeType": "YulIdentifier",
2538
+ "src": "2837:6:37"
2539
+ }
2540
+ ],
2541
+ "functionName": {
2542
+ "name": "mload",
2543
+ "nodeType": "YulIdentifier",
2544
+ "src": "2831:5:37"
2545
+ },
2546
+ "nodeType": "YulFunctionCall",
2547
+ "src": "2831:13:37"
2548
+ },
2549
+ "variables": [
2550
+ {
2551
+ "name": "length",
2552
+ "nodeType": "YulTypedName",
2553
+ "src": "2821:6:37",
2554
+ "type": ""
2555
+ }
2556
+ ]
2557
+ },
2558
+ {
2559
+ "expression": {
2560
+ "arguments": [
2561
+ {
2562
+ "arguments": [
2563
+ {
2564
+ "name": "value0",
2565
+ "nodeType": "YulIdentifier",
2566
+ "src": "2879:6:37"
2567
+ },
2568
+ {
2569
+ "kind": "number",
2570
+ "nodeType": "YulLiteral",
2571
+ "src": "2887:4:37",
2572
+ "type": "",
2573
+ "value": "0x20"
2574
+ }
2575
+ ],
2576
+ "functionName": {
2577
+ "name": "add",
2578
+ "nodeType": "YulIdentifier",
2579
+ "src": "2875:3:37"
2580
+ },
2581
+ "nodeType": "YulFunctionCall",
2582
+ "src": "2875:17:37"
2583
+ },
2584
+ {
2585
+ "name": "pos",
2586
+ "nodeType": "YulIdentifier",
2587
+ "src": "2894:3:37"
2588
+ },
2589
+ {
2590
+ "name": "length",
2591
+ "nodeType": "YulIdentifier",
2592
+ "src": "2899:6:37"
2593
+ }
2594
+ ],
2595
+ "functionName": {
2596
+ "name": "copy_memory_to_memory",
2597
+ "nodeType": "YulIdentifier",
2598
+ "src": "2853:21:37"
2599
+ },
2600
+ "nodeType": "YulFunctionCall",
2601
+ "src": "2853:53:37"
2602
+ },
2603
+ "nodeType": "YulExpressionStatement",
2604
+ "src": "2853:53:37"
2605
+ },
2606
+ {
2607
+ "nodeType": "YulAssignment",
2608
+ "src": "2915:23:37",
2609
+ "value": {
2610
+ "arguments": [
2611
+ {
2612
+ "name": "pos",
2613
+ "nodeType": "YulIdentifier",
2614
+ "src": "2926:3:37"
2615
+ },
2616
+ {
2617
+ "name": "length",
2618
+ "nodeType": "YulIdentifier",
2619
+ "src": "2931:6:37"
2620
+ }
2621
+ ],
2622
+ "functionName": {
2623
+ "name": "add",
2624
+ "nodeType": "YulIdentifier",
2625
+ "src": "2922:3:37"
2626
+ },
2627
+ "nodeType": "YulFunctionCall",
2628
+ "src": "2922:16:37"
2629
+ },
2630
+ "variableNames": [
2631
+ {
2632
+ "name": "end",
2633
+ "nodeType": "YulIdentifier",
2634
+ "src": "2915:3:37"
2635
+ }
2636
+ ]
2637
+ }
2638
+ ]
2639
+ },
2640
+ "name": "abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed",
2641
+ "nodeType": "YulFunctionDefinition",
2642
+ "parameters": [
2643
+ {
2644
+ "name": "pos",
2645
+ "nodeType": "YulTypedName",
2646
+ "src": "2783:3:37",
2647
+ "type": ""
2648
+ },
2649
+ {
2650
+ "name": "value0",
2651
+ "nodeType": "YulTypedName",
2652
+ "src": "2788:6:37",
2653
+ "type": ""
2654
+ }
2655
+ ],
2656
+ "returnVariables": [
2657
+ {
2658
+ "name": "end",
2659
+ "nodeType": "YulTypedName",
2660
+ "src": "2799:3:37",
2661
+ "type": ""
2662
+ }
2663
+ ],
2664
+ "src": "2670:274:37"
2665
+ },
2666
+ {
2667
+ "body": {
2668
+ "nodeType": "YulBlock",
2669
+ "src": "3070:262:37",
2670
+ "statements": [
2671
+ {
2672
+ "expression": {
2673
+ "arguments": [
2674
+ {
2675
+ "name": "headStart",
2676
+ "nodeType": "YulIdentifier",
2677
+ "src": "3087:9:37"
2678
+ },
2679
+ {
2680
+ "kind": "number",
2681
+ "nodeType": "YulLiteral",
2682
+ "src": "3098:2:37",
2683
+ "type": "",
2684
+ "value": "32"
2685
+ }
2686
+ ],
2687
+ "functionName": {
2688
+ "name": "mstore",
2689
+ "nodeType": "YulIdentifier",
2690
+ "src": "3080:6:37"
2691
+ },
2692
+ "nodeType": "YulFunctionCall",
2693
+ "src": "3080:21:37"
2694
+ },
2695
+ "nodeType": "YulExpressionStatement",
2696
+ "src": "3080:21:37"
2697
+ },
2698
+ {
2699
+ "nodeType": "YulVariableDeclaration",
2700
+ "src": "3110:27:37",
2701
+ "value": {
2702
+ "arguments": [
2703
+ {
2704
+ "name": "value0",
2705
+ "nodeType": "YulIdentifier",
2706
+ "src": "3130:6:37"
2707
+ }
2708
+ ],
2709
+ "functionName": {
2710
+ "name": "mload",
2711
+ "nodeType": "YulIdentifier",
2712
+ "src": "3124:5:37"
2713
+ },
2714
+ "nodeType": "YulFunctionCall",
2715
+ "src": "3124:13:37"
2716
+ },
2717
+ "variables": [
2718
+ {
2719
+ "name": "length",
2720
+ "nodeType": "YulTypedName",
2721
+ "src": "3114:6:37",
2722
+ "type": ""
2723
+ }
2724
+ ]
2725
+ },
2726
+ {
2727
+ "expression": {
2728
+ "arguments": [
2729
+ {
2730
+ "arguments": [
2731
+ {
2732
+ "name": "headStart",
2733
+ "nodeType": "YulIdentifier",
2734
+ "src": "3157:9:37"
2735
+ },
2736
+ {
2737
+ "kind": "number",
2738
+ "nodeType": "YulLiteral",
2739
+ "src": "3168:2:37",
2740
+ "type": "",
2741
+ "value": "32"
2742
+ }
2743
+ ],
2744
+ "functionName": {
2745
+ "name": "add",
2746
+ "nodeType": "YulIdentifier",
2747
+ "src": "3153:3:37"
2748
+ },
2749
+ "nodeType": "YulFunctionCall",
2750
+ "src": "3153:18:37"
2751
+ },
2752
+ {
2753
+ "name": "length",
2754
+ "nodeType": "YulIdentifier",
2755
+ "src": "3173:6:37"
2756
+ }
2757
+ ],
2758
+ "functionName": {
2759
+ "name": "mstore",
2760
+ "nodeType": "YulIdentifier",
2761
+ "src": "3146:6:37"
2762
+ },
2763
+ "nodeType": "YulFunctionCall",
2764
+ "src": "3146:34:37"
2765
+ },
2766
+ "nodeType": "YulExpressionStatement",
2767
+ "src": "3146:34:37"
2768
+ },
2769
+ {
2770
+ "expression": {
2771
+ "arguments": [
2772
+ {
2773
+ "arguments": [
2774
+ {
2775
+ "name": "value0",
2776
+ "nodeType": "YulIdentifier",
2777
+ "src": "3215:6:37"
2778
+ },
2779
+ {
2780
+ "kind": "number",
2781
+ "nodeType": "YulLiteral",
2782
+ "src": "3223:2:37",
2783
+ "type": "",
2784
+ "value": "32"
2785
+ }
2786
+ ],
2787
+ "functionName": {
2788
+ "name": "add",
2789
+ "nodeType": "YulIdentifier",
2790
+ "src": "3211:3:37"
2791
+ },
2792
+ "nodeType": "YulFunctionCall",
2793
+ "src": "3211:15:37"
2794
+ },
2795
+ {
2796
+ "arguments": [
2797
+ {
2798
+ "name": "headStart",
2799
+ "nodeType": "YulIdentifier",
2800
+ "src": "3232:9:37"
2801
+ },
2802
+ {
2803
+ "kind": "number",
2804
+ "nodeType": "YulLiteral",
2805
+ "src": "3243:2:37",
2806
+ "type": "",
2807
+ "value": "64"
2808
+ }
2809
+ ],
2810
+ "functionName": {
2811
+ "name": "add",
2812
+ "nodeType": "YulIdentifier",
2813
+ "src": "3228:3:37"
2814
+ },
2815
+ "nodeType": "YulFunctionCall",
2816
+ "src": "3228:18:37"
2817
+ },
2818
+ {
2819
+ "name": "length",
2820
+ "nodeType": "YulIdentifier",
2821
+ "src": "3248:6:37"
2822
+ }
2823
+ ],
2824
+ "functionName": {
2825
+ "name": "copy_memory_to_memory",
2826
+ "nodeType": "YulIdentifier",
2827
+ "src": "3189:21:37"
2828
+ },
2829
+ "nodeType": "YulFunctionCall",
2830
+ "src": "3189:66:37"
2831
+ },
2832
+ "nodeType": "YulExpressionStatement",
2833
+ "src": "3189:66:37"
2834
+ },
2835
+ {
2836
+ "nodeType": "YulAssignment",
2837
+ "src": "3264:62:37",
2838
+ "value": {
2839
+ "arguments": [
2840
+ {
2841
+ "arguments": [
2842
+ {
2843
+ "name": "headStart",
2844
+ "nodeType": "YulIdentifier",
2845
+ "src": "3280:9:37"
2846
+ },
2847
+ {
2848
+ "arguments": [
2849
+ {
2850
+ "arguments": [
2851
+ {
2852
+ "name": "length",
2853
+ "nodeType": "YulIdentifier",
2854
+ "src": "3299:6:37"
2855
+ },
2856
+ {
2857
+ "kind": "number",
2858
+ "nodeType": "YulLiteral",
2859
+ "src": "3307:2:37",
2860
+ "type": "",
2861
+ "value": "31"
2862
+ }
2863
+ ],
2864
+ "functionName": {
2865
+ "name": "add",
2866
+ "nodeType": "YulIdentifier",
2867
+ "src": "3295:3:37"
2868
+ },
2869
+ "nodeType": "YulFunctionCall",
2870
+ "src": "3295:15:37"
2871
+ },
2872
+ {
2873
+ "arguments": [
2874
+ {
2875
+ "kind": "number",
2876
+ "nodeType": "YulLiteral",
2877
+ "src": "3316:2:37",
2878
+ "type": "",
2879
+ "value": "31"
2880
+ }
2881
+ ],
2882
+ "functionName": {
2883
+ "name": "not",
2884
+ "nodeType": "YulIdentifier",
2885
+ "src": "3312:3:37"
2886
+ },
2887
+ "nodeType": "YulFunctionCall",
2888
+ "src": "3312:7:37"
2889
+ }
2890
+ ],
2891
+ "functionName": {
2892
+ "name": "and",
2893
+ "nodeType": "YulIdentifier",
2894
+ "src": "3291:3:37"
2895
+ },
2896
+ "nodeType": "YulFunctionCall",
2897
+ "src": "3291:29:37"
2898
+ }
2899
+ ],
2900
+ "functionName": {
2901
+ "name": "add",
2902
+ "nodeType": "YulIdentifier",
2903
+ "src": "3276:3:37"
2904
+ },
2905
+ "nodeType": "YulFunctionCall",
2906
+ "src": "3276:45:37"
2907
+ },
2908
+ {
2909
+ "kind": "number",
2910
+ "nodeType": "YulLiteral",
2911
+ "src": "3323:2:37",
2912
+ "type": "",
2913
+ "value": "64"
2914
+ }
2915
+ ],
2916
+ "functionName": {
2917
+ "name": "add",
2918
+ "nodeType": "YulIdentifier",
2919
+ "src": "3272:3:37"
2920
+ },
2921
+ "nodeType": "YulFunctionCall",
2922
+ "src": "3272:54:37"
2923
+ },
2924
+ "variableNames": [
2925
+ {
2926
+ "name": "tail",
2927
+ "nodeType": "YulIdentifier",
2928
+ "src": "3264:4:37"
2929
+ }
2930
+ ]
2931
+ }
2932
+ ]
2933
+ },
2934
+ "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed",
2935
+ "nodeType": "YulFunctionDefinition",
2936
+ "parameters": [
2937
+ {
2938
+ "name": "headStart",
2939
+ "nodeType": "YulTypedName",
2940
+ "src": "3039:9:37",
2941
+ "type": ""
2942
+ },
2943
+ {
2944
+ "name": "value0",
2945
+ "nodeType": "YulTypedName",
2946
+ "src": "3050:6:37",
2947
+ "type": ""
2948
+ }
2949
+ ],
2950
+ "returnVariables": [
2951
+ {
2952
+ "name": "tail",
2953
+ "nodeType": "YulTypedName",
2954
+ "src": "3061:4:37",
2955
+ "type": ""
2956
+ }
2957
+ ],
2958
+ "src": "2949:383:37"
2959
+ }
2960
+ ]
2961
+ },
2962
+ "contents": "{\n { }\n function panic_error_0x41()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function copy_memory_to_memory(src, dst, length)\n {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length) { mstore(add(dst, length), 0) }\n }\n function abi_decode_tuple_t_addresst_bytes_memory_ptr_fromMemory(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n let value := mload(headStart)\n if iszero(eq(value, and(value, sub(shl(168, 1), 1)))) { revert(0, 0) }\n value0 := and(value, sub(shl(160, 1), 1))\n let offset := mload(add(headStart, 32))\n let _1 := sub(shl(64, 1), 1)\n if gt(offset, _1) { revert(0, 0) }\n let _2 := add(headStart, offset)\n if iszero(slt(add(_2, 0x1f), dataEnd)) { revert(0, 0) }\n let _3 := mload(_2)\n if gt(_3, _1) { panic_error_0x41() }\n let _4 := not(31)\n let memPtr := mload(64)\n let newFreePtr := add(memPtr, and(add(and(add(_3, 0x1f), _4), 63), _4))\n if or(gt(newFreePtr, _1), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n mstore(memPtr, _3)\n if gt(add(add(_2, _3), 32), dataEnd) { revert(0, 0) }\n copy_memory_to_memory(add(_2, 32), add(memPtr, 32), _3)\n value1 := memPtr\n }\n function checked_sub_t_uint256(x, y) -> diff\n {\n if lt(x, y)\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n diff := sub(x, y)\n }\n function panic_error_0x01()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x01)\n revert(0, 0x24)\n }\n function abi_encode_tuple_t_stringliteral_972b7028e8de0bff0d553b3264eba2312ec98a552add05e58853b313f9f4ac65__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 45)\n mstore(add(headStart, 64), \"ERC1967: new implementation is n\")\n mstore(add(headStart, 96), \"ot a contract\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 38)\n mstore(add(headStart, 64), \"Address: delegate call to non-co\")\n mstore(add(headStart, 96), \"ntract\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n let length := mload(value0)\n copy_memory_to_memory(add(value0, 0x20), pos, length)\n end := add(pos, length)\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n let length := mload(value0)\n mstore(add(headStart, 32), length)\n copy_memory_to_memory(add(value0, 32), add(headStart, 64), length)\n tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n }\n}",
2963
+ "id": 37,
2964
+ "language": "Yul",
2965
+ "name": "#utility.yul"
2966
+ }
2967
+ ],
2968
+ "linkReferences": {},
2969
+ "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x859 CODESIZE SUB DUP1 PUSH2 0x859 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH2 0x22 SWAP2 PUSH2 0x349 JUMP JUMPDEST PUSH2 0x4D PUSH1 0x1 PUSH32 0x360894A13BA1A3210667C828492DB98DCA3E2076CC3735A920A3CA505D382BBD PUSH2 0x422 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x812 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE EQ PUSH2 0x69 JUMPI PUSH2 0x69 PUSH2 0x447 JUMP JUMPDEST PUSH2 0x75 DUP3 DUP3 PUSH1 0x0 PUSH2 0x7C JUMP JUMPDEST POP POP PUSH2 0x4AC JUMP JUMPDEST PUSH2 0x85 DUP4 PUSH2 0xB2 JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD GT DUP1 PUSH2 0x92 JUMPI POP DUP1 JUMPDEST ISZERO PUSH2 0xAD JUMPI PUSH2 0xAB DUP4 DUP4 PUSH2 0xF2 PUSH1 0x20 SHL PUSH2 0x29 OR PUSH1 0x20 SHR JUMP JUMPDEST POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH2 0xBB DUP2 PUSH2 0x11E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SWAP1 PUSH32 0xBC7CD75A20EE27FD9ADEBAB32041F755214DBC6BFFA90CC0225B39DA2E5C2D3B SWAP1 PUSH1 0x0 SWAP1 LOG2 POP JUMP JUMPDEST PUSH1 0x60 PUSH2 0x117 DUP4 DUP4 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x27 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x832 PUSH1 0x27 SWAP2 CODECOPY PUSH2 0x1DE JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x131 DUP2 PUSH2 0x2BC PUSH1 0x20 SHL PUSH2 0x55 OR PUSH1 0x20 SHR JUMP JUMPDEST PUSH2 0x198 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x455243313936373A206E657720696D706C656D656E746174696F6E206973206E PUSH1 0x44 DUP3 ADD MSTORE PUSH13 0x1BDD08184818DBDB9D1C9858DD PUSH1 0x9A SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH2 0x1BD PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x812 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x0 SHL PUSH2 0x2CB PUSH1 0x20 SHL PUSH2 0x71 OR PUSH1 0x20 SHR JUMP JUMPDEST DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND EXTCODESIZE PUSH2 0x246 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416464726573733A2064656C65676174652063616C6C20746F206E6F6E2D636F PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x1B9D1C9858DD PUSH1 0xD2 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x18F JUMP JUMPDEST PUSH1 0x0 DUP1 DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP6 PUSH1 0x40 MLOAD PUSH2 0x261 SWAP2 SWAP1 PUSH2 0x45D JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x29C JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP1 SWAP3 POP SWAP1 POP PUSH2 0x2B2 DUP3 DUP3 DUP7 PUSH2 0x2CE JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EXTCODESIZE ISZERO ISZERO SWAP1 JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x60 DUP4 ISZERO PUSH2 0x2DD JUMPI POP DUP2 PUSH2 0x117 JUMP JUMPDEST DUP3 MLOAD ISZERO PUSH2 0x2ED JUMPI DUP3 MLOAD DUP1 DUP5 PUSH1 0x20 ADD REVERT JUMPDEST DUP2 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x18F SWAP2 SWAP1 PUSH2 0x479 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x338 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x320 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0xAB JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x35C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA8 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x373 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP5 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP1 DUP3 GT ISZERO PUSH2 0x39B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP6 ADD SWAP2 POP DUP6 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x3AF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD DUP2 DUP2 GT ISZERO PUSH2 0x3C1 JUMPI PUSH2 0x3C1 PUSH2 0x307 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT SWAP1 DUP2 AND PUSH1 0x3F ADD AND DUP2 ADD SWAP1 DUP4 DUP3 GT DUP2 DUP4 LT OR ISZERO PUSH2 0x3E9 JUMPI PUSH2 0x3E9 PUSH2 0x307 JUMP JUMPDEST DUP2 PUSH1 0x40 MSTORE DUP3 DUP2 MSTORE DUP9 PUSH1 0x20 DUP5 DUP8 ADD ADD GT ISZERO PUSH2 0x402 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x413 DUP4 PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x31D JUMP JUMPDEST DUP1 SWAP6 POP POP POP POP POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x442 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x46F DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x31D JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x498 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x31D JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x357 DUP1 PUSH2 0x4BB PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLDATASIZE PUSH2 0x13 JUMPI PUSH2 0x11 PUSH2 0x17 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x11 JUMPDEST PUSH2 0x27 PUSH2 0x22 PUSH2 0x74 JUMP JUMPDEST PUSH2 0xB9 JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x60 PUSH2 0x4E DUP4 DUP4 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x27 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x2FB PUSH1 0x27 SWAP2 CODECOPY PUSH2 0xDD JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EXTCODESIZE ISZERO ISZERO SWAP1 JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0xB4 PUSH32 0x360894A13BA1A3210667C828492DB98DCA3E2076CC3735A920A3CA505D382BBC SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST CALLDATASIZE PUSH1 0x0 DUP1 CALLDATACOPY PUSH1 0x0 DUP1 CALLDATASIZE PUSH1 0x0 DUP5 GAS DELEGATECALL RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY DUP1 DUP1 ISZERO PUSH2 0xD8 JUMPI RETURNDATASIZE PUSH1 0x0 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x60 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND EXTCODESIZE PUSH2 0x188 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416464726573733A2064656C65676174652063616C6C20746F206E6F6E2D636F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E74726163740000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP6 PUSH1 0x40 MLOAD PUSH2 0x1B0 SWAP2 SWAP1 PUSH2 0x28D JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x1EB JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x1F0 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP PUSH2 0x200 DUP3 DUP3 DUP7 PUSH2 0x20A JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x60 DUP4 ISZERO PUSH2 0x219 JUMPI POP DUP2 PUSH2 0x4E JUMP JUMPDEST DUP3 MLOAD ISZERO PUSH2 0x229 JUMPI DUP3 MLOAD DUP1 DUP5 PUSH1 0x20 ADD REVERT JUMPDEST DUP2 PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x17F SWAP2 SWAP1 PUSH2 0x2A9 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x278 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x260 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x287 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x29F DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x25D JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x2C8 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x25D JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP INVALID COINBASE PUSH5 0x6472657373 GASPRICE KECCAK256 PUSH13 0x6F772D6C6576656C2064656C65 PUSH8 0x6174652063616C6C KECCAK256 PUSH7 0x61696C6564A264 PUSH21 0x726F6E58221220E6C5D5A4484542BAB40437383EF1 PUSH17 0x6D7A3B851F5C85EF1460E1C6D646F55436 PUSH5 0x736F6C6343 STOP ADDMOD SIGNEXTEND STOP CALLER CALLDATASIZE ADDMOD SWAP5 LOG1 EXTCODESIZE LOG1 LOG3 0x21 MOD PUSH8 0xC828492DB98DCA3E KECCAK256 PUSH23 0xCC3735A920A3CA505D382BBC416464726573733A206C6F PUSH24 0x2D6C6576656C2064656C65676174652063616C6C20666169 PUSH13 0x65640000000000000000000000 ",
2970
+ "sourceMap": "552:830:15:-:0;;;945:217;;;;;;;;;;;;;;;;;;:::i;:::-;1050:54;1103:1;1058:41;1050:54;:::i;:::-;-1:-1:-1;;;;;;;;;;;1018:87:15;1011:95;;;;:::i;:::-;1116:39;1134:6;1142:5;1149;1116:17;:39::i;:::-;945:217;;552:830;;2188:295:16;2326:29;2337:17;2326:10;:29::i;:::-;2383:1;2369:4;:11;:15;:28;;;;2388:9;2369:28;2365:112;;;2413:53;2442:17;2461:4;2413:28;;;;;:53;;:::i;:::-;;2365:112;2188:295;;;:::o;1902:152::-;1968:37;1987:17;1968:18;:37::i;:::-;2020:27;;-1:-1:-1;;;;;2020:27:16;;;;;;;;1902:152;:::o;6575:198:25:-;6658:12;6689:77;6710:6;6718:4;6689:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;6682:84;6575:198;-1:-1:-1;;;6575:198:25:o;1537:259:16:-;1618:37;1637:17;1618:18;;;;;:37;;:::i;:::-;1610:95;;;;-1:-1:-1;;;1610:95:16;;2051:2:37;1610:95:16;;;2033:21:37;2090:2;2070:18;;;2063:30;2129:34;2109:18;;;2102:62;-1:-1:-1;;;2180:18:37;;;2173:43;2233:19;;1610:95:16;;;;;;;;;1772:17;1715:48;-1:-1:-1;;;;;;;;;;;1742:20:16;;1715:26;;;;;:48;;:::i;:::-;:74;;-1:-1:-1;;;;;;1715:74:16;-1:-1:-1;;;;;1715:74:16;;;;;;;;;;-1:-1:-1;1537:259:16:o;6959:387:25:-;7100:12;-1:-1:-1;;;;;1470:19:25;;;7124:69;;;;-1:-1:-1;;;7124:69:25;;2465:2:37;7124:69:25;;;2447:21:37;2504:2;2484:18;;;2477:30;2543:34;2523:18;;;2516:62;-1:-1:-1;;;2594:18:37;;;2587:36;2640:19;;7124:69:25;2263:402:37;7124:69:25;7205:12;7219:23;7246:6;-1:-1:-1;;;;;7246:19:25;7266:4;7246:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7204:67:25;;-1:-1:-1;7204:67:25;-1:-1:-1;7288:51:25;7204:67;;7326:12;7288:16;:51::i;:::-;7281:58;6959:387;-1:-1:-1;;;;;;6959:387:25:o;1180:320::-;-1:-1:-1;;;;;1470:19:25;;:23;;;1180:320::o;1599:147:27:-;1726:4;1599:147::o;7566:692:25:-;7712:12;7740:7;7736:516;;;-1:-1:-1;7770:10:25;7763:17;;7736:516;7881:17;;:21;7877:365;;8075:10;8069:17;8135:15;8122:10;8118:2;8114:19;8107:44;7877:365;8214:12;8207:20;;-1:-1:-1;;;8207:20:25;;;;;;;;:::i;14:127:37:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:258;218:1;228:113;242:6;239:1;236:13;228:113;;;318:11;;;312:18;299:11;;;292:39;264:2;257:10;228:113;;;359:6;356:1;353:13;350:48;;;-1:-1:-1;;394:1:37;376:16;;369:27;146:258::o;409:1076::-;497:6;505;558:2;546:9;537:7;533:23;529:32;526:52;;;574:1;571;564:12;526:52;600:16;;-1:-1:-1;;;;;645:31:37;;635:42;;625:70;;691:1;688;681:12;625:70;789:2;774:18;;768:25;-1:-1:-1;;;;;714:31:37;;;;;-1:-1:-1;;;;;;842:14:37;;;839:34;;;869:1;866;859:12;839:34;907:6;896:9;892:22;882:32;;952:7;945:4;941:2;937:13;933:27;923:55;;974:1;971;964:12;923:55;1003:2;997:9;1025:2;1021;1018:10;1015:36;;;1031:18;;:::i;:::-;1106:2;1100:9;1074:2;1160:13;;-1:-1:-1;;1156:22:37;;;1180:2;1152:31;1148:40;1136:53;;;1204:18;;;1224:22;;;1201:46;1198:72;;;1250:18;;:::i;:::-;1290:10;1286:2;1279:22;1325:2;1317:6;1310:18;1365:7;1360:2;1355;1351;1347:11;1343:20;1340:33;1337:53;;;1386:1;1383;1376:12;1337:53;1399:55;1451:2;1446;1438:6;1434:15;1429:2;1425;1421:11;1399:55;:::i;:::-;1473:6;1463:16;;;;;;;409:1076;;;;;:::o;1490:222::-;1530:4;1558:1;1555;1552:8;1549:131;;;1602:10;1597:3;1593:20;1590:1;1583:31;1637:4;1634:1;1627:15;1665:4;1662:1;1655:15;1549:131;-1:-1:-1;1697:9:37;;1490:222::o;1717:127::-;1778:10;1773:3;1769:20;1766:1;1759:31;1809:4;1806:1;1799:15;1833:4;1830:1;1823:15;2670:274;2799:3;2837:6;2831:13;2853:53;2899:6;2894:3;2887:4;2879:6;2875:17;2853:53;:::i;:::-;2922:16;;;;;2670:274;-1:-1:-1;;2670:274:37:o;2949:383::-;3098:2;3087:9;3080:21;3061:4;3130:6;3124:13;3173:6;3168:2;3157:9;3153:18;3146:34;3189:66;3248:6;3243:2;3232:9;3228:18;3223:2;3215:6;3211:15;3189:66;:::i;:::-;3316:2;3295:15;-1:-1:-1;;3291:29:37;3276:45;;;;3323:2;3272:54;;2949:383;-1:-1:-1;;2949:383:37:o;:::-;552:830:15;;;;;;"
2971
+ },
2972
+ "deployedBytecode": {
2973
+ "functionDebugData": {
2974
+ "@_2196": {
2975
+ "entryPoint": null,
2976
+ "id": 2196,
2977
+ "parameterSlots": 0,
2978
+ "returnSlots": 0
2979
+ },
2980
+ "@_2204": {
2981
+ "entryPoint": null,
2982
+ "id": 2204,
2983
+ "parameterSlots": 0,
2984
+ "returnSlots": 0
2985
+ },
2986
+ "@_beforeFallback_2209": {
2987
+ "entryPoint": null,
2988
+ "id": 2209,
2989
+ "parameterSlots": 0,
2990
+ "returnSlots": 0
2991
+ },
2992
+ "@_delegate_2169": {
2993
+ "entryPoint": 185,
2994
+ "id": 2169,
2995
+ "parameterSlots": 1,
2996
+ "returnSlots": 0
2997
+ },
2998
+ "@_fallback_2188": {
2999
+ "entryPoint": 23,
3000
+ "id": 2188,
3001
+ "parameterSlots": 0,
3002
+ "returnSlots": 0
3003
+ },
3004
+ "@_getImplementation_1872": {
3005
+ "entryPoint": null,
3006
+ "id": 1872,
3007
+ "parameterSlots": 0,
3008
+ "returnSlots": 1
3009
+ },
3010
+ "@_implementation_1839": {
3011
+ "entryPoint": 116,
3012
+ "id": 1839,
3013
+ "parameterSlots": 0,
3014
+ "returnSlots": 1
3015
+ },
3016
+ "@functionDelegateCall_3109": {
3017
+ "entryPoint": 41,
3018
+ "id": 3109,
3019
+ "parameterSlots": 2,
3020
+ "returnSlots": 1
3021
+ },
3022
+ "@functionDelegateCall_3144": {
3023
+ "entryPoint": 221,
3024
+ "id": 3144,
3025
+ "parameterSlots": 3,
3026
+ "returnSlots": 1
3027
+ },
3028
+ "@getAddressSlot_3224": {
3029
+ "entryPoint": 113,
3030
+ "id": 3224,
3031
+ "parameterSlots": 1,
3032
+ "returnSlots": 1
3033
+ },
3034
+ "@isContract_2899": {
3035
+ "entryPoint": 85,
3036
+ "id": 2899,
3037
+ "parameterSlots": 1,
3038
+ "returnSlots": 1
3039
+ },
3040
+ "@verifyCallResult_3175": {
3041
+ "entryPoint": 522,
3042
+ "id": 3175,
3043
+ "parameterSlots": 3,
3044
+ "returnSlots": 1
3045
+ },
3046
+ "abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed": {
3047
+ "entryPoint": 653,
3048
+ "id": null,
3049
+ "parameterSlots": 2,
3050
+ "returnSlots": 1
3051
+ },
3052
+ "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": {
3053
+ "entryPoint": 681,
3054
+ "id": null,
3055
+ "parameterSlots": 2,
3056
+ "returnSlots": 1
3057
+ },
3058
+ "abi_encode_tuple_t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520__to_t_string_memory_ptr__fromStack_reversed": {
3059
+ "entryPoint": null,
3060
+ "id": null,
3061
+ "parameterSlots": 1,
3062
+ "returnSlots": 1
3063
+ },
3064
+ "copy_memory_to_memory": {
3065
+ "entryPoint": 605,
3066
+ "id": null,
3067
+ "parameterSlots": 3,
3068
+ "returnSlots": 0
3069
+ }
3070
+ },
3071
+ "generatedSources": [
3072
+ {
3073
+ "ast": {
3074
+ "nodeType": "YulBlock",
3075
+ "src": "0:1407:37",
3076
+ "statements": [
3077
+ {
3078
+ "nodeType": "YulBlock",
3079
+ "src": "6:3:37",
3080
+ "statements": []
3081
+ },
3082
+ {
3083
+ "body": {
3084
+ "nodeType": "YulBlock",
3085
+ "src": "188:228:37",
3086
+ "statements": [
3087
+ {
3088
+ "expression": {
3089
+ "arguments": [
3090
+ {
3091
+ "name": "headStart",
3092
+ "nodeType": "YulIdentifier",
3093
+ "src": "205:9:37"
3094
+ },
3095
+ {
3096
+ "kind": "number",
3097
+ "nodeType": "YulLiteral",
3098
+ "src": "216:2:37",
3099
+ "type": "",
3100
+ "value": "32"
3101
+ }
3102
+ ],
3103
+ "functionName": {
3104
+ "name": "mstore",
3105
+ "nodeType": "YulIdentifier",
3106
+ "src": "198:6:37"
3107
+ },
3108
+ "nodeType": "YulFunctionCall",
3109
+ "src": "198:21:37"
3110
+ },
3111
+ "nodeType": "YulExpressionStatement",
3112
+ "src": "198:21:37"
3113
+ },
3114
+ {
3115
+ "expression": {
3116
+ "arguments": [
3117
+ {
3118
+ "arguments": [
3119
+ {
3120
+ "name": "headStart",
3121
+ "nodeType": "YulIdentifier",
3122
+ "src": "239:9:37"
3123
+ },
3124
+ {
3125
+ "kind": "number",
3126
+ "nodeType": "YulLiteral",
3127
+ "src": "250:2:37",
3128
+ "type": "",
3129
+ "value": "32"
3130
+ }
3131
+ ],
3132
+ "functionName": {
3133
+ "name": "add",
3134
+ "nodeType": "YulIdentifier",
3135
+ "src": "235:3:37"
3136
+ },
3137
+ "nodeType": "YulFunctionCall",
3138
+ "src": "235:18:37"
3139
+ },
3140
+ {
3141
+ "kind": "number",
3142
+ "nodeType": "YulLiteral",
3143
+ "src": "255:2:37",
3144
+ "type": "",
3145
+ "value": "38"
3146
+ }
3147
+ ],
3148
+ "functionName": {
3149
+ "name": "mstore",
3150
+ "nodeType": "YulIdentifier",
3151
+ "src": "228:6:37"
3152
+ },
3153
+ "nodeType": "YulFunctionCall",
3154
+ "src": "228:30:37"
3155
+ },
3156
+ "nodeType": "YulExpressionStatement",
3157
+ "src": "228:30:37"
3158
+ },
3159
+ {
3160
+ "expression": {
3161
+ "arguments": [
3162
+ {
3163
+ "arguments": [
3164
+ {
3165
+ "name": "headStart",
3166
+ "nodeType": "YulIdentifier",
3167
+ "src": "278:9:37"
3168
+ },
3169
+ {
3170
+ "kind": "number",
3171
+ "nodeType": "YulLiteral",
3172
+ "src": "289:2:37",
3173
+ "type": "",
3174
+ "value": "64"
3175
+ }
3176
+ ],
3177
+ "functionName": {
3178
+ "name": "add",
3179
+ "nodeType": "YulIdentifier",
3180
+ "src": "274:3:37"
3181
+ },
3182
+ "nodeType": "YulFunctionCall",
3183
+ "src": "274:18:37"
3184
+ },
3185
+ {
3186
+ "hexValue": "416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f",
3187
+ "kind": "string",
3188
+ "nodeType": "YulLiteral",
3189
+ "src": "294:34:37",
3190
+ "type": "",
3191
+ "value": "Address: delegate call to non-co"
3192
+ }
3193
+ ],
3194
+ "functionName": {
3195
+ "name": "mstore",
3196
+ "nodeType": "YulIdentifier",
3197
+ "src": "267:6:37"
3198
+ },
3199
+ "nodeType": "YulFunctionCall",
3200
+ "src": "267:62:37"
3201
+ },
3202
+ "nodeType": "YulExpressionStatement",
3203
+ "src": "267:62:37"
3204
+ },
3205
+ {
3206
+ "expression": {
3207
+ "arguments": [
3208
+ {
3209
+ "arguments": [
3210
+ {
3211
+ "name": "headStart",
3212
+ "nodeType": "YulIdentifier",
3213
+ "src": "349:9:37"
3214
+ },
3215
+ {
3216
+ "kind": "number",
3217
+ "nodeType": "YulLiteral",
3218
+ "src": "360:2:37",
3219
+ "type": "",
3220
+ "value": "96"
3221
+ }
3222
+ ],
3223
+ "functionName": {
3224
+ "name": "add",
3225
+ "nodeType": "YulIdentifier",
3226
+ "src": "345:3:37"
3227
+ },
3228
+ "nodeType": "YulFunctionCall",
3229
+ "src": "345:18:37"
3230
+ },
3231
+ {
3232
+ "hexValue": "6e7472616374",
3233
+ "kind": "string",
3234
+ "nodeType": "YulLiteral",
3235
+ "src": "365:8:37",
3236
+ "type": "",
3237
+ "value": "ntract"
3238
+ }
3239
+ ],
3240
+ "functionName": {
3241
+ "name": "mstore",
3242
+ "nodeType": "YulIdentifier",
3243
+ "src": "338:6:37"
3244
+ },
3245
+ "nodeType": "YulFunctionCall",
3246
+ "src": "338:36:37"
3247
+ },
3248
+ "nodeType": "YulExpressionStatement",
3249
+ "src": "338:36:37"
3250
+ },
3251
+ {
3252
+ "nodeType": "YulAssignment",
3253
+ "src": "383:27:37",
3254
+ "value": {
3255
+ "arguments": [
3256
+ {
3257
+ "name": "headStart",
3258
+ "nodeType": "YulIdentifier",
3259
+ "src": "395:9:37"
3260
+ },
3261
+ {
3262
+ "kind": "number",
3263
+ "nodeType": "YulLiteral",
3264
+ "src": "406:3:37",
3265
+ "type": "",
3266
+ "value": "128"
3267
+ }
3268
+ ],
3269
+ "functionName": {
3270
+ "name": "add",
3271
+ "nodeType": "YulIdentifier",
3272
+ "src": "391:3:37"
3273
+ },
3274
+ "nodeType": "YulFunctionCall",
3275
+ "src": "391:19:37"
3276
+ },
3277
+ "variableNames": [
3278
+ {
3279
+ "name": "tail",
3280
+ "nodeType": "YulIdentifier",
3281
+ "src": "383:4:37"
3282
+ }
3283
+ ]
3284
+ }
3285
+ ]
3286
+ },
3287
+ "name": "abi_encode_tuple_t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520__to_t_string_memory_ptr__fromStack_reversed",
3288
+ "nodeType": "YulFunctionDefinition",
3289
+ "parameters": [
3290
+ {
3291
+ "name": "headStart",
3292
+ "nodeType": "YulTypedName",
3293
+ "src": "165:9:37",
3294
+ "type": ""
3295
+ }
3296
+ ],
3297
+ "returnVariables": [
3298
+ {
3299
+ "name": "tail",
3300
+ "nodeType": "YulTypedName",
3301
+ "src": "179:4:37",
3302
+ "type": ""
3303
+ }
3304
+ ],
3305
+ "src": "14:402:37"
3306
+ },
3307
+ {
3308
+ "body": {
3309
+ "nodeType": "YulBlock",
3310
+ "src": "474:205:37",
3311
+ "statements": [
3312
+ {
3313
+ "nodeType": "YulVariableDeclaration",
3314
+ "src": "484:10:37",
3315
+ "value": {
3316
+ "kind": "number",
3317
+ "nodeType": "YulLiteral",
3318
+ "src": "493:1:37",
3319
+ "type": "",
3320
+ "value": "0"
3321
+ },
3322
+ "variables": [
3323
+ {
3324
+ "name": "i",
3325
+ "nodeType": "YulTypedName",
3326
+ "src": "488:1:37",
3327
+ "type": ""
3328
+ }
3329
+ ]
3330
+ },
3331
+ {
3332
+ "body": {
3333
+ "nodeType": "YulBlock",
3334
+ "src": "553:63:37",
3335
+ "statements": [
3336
+ {
3337
+ "expression": {
3338
+ "arguments": [
3339
+ {
3340
+ "arguments": [
3341
+ {
3342
+ "name": "dst",
3343
+ "nodeType": "YulIdentifier",
3344
+ "src": "578:3:37"
3345
+ },
3346
+ {
3347
+ "name": "i",
3348
+ "nodeType": "YulIdentifier",
3349
+ "src": "583:1:37"
3350
+ }
3351
+ ],
3352
+ "functionName": {
3353
+ "name": "add",
3354
+ "nodeType": "YulIdentifier",
3355
+ "src": "574:3:37"
3356
+ },
3357
+ "nodeType": "YulFunctionCall",
3358
+ "src": "574:11:37"
3359
+ },
3360
+ {
3361
+ "arguments": [
3362
+ {
3363
+ "arguments": [
3364
+ {
3365
+ "name": "src",
3366
+ "nodeType": "YulIdentifier",
3367
+ "src": "597:3:37"
3368
+ },
3369
+ {
3370
+ "name": "i",
3371
+ "nodeType": "YulIdentifier",
3372
+ "src": "602:1:37"
3373
+ }
3374
+ ],
3375
+ "functionName": {
3376
+ "name": "add",
3377
+ "nodeType": "YulIdentifier",
3378
+ "src": "593:3:37"
3379
+ },
3380
+ "nodeType": "YulFunctionCall",
3381
+ "src": "593:11:37"
3382
+ }
3383
+ ],
3384
+ "functionName": {
3385
+ "name": "mload",
3386
+ "nodeType": "YulIdentifier",
3387
+ "src": "587:5:37"
3388
+ },
3389
+ "nodeType": "YulFunctionCall",
3390
+ "src": "587:18:37"
3391
+ }
3392
+ ],
3393
+ "functionName": {
3394
+ "name": "mstore",
3395
+ "nodeType": "YulIdentifier",
3396
+ "src": "567:6:37"
3397
+ },
3398
+ "nodeType": "YulFunctionCall",
3399
+ "src": "567:39:37"
3400
+ },
3401
+ "nodeType": "YulExpressionStatement",
3402
+ "src": "567:39:37"
3403
+ }
3404
+ ]
3405
+ },
3406
+ "condition": {
3407
+ "arguments": [
3408
+ {
3409
+ "name": "i",
3410
+ "nodeType": "YulIdentifier",
3411
+ "src": "514:1:37"
3412
+ },
3413
+ {
3414
+ "name": "length",
3415
+ "nodeType": "YulIdentifier",
3416
+ "src": "517:6:37"
3417
+ }
3418
+ ],
3419
+ "functionName": {
3420
+ "name": "lt",
3421
+ "nodeType": "YulIdentifier",
3422
+ "src": "511:2:37"
3423
+ },
3424
+ "nodeType": "YulFunctionCall",
3425
+ "src": "511:13:37"
3426
+ },
3427
+ "nodeType": "YulForLoop",
3428
+ "post": {
3429
+ "nodeType": "YulBlock",
3430
+ "src": "525:19:37",
3431
+ "statements": [
3432
+ {
3433
+ "nodeType": "YulAssignment",
3434
+ "src": "527:15:37",
3435
+ "value": {
3436
+ "arguments": [
3437
+ {
3438
+ "name": "i",
3439
+ "nodeType": "YulIdentifier",
3440
+ "src": "536:1:37"
3441
+ },
3442
+ {
3443
+ "kind": "number",
3444
+ "nodeType": "YulLiteral",
3445
+ "src": "539:2:37",
3446
+ "type": "",
3447
+ "value": "32"
3448
+ }
3449
+ ],
3450
+ "functionName": {
3451
+ "name": "add",
3452
+ "nodeType": "YulIdentifier",
3453
+ "src": "532:3:37"
3454
+ },
3455
+ "nodeType": "YulFunctionCall",
3456
+ "src": "532:10:37"
3457
+ },
3458
+ "variableNames": [
3459
+ {
3460
+ "name": "i",
3461
+ "nodeType": "YulIdentifier",
3462
+ "src": "527:1:37"
3463
+ }
3464
+ ]
3465
+ }
3466
+ ]
3467
+ },
3468
+ "pre": {
3469
+ "nodeType": "YulBlock",
3470
+ "src": "507:3:37",
3471
+ "statements": []
3472
+ },
3473
+ "src": "503:113:37"
3474
+ },
3475
+ {
3476
+ "body": {
3477
+ "nodeType": "YulBlock",
3478
+ "src": "642:31:37",
3479
+ "statements": [
3480
+ {
3481
+ "expression": {
3482
+ "arguments": [
3483
+ {
3484
+ "arguments": [
3485
+ {
3486
+ "name": "dst",
3487
+ "nodeType": "YulIdentifier",
3488
+ "src": "655:3:37"
3489
+ },
3490
+ {
3491
+ "name": "length",
3492
+ "nodeType": "YulIdentifier",
3493
+ "src": "660:6:37"
3494
+ }
3495
+ ],
3496
+ "functionName": {
3497
+ "name": "add",
3498
+ "nodeType": "YulIdentifier",
3499
+ "src": "651:3:37"
3500
+ },
3501
+ "nodeType": "YulFunctionCall",
3502
+ "src": "651:16:37"
3503
+ },
3504
+ {
3505
+ "kind": "number",
3506
+ "nodeType": "YulLiteral",
3507
+ "src": "669:1:37",
3508
+ "type": "",
3509
+ "value": "0"
3510
+ }
3511
+ ],
3512
+ "functionName": {
3513
+ "name": "mstore",
3514
+ "nodeType": "YulIdentifier",
3515
+ "src": "644:6:37"
3516
+ },
3517
+ "nodeType": "YulFunctionCall",
3518
+ "src": "644:27:37"
3519
+ },
3520
+ "nodeType": "YulExpressionStatement",
3521
+ "src": "644:27:37"
3522
+ }
3523
+ ]
3524
+ },
3525
+ "condition": {
3526
+ "arguments": [
3527
+ {
3528
+ "name": "i",
3529
+ "nodeType": "YulIdentifier",
3530
+ "src": "631:1:37"
3531
+ },
3532
+ {
3533
+ "name": "length",
3534
+ "nodeType": "YulIdentifier",
3535
+ "src": "634:6:37"
3536
+ }
3537
+ ],
3538
+ "functionName": {
3539
+ "name": "gt",
3540
+ "nodeType": "YulIdentifier",
3541
+ "src": "628:2:37"
3542
+ },
3543
+ "nodeType": "YulFunctionCall",
3544
+ "src": "628:13:37"
3545
+ },
3546
+ "nodeType": "YulIf",
3547
+ "src": "625:48:37"
3548
+ }
3549
+ ]
3550
+ },
3551
+ "name": "copy_memory_to_memory",
3552
+ "nodeType": "YulFunctionDefinition",
3553
+ "parameters": [
3554
+ {
3555
+ "name": "src",
3556
+ "nodeType": "YulTypedName",
3557
+ "src": "452:3:37",
3558
+ "type": ""
3559
+ },
3560
+ {
3561
+ "name": "dst",
3562
+ "nodeType": "YulTypedName",
3563
+ "src": "457:3:37",
3564
+ "type": ""
3565
+ },
3566
+ {
3567
+ "name": "length",
3568
+ "nodeType": "YulTypedName",
3569
+ "src": "462:6:37",
3570
+ "type": ""
3571
+ }
3572
+ ],
3573
+ "src": "421:258:37"
3574
+ },
3575
+ {
3576
+ "body": {
3577
+ "nodeType": "YulBlock",
3578
+ "src": "821:137:37",
3579
+ "statements": [
3580
+ {
3581
+ "nodeType": "YulVariableDeclaration",
3582
+ "src": "831:27:37",
3583
+ "value": {
3584
+ "arguments": [
3585
+ {
3586
+ "name": "value0",
3587
+ "nodeType": "YulIdentifier",
3588
+ "src": "851:6:37"
3589
+ }
3590
+ ],
3591
+ "functionName": {
3592
+ "name": "mload",
3593
+ "nodeType": "YulIdentifier",
3594
+ "src": "845:5:37"
3595
+ },
3596
+ "nodeType": "YulFunctionCall",
3597
+ "src": "845:13:37"
3598
+ },
3599
+ "variables": [
3600
+ {
3601
+ "name": "length",
3602
+ "nodeType": "YulTypedName",
3603
+ "src": "835:6:37",
3604
+ "type": ""
3605
+ }
3606
+ ]
3607
+ },
3608
+ {
3609
+ "expression": {
3610
+ "arguments": [
3611
+ {
3612
+ "arguments": [
3613
+ {
3614
+ "name": "value0",
3615
+ "nodeType": "YulIdentifier",
3616
+ "src": "893:6:37"
3617
+ },
3618
+ {
3619
+ "kind": "number",
3620
+ "nodeType": "YulLiteral",
3621
+ "src": "901:4:37",
3622
+ "type": "",
3623
+ "value": "0x20"
3624
+ }
3625
+ ],
3626
+ "functionName": {
3627
+ "name": "add",
3628
+ "nodeType": "YulIdentifier",
3629
+ "src": "889:3:37"
3630
+ },
3631
+ "nodeType": "YulFunctionCall",
3632
+ "src": "889:17:37"
3633
+ },
3634
+ {
3635
+ "name": "pos",
3636
+ "nodeType": "YulIdentifier",
3637
+ "src": "908:3:37"
3638
+ },
3639
+ {
3640
+ "name": "length",
3641
+ "nodeType": "YulIdentifier",
3642
+ "src": "913:6:37"
3643
+ }
3644
+ ],
3645
+ "functionName": {
3646
+ "name": "copy_memory_to_memory",
3647
+ "nodeType": "YulIdentifier",
3648
+ "src": "867:21:37"
3649
+ },
3650
+ "nodeType": "YulFunctionCall",
3651
+ "src": "867:53:37"
3652
+ },
3653
+ "nodeType": "YulExpressionStatement",
3654
+ "src": "867:53:37"
3655
+ },
3656
+ {
3657
+ "nodeType": "YulAssignment",
3658
+ "src": "929:23:37",
3659
+ "value": {
3660
+ "arguments": [
3661
+ {
3662
+ "name": "pos",
3663
+ "nodeType": "YulIdentifier",
3664
+ "src": "940:3:37"
3665
+ },
3666
+ {
3667
+ "name": "length",
3668
+ "nodeType": "YulIdentifier",
3669
+ "src": "945:6:37"
3670
+ }
3671
+ ],
3672
+ "functionName": {
3673
+ "name": "add",
3674
+ "nodeType": "YulIdentifier",
3675
+ "src": "936:3:37"
3676
+ },
3677
+ "nodeType": "YulFunctionCall",
3678
+ "src": "936:16:37"
3679
+ },
3680
+ "variableNames": [
3681
+ {
3682
+ "name": "end",
3683
+ "nodeType": "YulIdentifier",
3684
+ "src": "929:3:37"
3685
+ }
3686
+ ]
3687
+ }
3688
+ ]
3689
+ },
3690
+ "name": "abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed",
3691
+ "nodeType": "YulFunctionDefinition",
3692
+ "parameters": [
3693
+ {
3694
+ "name": "pos",
3695
+ "nodeType": "YulTypedName",
3696
+ "src": "797:3:37",
3697
+ "type": ""
3698
+ },
3699
+ {
3700
+ "name": "value0",
3701
+ "nodeType": "YulTypedName",
3702
+ "src": "802:6:37",
3703
+ "type": ""
3704
+ }
3705
+ ],
3706
+ "returnVariables": [
3707
+ {
3708
+ "name": "end",
3709
+ "nodeType": "YulTypedName",
3710
+ "src": "813:3:37",
3711
+ "type": ""
3712
+ }
3713
+ ],
3714
+ "src": "684:274:37"
3715
+ },
3716
+ {
3717
+ "body": {
3718
+ "nodeType": "YulBlock",
3719
+ "src": "1084:321:37",
3720
+ "statements": [
3721
+ {
3722
+ "expression": {
3723
+ "arguments": [
3724
+ {
3725
+ "name": "headStart",
3726
+ "nodeType": "YulIdentifier",
3727
+ "src": "1101:9:37"
3728
+ },
3729
+ {
3730
+ "kind": "number",
3731
+ "nodeType": "YulLiteral",
3732
+ "src": "1112:2:37",
3733
+ "type": "",
3734
+ "value": "32"
3735
+ }
3736
+ ],
3737
+ "functionName": {
3738
+ "name": "mstore",
3739
+ "nodeType": "YulIdentifier",
3740
+ "src": "1094:6:37"
3741
+ },
3742
+ "nodeType": "YulFunctionCall",
3743
+ "src": "1094:21:37"
3744
+ },
3745
+ "nodeType": "YulExpressionStatement",
3746
+ "src": "1094:21:37"
3747
+ },
3748
+ {
3749
+ "nodeType": "YulVariableDeclaration",
3750
+ "src": "1124:27:37",
3751
+ "value": {
3752
+ "arguments": [
3753
+ {
3754
+ "name": "value0",
3755
+ "nodeType": "YulIdentifier",
3756
+ "src": "1144:6:37"
3757
+ }
3758
+ ],
3759
+ "functionName": {
3760
+ "name": "mload",
3761
+ "nodeType": "YulIdentifier",
3762
+ "src": "1138:5:37"
3763
+ },
3764
+ "nodeType": "YulFunctionCall",
3765
+ "src": "1138:13:37"
3766
+ },
3767
+ "variables": [
3768
+ {
3769
+ "name": "length",
3770
+ "nodeType": "YulTypedName",
3771
+ "src": "1128:6:37",
3772
+ "type": ""
3773
+ }
3774
+ ]
3775
+ },
3776
+ {
3777
+ "expression": {
3778
+ "arguments": [
3779
+ {
3780
+ "arguments": [
3781
+ {
3782
+ "name": "headStart",
3783
+ "nodeType": "YulIdentifier",
3784
+ "src": "1171:9:37"
3785
+ },
3786
+ {
3787
+ "kind": "number",
3788
+ "nodeType": "YulLiteral",
3789
+ "src": "1182:2:37",
3790
+ "type": "",
3791
+ "value": "32"
3792
+ }
3793
+ ],
3794
+ "functionName": {
3795
+ "name": "add",
3796
+ "nodeType": "YulIdentifier",
3797
+ "src": "1167:3:37"
3798
+ },
3799
+ "nodeType": "YulFunctionCall",
3800
+ "src": "1167:18:37"
3801
+ },
3802
+ {
3803
+ "name": "length",
3804
+ "nodeType": "YulIdentifier",
3805
+ "src": "1187:6:37"
3806
+ }
3807
+ ],
3808
+ "functionName": {
3809
+ "name": "mstore",
3810
+ "nodeType": "YulIdentifier",
3811
+ "src": "1160:6:37"
3812
+ },
3813
+ "nodeType": "YulFunctionCall",
3814
+ "src": "1160:34:37"
3815
+ },
3816
+ "nodeType": "YulExpressionStatement",
3817
+ "src": "1160:34:37"
3818
+ },
3819
+ {
3820
+ "expression": {
3821
+ "arguments": [
3822
+ {
3823
+ "arguments": [
3824
+ {
3825
+ "name": "value0",
3826
+ "nodeType": "YulIdentifier",
3827
+ "src": "1229:6:37"
3828
+ },
3829
+ {
3830
+ "kind": "number",
3831
+ "nodeType": "YulLiteral",
3832
+ "src": "1237:2:37",
3833
+ "type": "",
3834
+ "value": "32"
3835
+ }
3836
+ ],
3837
+ "functionName": {
3838
+ "name": "add",
3839
+ "nodeType": "YulIdentifier",
3840
+ "src": "1225:3:37"
3841
+ },
3842
+ "nodeType": "YulFunctionCall",
3843
+ "src": "1225:15:37"
3844
+ },
3845
+ {
3846
+ "arguments": [
3847
+ {
3848
+ "name": "headStart",
3849
+ "nodeType": "YulIdentifier",
3850
+ "src": "1246:9:37"
3851
+ },
3852
+ {
3853
+ "kind": "number",
3854
+ "nodeType": "YulLiteral",
3855
+ "src": "1257:2:37",
3856
+ "type": "",
3857
+ "value": "64"
3858
+ }
3859
+ ],
3860
+ "functionName": {
3861
+ "name": "add",
3862
+ "nodeType": "YulIdentifier",
3863
+ "src": "1242:3:37"
3864
+ },
3865
+ "nodeType": "YulFunctionCall",
3866
+ "src": "1242:18:37"
3867
+ },
3868
+ {
3869
+ "name": "length",
3870
+ "nodeType": "YulIdentifier",
3871
+ "src": "1262:6:37"
3872
+ }
3873
+ ],
3874
+ "functionName": {
3875
+ "name": "copy_memory_to_memory",
3876
+ "nodeType": "YulIdentifier",
3877
+ "src": "1203:21:37"
3878
+ },
3879
+ "nodeType": "YulFunctionCall",
3880
+ "src": "1203:66:37"
3881
+ },
3882
+ "nodeType": "YulExpressionStatement",
3883
+ "src": "1203:66:37"
3884
+ },
3885
+ {
3886
+ "nodeType": "YulAssignment",
3887
+ "src": "1278:121:37",
3888
+ "value": {
3889
+ "arguments": [
3890
+ {
3891
+ "arguments": [
3892
+ {
3893
+ "name": "headStart",
3894
+ "nodeType": "YulIdentifier",
3895
+ "src": "1294:9:37"
3896
+ },
3897
+ {
3898
+ "arguments": [
3899
+ {
3900
+ "arguments": [
3901
+ {
3902
+ "name": "length",
3903
+ "nodeType": "YulIdentifier",
3904
+ "src": "1313:6:37"
3905
+ },
3906
+ {
3907
+ "kind": "number",
3908
+ "nodeType": "YulLiteral",
3909
+ "src": "1321:2:37",
3910
+ "type": "",
3911
+ "value": "31"
3912
+ }
3913
+ ],
3914
+ "functionName": {
3915
+ "name": "add",
3916
+ "nodeType": "YulIdentifier",
3917
+ "src": "1309:3:37"
3918
+ },
3919
+ "nodeType": "YulFunctionCall",
3920
+ "src": "1309:15:37"
3921
+ },
3922
+ {
3923
+ "kind": "number",
3924
+ "nodeType": "YulLiteral",
3925
+ "src": "1326:66:37",
3926
+ "type": "",
3927
+ "value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0"
3928
+ }
3929
+ ],
3930
+ "functionName": {
3931
+ "name": "and",
3932
+ "nodeType": "YulIdentifier",
3933
+ "src": "1305:3:37"
3934
+ },
3935
+ "nodeType": "YulFunctionCall",
3936
+ "src": "1305:88:37"
3937
+ }
3938
+ ],
3939
+ "functionName": {
3940
+ "name": "add",
3941
+ "nodeType": "YulIdentifier",
3942
+ "src": "1290:3:37"
3943
+ },
3944
+ "nodeType": "YulFunctionCall",
3945
+ "src": "1290:104:37"
3946
+ },
3947
+ {
3948
+ "kind": "number",
3949
+ "nodeType": "YulLiteral",
3950
+ "src": "1396:2:37",
3951
+ "type": "",
3952
+ "value": "64"
3953
+ }
3954
+ ],
3955
+ "functionName": {
3956
+ "name": "add",
3957
+ "nodeType": "YulIdentifier",
3958
+ "src": "1286:3:37"
3959
+ },
3960
+ "nodeType": "YulFunctionCall",
3961
+ "src": "1286:113:37"
3962
+ },
3963
+ "variableNames": [
3964
+ {
3965
+ "name": "tail",
3966
+ "nodeType": "YulIdentifier",
3967
+ "src": "1278:4:37"
3968
+ }
3969
+ ]
3970
+ }
3971
+ ]
3972
+ },
3973
+ "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed",
3974
+ "nodeType": "YulFunctionDefinition",
3975
+ "parameters": [
3976
+ {
3977
+ "name": "headStart",
3978
+ "nodeType": "YulTypedName",
3979
+ "src": "1053:9:37",
3980
+ "type": ""
3981
+ },
3982
+ {
3983
+ "name": "value0",
3984
+ "nodeType": "YulTypedName",
3985
+ "src": "1064:6:37",
3986
+ "type": ""
3987
+ }
3988
+ ],
3989
+ "returnVariables": [
3990
+ {
3991
+ "name": "tail",
3992
+ "nodeType": "YulTypedName",
3993
+ "src": "1075:4:37",
3994
+ "type": ""
3995
+ }
3996
+ ],
3997
+ "src": "963:442:37"
3998
+ }
3999
+ ]
4000
+ },
4001
+ "contents": "{\n { }\n function abi_encode_tuple_t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 38)\n mstore(add(headStart, 64), \"Address: delegate call to non-co\")\n mstore(add(headStart, 96), \"ntract\")\n tail := add(headStart, 128)\n }\n function copy_memory_to_memory(src, dst, length)\n {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length) { mstore(add(dst, length), 0) }\n }\n function abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n let length := mload(value0)\n copy_memory_to_memory(add(value0, 0x20), pos, length)\n end := add(pos, length)\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n let length := mload(value0)\n mstore(add(headStart, 32), length)\n copy_memory_to_memory(add(value0, 32), add(headStart, 64), length)\n tail := add(add(headStart, and(add(length, 31), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)), 64)\n }\n}",
4002
+ "id": 37,
4003
+ "language": "Yul",
4004
+ "name": "#utility.yul"
4005
+ }
4006
+ ],
4007
+ "immutableReferences": {},
4008
+ "linkReferences": {},
4009
+ "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLDATASIZE PUSH2 0x13 JUMPI PUSH2 0x11 PUSH2 0x17 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x11 JUMPDEST PUSH2 0x27 PUSH2 0x22 PUSH2 0x74 JUMP JUMPDEST PUSH2 0xB9 JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x60 PUSH2 0x4E DUP4 DUP4 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x27 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x2FB PUSH1 0x27 SWAP2 CODECOPY PUSH2 0xDD JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EXTCODESIZE ISZERO ISZERO SWAP1 JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0xB4 PUSH32 0x360894A13BA1A3210667C828492DB98DCA3E2076CC3735A920A3CA505D382BBC SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST CALLDATASIZE PUSH1 0x0 DUP1 CALLDATACOPY PUSH1 0x0 DUP1 CALLDATASIZE PUSH1 0x0 DUP5 GAS DELEGATECALL RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY DUP1 DUP1 ISZERO PUSH2 0xD8 JUMPI RETURNDATASIZE PUSH1 0x0 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x60 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND EXTCODESIZE PUSH2 0x188 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416464726573733A2064656C65676174652063616C6C20746F206E6F6E2D636F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E74726163740000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP6 PUSH1 0x40 MLOAD PUSH2 0x1B0 SWAP2 SWAP1 PUSH2 0x28D JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x1EB JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x1F0 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP PUSH2 0x200 DUP3 DUP3 DUP7 PUSH2 0x20A JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x60 DUP4 ISZERO PUSH2 0x219 JUMPI POP DUP2 PUSH2 0x4E JUMP JUMPDEST DUP3 MLOAD ISZERO PUSH2 0x229 JUMPI DUP3 MLOAD DUP1 DUP5 PUSH1 0x20 ADD REVERT JUMPDEST DUP2 PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x17F SWAP2 SWAP1 PUSH2 0x2A9 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x278 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x260 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x287 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x29F DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x25D JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x2C8 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x25D JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP INVALID COINBASE PUSH5 0x6472657373 GASPRICE KECCAK256 PUSH13 0x6F772D6C6576656C2064656C65 PUSH8 0x6174652063616C6C KECCAK256 PUSH7 0x61696C6564A264 PUSH21 0x726F6E58221220E6C5D5A4484542BAB40437383EF1 PUSH17 0x6D7A3B851F5C85EF1460E1C6D646F55436 PUSH5 0x736F6C6343 STOP ADDMOD SIGNEXTEND STOP CALLER ",
4010
+ "sourceMap": "552:830:15:-:0;;;;;;2903:11:17;:9;:11::i;:::-;552:830:15;;2680:11:17;2327:110;2402:28;2412:17;:15;:17::i;:::-;2402:9;:28::i;:::-;2327:110::o;6575:198:25:-;6658:12;6689:77;6710:6;6718:4;6689:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;6682:84;6575:198;-1:-1:-1;;;6575:198:25:o;1180:320::-;1470:19;;;:23;;;1180:320::o;1599:147:27:-;1726:4;1599:147::o;1240:140:15:-;1307:12;1338:35;1035:66:16;1385:54;;;;1306:140;1338:35:15;1331:42;;1240:140;:::o;953:895:17:-;1291:14;1288:1;1285;1272:34;1505:1;1502;1486:14;1483:1;1467:14;1460:5;1447:60;1581:16;1578:1;1575;1560:38;1619:6;1686:66;;;;1801:16;1798:1;1791:27;1686:66;1721:16;1718:1;1711:27;6959:387:25;7100:12;1470:19;;;;7124:69;;;;;;;216:2:37;7124:69:25;;;198:21:37;255:2;235:18;;;228:30;294:34;274:18;;;267:62;365:8;345:18;;;338:36;391:19;;7124:69:25;;;;;;;;;7205:12;7219:23;7246:6;:19;;7266:4;7246:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7204:67;;;;7288:51;7305:7;7314:10;7326:12;7288:16;:51::i;:::-;7281:58;6959:387;-1:-1:-1;;;;;;6959:387:25:o;7566:692::-;7712:12;7740:7;7736:516;;;-1:-1:-1;7770:10:25;7763:17;;7736:516;7881:17;;:21;7877:365;;8075:10;8069:17;8135:15;8122:10;8118:2;8114:19;8107:44;7877:365;8214:12;8207:20;;;;;;;;;;;:::i;421:258:37:-;493:1;503:113;517:6;514:1;511:13;503:113;;;593:11;;;587:18;574:11;;;567:39;539:2;532:10;503:113;;;634:6;631:1;628:13;625:48;;;669:1;660:6;655:3;651:16;644:27;625:48;;421:258;;;:::o;684:274::-;813:3;851:6;845:13;867:53;913:6;908:3;901:4;893:6;889:17;867:53;:::i;:::-;936:16;;;;;684:274;-1:-1:-1;;684:274:37:o;963:442::-;1112:2;1101:9;1094:21;1075:4;1144:6;1138:13;1187:6;1182:2;1171:9;1167:18;1160:34;1203:66;1262:6;1257:2;1246:9;1242:18;1237:2;1229:6;1225:15;1203:66;:::i;:::-;1321:2;1309:15;1326:66;1305:88;1290:104;;;;1396:2;1286:113;;963:442;-1:-1:-1;;963:442:37:o"
4011
+ },
4012
+ "gasEstimates": {
4013
+ "creation": {
4014
+ "codeDepositCost": "171000",
4015
+ "executionCost": "infinite",
4016
+ "totalCost": "infinite"
4017
+ },
4018
+ "external": {
4019
+ "": "infinite"
4020
+ },
4021
+ "internal": {
4022
+ "_implementation()": "2144"
4023
+ }
4024
+ },
4025
+ "methodIdentifiers": {}
4026
+ },
4027
+ "metadata": "{\"compiler\":{\"version\":\"0.8.11+commit.b01f3284.mod\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_logic\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"details\":\"This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an implementation address that can be changed. This address is stored in storage in the location specified by https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the implementation behind the proxy.\",\"kind\":\"dev\",\"methods\":{\"constructor\":{\"details\":\"Initializes the upgradeable proxy with an initial implementation specified by `_logic`. If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded function call, and allows initializating the storage of the proxy like a Solidity constructor.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solc_0.8/openzeppelin/proxy/ERC1967/ERC1967Proxy.sol\":\"ERC1967Proxy\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"solc_0.8/openzeppelin/interfaces/draft-IERC1822.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (interfaces/draft-IERC1822.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\\n * proxy whose upgrades are fully controlled by the current implementation.\\n */\\ninterface IERC1822Proxiable {\\n /**\\n * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\\n * address.\\n *\\n * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\\n * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\\n * function revert if invoked through a proxy.\\n */\\n function proxiableUUID() external view returns (bytes32);\\n}\\n\",\"keccak256\":\"0x93b4e21c931252739a1ec13ea31d3d35a5c068be3163ccab83e4d70c40355f03\",\"license\":\"MIT\"},\"solc_0.8/openzeppelin/proxy/ERC1967/ERC1967Proxy.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (proxy/ERC1967/ERC1967Proxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../Proxy.sol\\\";\\nimport \\\"./ERC1967Upgrade.sol\\\";\\n\\n/**\\n * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an\\n * implementation address that can be changed. This address is stored in storage in the location specified by\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the\\n * implementation behind the proxy.\\n */\\ncontract ERC1967Proxy is Proxy, ERC1967Upgrade {\\n /**\\n * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`.\\n *\\n * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded\\n * function call, and allows initializating the storage of the proxy like a Solidity constructor.\\n */\\n constructor(address _logic, bytes memory _data) payable {\\n assert(_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256(\\\"eip1967.proxy.implementation\\\")) - 1));\\n _upgradeToAndCall(_logic, _data, false);\\n }\\n\\n /**\\n * @dev Returns the current implementation address.\\n */\\n function _implementation() internal view virtual override returns (address impl) {\\n return ERC1967Upgrade._getImplementation();\\n }\\n}\\n\",\"keccak256\":\"0x6309f9f39dc6f4f45a24f296543867aa358e32946cd6b2874627a996d606b3a0\",\"license\":\"MIT\"},\"solc_0.8/openzeppelin/proxy/ERC1967/ERC1967Upgrade.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (proxy/ERC1967/ERC1967Upgrade.sol)\\n\\npragma solidity ^0.8.2;\\n\\nimport \\\"../beacon/IBeacon.sol\\\";\\nimport \\\"../../interfaces/draft-IERC1822.sol\\\";\\nimport \\\"../../utils/Address.sol\\\";\\nimport \\\"../../utils/StorageSlot.sol\\\";\\n\\n/**\\n * @dev This abstract contract provides getters and event emitting update functions for\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\\n *\\n * _Available since v4.1._\\n *\\n * @custom:oz-upgrades-unsafe-allow delegatecall\\n */\\nabstract contract ERC1967Upgrade {\\n // This is the keccak-256 hash of \\\"eip1967.proxy.rollback\\\" subtracted by 1\\n bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;\\n\\n /**\\n * @dev Storage slot with the address of the current implementation.\\n * This is the keccak-256 hash of \\\"eip1967.proxy.implementation\\\" subtracted by 1, and is\\n * validated in the constructor.\\n */\\n bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n\\n /**\\n * @dev Emitted when the implementation is upgraded.\\n */\\n event Upgraded(address indexed implementation);\\n\\n /**\\n * @dev Returns the current implementation address.\\n */\\n function _getImplementation() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new address in the EIP1967 implementation slot.\\n */\\n function _setImplementation(address newImplementation) private {\\n require(Address.isContract(newImplementation), \\\"ERC1967: new implementation is not a contract\\\");\\n StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n }\\n\\n /**\\n * @dev Perform implementation upgrade\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeTo(address newImplementation) internal {\\n _setImplementation(newImplementation);\\n emit Upgraded(newImplementation);\\n }\\n\\n /**\\n * @dev Perform implementation upgrade with additional setup call.\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeToAndCall(\\n address newImplementation,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n _upgradeTo(newImplementation);\\n if (data.length > 0 || forceCall) {\\n Address.functionDelegateCall(newImplementation, data);\\n }\\n }\\n\\n /**\\n * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeToAndCallUUPS(\\n address newImplementation,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n // Upgrades from old implementations will perform a rollback test. This test requires the new\\n // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing\\n // this special case will break upgrade paths from old UUPS implementation to new ones.\\n if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) {\\n _setImplementation(newImplementation);\\n } else {\\n try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\\n require(slot == _IMPLEMENTATION_SLOT, \\\"ERC1967Upgrade: unsupported proxiableUUID\\\");\\n } catch {\\n revert(\\\"ERC1967Upgrade: new implementation is not UUPS\\\");\\n }\\n _upgradeToAndCall(newImplementation, data, forceCall);\\n }\\n }\\n\\n /**\\n * @dev Storage slot with the admin of the contract.\\n * This is the keccak-256 hash of \\\"eip1967.proxy.admin\\\" subtracted by 1, and is\\n * validated in the constructor.\\n */\\n bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\\n\\n /**\\n * @dev Emitted when the admin account has changed.\\n */\\n event AdminChanged(address previousAdmin, address newAdmin);\\n\\n /**\\n * @dev Returns the current admin.\\n */\\n function _getAdmin() internal view virtual returns (address) {\\n return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new address in the EIP1967 admin slot.\\n */\\n function _setAdmin(address newAdmin) private {\\n require(newAdmin != address(0), \\\"ERC1967: new admin is the zero address\\\");\\n StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;\\n }\\n\\n /**\\n * @dev Changes the admin of the proxy.\\n *\\n * Emits an {AdminChanged} event.\\n */\\n function _changeAdmin(address newAdmin) internal {\\n emit AdminChanged(_getAdmin(), newAdmin);\\n _setAdmin(newAdmin);\\n }\\n\\n /**\\n * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\\n * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.\\n */\\n bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\\n\\n /**\\n * @dev Emitted when the beacon is upgraded.\\n */\\n event BeaconUpgraded(address indexed beacon);\\n\\n /**\\n * @dev Returns the current beacon.\\n */\\n function _getBeacon() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_BEACON_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new beacon in the EIP1967 beacon slot.\\n */\\n function _setBeacon(address newBeacon) private {\\n require(Address.isContract(newBeacon), \\\"ERC1967: new beacon is not a contract\\\");\\n require(Address.isContract(IBeacon(newBeacon).implementation()), \\\"ERC1967: beacon implementation is not a contract\\\");\\n StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;\\n }\\n\\n /**\\n * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does\\n * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).\\n *\\n * Emits a {BeaconUpgraded} event.\\n */\\n function _upgradeBeaconToAndCall(\\n address newBeacon,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n _setBeacon(newBeacon);\\n emit BeaconUpgraded(newBeacon);\\n if (data.length > 0 || forceCall) {\\n Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\\n }\\n }\\n}\\n\",\"keccak256\":\"0x17668652127feebed0ce8d9431ef95ccc8c4292f03e3b8cf06c6ca16af396633\",\"license\":\"MIT\"},\"solc_0.8/openzeppelin/proxy/Proxy.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (proxy/Proxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM\\n * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to\\n * be specified by overriding the virtual {_implementation} function.\\n *\\n * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a\\n * different contract through the {_delegate} function.\\n *\\n * The success and return data of the delegated call will be returned back to the caller of the proxy.\\n */\\nabstract contract Proxy {\\n /**\\n * @dev Delegates the current call to `implementation`.\\n *\\n * This function does not return to its internal call site, it will return directly to the external caller.\\n */\\n function _delegate(address implementation) internal virtual {\\n assembly {\\n // Copy msg.data. We take full control of memory in this inline assembly\\n // block because it will not return to Solidity code. We overwrite the\\n // Solidity scratch pad at memory position 0.\\n calldatacopy(0, 0, calldatasize())\\n\\n // Call the implementation.\\n // out and outsize are 0 because we don't know the size yet.\\n let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)\\n\\n // Copy the returned data.\\n returndatacopy(0, 0, returndatasize())\\n\\n switch result\\n // delegatecall returns 0 on error.\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n /**\\n * @dev This is a virtual function that should be overriden so it returns the address to which the fallback function\\n * and {_fallback} should delegate.\\n */\\n function _implementation() internal view virtual returns (address);\\n\\n /**\\n * @dev Delegates the current call to the address returned by `_implementation()`.\\n *\\n * This function does not return to its internall call site, it will return directly to the external caller.\\n */\\n function _fallback() internal virtual {\\n _beforeFallback();\\n _delegate(_implementation());\\n }\\n\\n /**\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other\\n * function in the contract matches the call data.\\n */\\n fallback() external payable virtual {\\n _fallback();\\n }\\n\\n /**\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data\\n * is empty.\\n */\\n receive() external payable virtual {\\n _fallback();\\n }\\n\\n /**\\n * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`\\n * call, or as part of the Solidity `fallback` or `receive` functions.\\n *\\n * If overriden should call `super._beforeFallback()`.\\n */\\n function _beforeFallback() internal virtual {}\\n}\\n\",\"keccak256\":\"0xd5d1fd16e9faff7fcb3a52e02a8d49156f42a38a03f07b5f1810c21c2149a8ab\",\"license\":\"MIT\"},\"solc_0.8/openzeppelin/proxy/beacon/IBeacon.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\\n */\\ninterface IBeacon {\\n /**\\n * @dev Must return an address that can be used as a delegate call target.\\n *\\n * {BeaconProxy} will check that this address is a contract.\\n */\\n function implementation() external view returns (address);\\n}\\n\",\"keccak256\":\"0xd50a3421ac379ccb1be435fa646d66a65c986b4924f0849839f08692f39dde61\",\"license\":\"MIT\"},\"solc_0.8/openzeppelin/utils/Address.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n *\\n * [IMPORTANT]\\n * ====\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n *\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n * constructor.\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize/address.code.length, which returns 0\\n // for contracts in construction, since the code is only stored at the end\\n // of the constructor execution.\\n\\n return account.code.length > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain `call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(isContract(target), \\\"Address: delegate call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\\n * revert reason using the provided one.\\n *\\n * _Available since v4.3._\\n */\\n function verifyCallResult(\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal pure returns (bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0x3777e696b62134e6177440dbe6e6601c0c156a443f57167194b67e75527439de\",\"license\":\"MIT\"},\"solc_0.8/openzeppelin/utils/StorageSlot.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/StorageSlot.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Library for reading and writing primitive types to specific storage slots.\\n *\\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\\n * This library helps with reading and writing to such slots without the need for inline assembly.\\n *\\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\\n *\\n * Example usage to set ERC1967 implementation slot:\\n * ```\\n * contract ERC1967 {\\n * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n *\\n * function _getImplementation() internal view returns (address) {\\n * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\n * }\\n *\\n * function _setImplementation(address newImplementation) internal {\\n * require(Address.isContract(newImplementation), \\\"ERC1967: new implementation is not a contract\\\");\\n * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n * }\\n * }\\n * ```\\n *\\n * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._\\n */\\nlibrary StorageSlot {\\n struct AddressSlot {\\n address value;\\n }\\n\\n struct BooleanSlot {\\n bool value;\\n }\\n\\n struct Bytes32Slot {\\n bytes32 value;\\n }\\n\\n struct Uint256Slot {\\n uint256 value;\\n }\\n\\n /**\\n * @dev Returns an `AddressSlot` with member `value` located at `slot`.\\n */\\n function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\\n */\\n function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\\n */\\n function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\\n */\\n function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\\n assembly {\\n r.slot := slot\\n }\\n }\\n}\\n\",\"keccak256\":\"0xfe1b7a9aa2a530a9e705b220e26cd584e2fbdc9602a3a1066032b12816b46aca\",\"license\":\"MIT\"}},\"version\":1}",
4028
+ "storageLayout": {
4029
+ "storage": [],
4030
+ "types": null
4031
+ },
4032
+ "userdoc": {
4033
+ "kind": "user",
4034
+ "methods": {},
4035
+ "version": 1
4036
+ },
4037
+ "solcInput": "{\n \"language\": \"Solidity\",\n \"sources\": {\n \"solc_0.8/diamond/Diamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n*\\n* Implementation of a diamond.\\n/******************************************************************************/\\n\\nimport {LibDiamond} from \\\"./libraries/LibDiamond.sol\\\";\\nimport {IDiamondCut} from \\\"./interfaces/IDiamondCut.sol\\\";\\n\\ncontract Diamond {\\n struct Initialization {\\n address initContract;\\n bytes initData;\\n }\\n\\n /// @notice This construct a diamond contract\\n /// @param _contractOwner the owner of the contract. With default DiamondCutFacet, this is the sole address allowed to make further cuts.\\n /// @param _diamondCut the list of facet to add\\n /// @param _initializations the list of initialization pair to execute. This allow to setup a contract with multiple level of independent initialization.\\n constructor(\\n address _contractOwner,\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n Initialization[] memory _initializations\\n ) payable {\\n if (_contractOwner != address(0)) {\\n LibDiamond.setContractOwner(_contractOwner);\\n }\\n\\n LibDiamond.diamondCut(_diamondCut, address(0), \\\"\\\");\\n\\n for (uint256 i = 0; i < _initializations.length; i++) {\\n LibDiamond.initializeDiamondCut(_initializations[i].initContract, _initializations[i].initData);\\n }\\n }\\n\\n // Find facet for function that is called and execute the\\n // function if a facet is found and return any value.\\n fallback() external payable {\\n LibDiamond.DiamondStorage storage ds;\\n bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;\\n // get diamond storage\\n assembly {\\n ds.slot := position\\n }\\n // get facet from function selector\\n address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;\\n require(facet != address(0), \\\"Diamond: Function does not exist\\\");\\n // Execute external function from facet using delegatecall and return any value.\\n assembly {\\n // copy function selector and any arguments\\n calldatacopy(0, 0, calldatasize())\\n // execute function call using the facet\\n let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)\\n // get any return value\\n returndatacopy(0, 0, returndatasize())\\n // return any return value or error back to the caller\\n switch result\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n receive() external payable {}\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondCutFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\n\\ncontract DiamondCutFacet is IDiamondCut {\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.diamondCut(_diamondCut, _init, _calldata);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondLoupeFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n/******************************************************************************\\\\\\n* Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IDiamondLoupe } from \\\"../interfaces/IDiamondLoupe.sol\\\";\\nimport { IERC165 } from \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondLoupeFacet is IDiamondLoupe, IERC165 {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external override view returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external override view returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external override view returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external override view returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n\\n // This implements ERC-165.\\n function supportsInterface(bytes4 _interfaceId) external override view returns (bool) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n return ds.supportedInterfaces[_interfaceId];\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/DiamondLoupeFacetWithoutSupportsInterface.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n/******************************************************************************\\\\\\n* Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\nimport {LibDiamond} from \\\"../libraries/LibDiamond.sol\\\";\\nimport {IDiamondLoupe} from \\\"../interfaces/IDiamondLoupe.sol\\\";\\n\\ncontract DiamondLoupeFacetWithoutSupportsInterface is IDiamondLoupe {\\n // Diamond Loupe Functions\\n ////////////////////////////////////////////////////////////////////\\n /// These functions are expected to be called frequently by tools.\\n //\\n // struct Facet {\\n // address facetAddress;\\n // bytes4[] functionSelectors;\\n // }\\n\\n /// @notice Gets all facets and their selectors.\\n /// @return facets_ Facet\\n function facets() external view override returns (Facet[] memory facets_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n uint256 numFacets = ds.facetAddresses.length;\\n facets_ = new Facet[](numFacets);\\n for (uint256 i; i < numFacets; i++) {\\n address facetAddress_ = ds.facetAddresses[i];\\n facets_[i].facetAddress = facetAddress_;\\n facets_[i].functionSelectors = ds.facetFunctionSelectors[facetAddress_].functionSelectors;\\n }\\n }\\n\\n /// @notice Gets all the function selectors provided by a facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view override returns (bytes4[] memory facetFunctionSelectors_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetFunctionSelectors_ = ds.facetFunctionSelectors[_facet].functionSelectors;\\n }\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view override returns (address[] memory facetAddresses_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddresses_ = ds.facetAddresses;\\n }\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view override returns (address facetAddress_) {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n facetAddress_ = ds.selectorToFacetAndPosition[_functionSelector].facetAddress;\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/facets/OwnershipFacet.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { LibDiamond } from \\\"../libraries/LibDiamond.sol\\\";\\nimport { IERC173 } from \\\"../interfaces/IERC173.sol\\\";\\n\\ncontract OwnershipFacet is IERC173 {\\n function transferOwnership(address _newOwner) external override {\\n LibDiamond.enforceIsContractOwner();\\n LibDiamond.setContractOwner(_newOwner);\\n }\\n\\n function owner() external override view returns (address owner_) {\\n owner_ = LibDiamond.contractOwner();\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/initializers/DiamondERC165Init.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport {LibDiamond} from \\\"../libraries/LibDiamond.sol\\\";\\nimport {IERC165} from \\\"../interfaces/IERC165.sol\\\";\\n\\ncontract DiamondERC165Init {\\n /// @notice set or unset ERC165 using DiamondStorage.supportedInterfaces\\n /// @param interfaceIds list of interface id to set as supported\\n /// @param interfaceIdsToRemove list of interface id to unset as supported.\\n /// Technically, you can remove support of ERC165 by having the IERC165 id itself being part of that array.\\n function setERC165(bytes4[] calldata interfaceIds, bytes4[] calldata interfaceIdsToRemove) external {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n\\n ds.supportedInterfaces[type(IERC165).interfaceId] = true;\\n\\n for (uint256 i = 0; i < interfaceIds.length; i++) {\\n ds.supportedInterfaces[interfaceIds[i]] = true;\\n }\\n\\n for (uint256 i = 0; i < interfaceIdsToRemove.length; i++) {\\n ds.supportedInterfaces[interfaceIdsToRemove[i]] = false;\\n }\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondCut.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\ninterface IDiamondCut {\\n enum FacetCutAction {Add, Replace, Remove}\\n // Add=0, Replace=1, Remove=2\\n\\n struct FacetCut {\\n address facetAddress;\\n FacetCutAction action;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Add/replace/remove any number of functions and optionally execute\\n /// a function with delegatecall\\n /// @param _diamondCut Contains the facet addresses and function selectors\\n /// @param _init The address of the contract or facet to execute _calldata\\n /// @param _calldata A function call, including function selector and arguments\\n /// _calldata is executed with delegatecall on _init\\n function diamondCut(\\n FacetCut[] calldata _diamondCut,\\n address _init,\\n bytes calldata _calldata\\n ) external;\\n\\n event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IDiamondLoupe.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\n\\n// A loupe is a small magnifying glass used to look at diamonds.\\n// These functions look at diamonds\\ninterface IDiamondLoupe {\\n /// These functions are expected to be called frequently\\n /// by tools.\\n\\n struct Facet {\\n address facetAddress;\\n bytes4[] functionSelectors;\\n }\\n\\n /// @notice Gets all facet addresses and their four byte function selectors.\\n /// @return facets_ Facet\\n function facets() external view returns (Facet[] memory facets_);\\n\\n /// @notice Gets all the function selectors supported by a specific facet.\\n /// @param _facet The facet address.\\n /// @return facetFunctionSelectors_\\n function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_);\\n\\n /// @notice Get all the facet addresses used by a diamond.\\n /// @return facetAddresses_\\n function facetAddresses() external view returns (address[] memory facetAddresses_);\\n\\n /// @notice Gets the facet that supports the given selector.\\n /// @dev If facet is not found return address(0).\\n /// @param _functionSelector The function selector.\\n /// @return facetAddress_ The facet address.\\n function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_);\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IERC165 {\\n /// @notice Query if a contract implements an interface\\n /// @param interfaceId The interface identifier, as specified in ERC-165\\n /// @dev Interface identification is specified in ERC-165. This function\\n /// uses less than 30,000 gas.\\n /// @return `true` if the contract implements `interfaceID` and\\n /// `interfaceID` is not 0xffffffff, `false` otherwise\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n },\n \"solc_0.8/diamond/interfaces/IERC173.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/// @title ERC-173 Contract Ownership Standard\\n/// Note: the ERC-165 identifier for this interface is 0x7f5828d0\\n/* is ERC165 */\\ninterface IERC173 {\\n /// @dev This emits when ownership of a contract changes.\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /// @notice Get the address of the owner\\n /// @return owner_ The address of the owner.\\n function owner() external view returns (address owner_);\\n\\n /// @notice Set the address of the new owner of the contract\\n /// @dev Set _newOwner to address(0) to renounce any ownership.\\n /// @param _newOwner The address of the new owner of the contract\\n function transferOwnership(address _newOwner) external;\\n}\\n\"\n },\n \"solc_0.8/diamond/libraries/LibDiamond.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/******************************************************************************\\\\\\n* Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen)\\n* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535\\n/******************************************************************************/\\nimport { IDiamondCut } from \\\"../interfaces/IDiamondCut.sol\\\";\\n\\nlibrary LibDiamond {\\n bytes32 constant DIAMOND_STORAGE_POSITION = keccak256(\\\"diamond.standard.diamond.storage\\\");\\n\\n struct FacetAddressAndPosition {\\n address facetAddress;\\n uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array\\n }\\n\\n struct FacetFunctionSelectors {\\n bytes4[] functionSelectors;\\n uint256 facetAddressPosition; // position of facetAddress in facetAddresses array\\n }\\n\\n struct DiamondStorage {\\n // maps function selector to the facet address and\\n // the position of the selector in the facetFunctionSelectors.selectors array\\n mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;\\n // maps facet addresses to function selectors\\n mapping(address => FacetFunctionSelectors) facetFunctionSelectors;\\n // facet addresses\\n address[] facetAddresses;\\n // Used to query if a contract implements an interface.\\n // Used to implement ERC-165.\\n mapping(bytes4 => bool) supportedInterfaces;\\n // owner of the contract\\n address contractOwner;\\n }\\n\\n function diamondStorage() internal pure returns (DiamondStorage storage ds) {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n function setContractOwner(address _newOwner) internal {\\n DiamondStorage storage ds = diamondStorage();\\n address previousOwner = ds.contractOwner;\\n ds.contractOwner = _newOwner;\\n emit OwnershipTransferred(previousOwner, _newOwner);\\n }\\n\\n function contractOwner() internal view returns (address contractOwner_) {\\n contractOwner_ = diamondStorage().contractOwner;\\n }\\n\\n function enforceIsContractOwner() internal view {\\n require(msg.sender == diamondStorage().contractOwner, \\\"LibDiamond: Must be contract owner\\\");\\n }\\n\\n event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);\\n\\n // Internal function version of diamondCut\\n function diamondCut(\\n IDiamondCut.FacetCut[] memory _diamondCut,\\n address _init,\\n bytes memory _calldata\\n ) internal {\\n for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {\\n IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;\\n if (action == IDiamondCut.FacetCutAction.Add) {\\n addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Replace) {\\n replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else if (action == IDiamondCut.FacetCutAction.Remove) {\\n removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors);\\n } else {\\n revert(\\\"LibDiamondCut: Incorrect FacetCutAction\\\");\\n }\\n }\\n emit DiamondCut(_diamondCut, _init, _calldata);\\n initializeDiamondCut(_init, _calldata);\\n }\\n\\n function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage(); \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress); \\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress == address(0), \\\"LibDiamondCut: Can't add function that already exists\\\");\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n require(_facetAddress != address(0), \\\"LibDiamondCut: Add facet can't be address(0)\\\");\\n uint96 selectorPosition = uint96(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length);\\n // add new facet address if it does not exist\\n if (selectorPosition == 0) {\\n addFacet(ds, _facetAddress);\\n }\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n require(oldFacetAddress != _facetAddress, \\\"LibDiamondCut: Can't replace function with same function\\\");\\n removeFunction(ds, oldFacetAddress, selector);\\n addFunction(ds, selector, selectorPosition, _facetAddress);\\n selectorPosition++;\\n }\\n }\\n\\n function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {\\n require(_functionSelectors.length > 0, \\\"LibDiamondCut: No selectors in facet to cut\\\");\\n DiamondStorage storage ds = diamondStorage();\\n // if function does not exist then do nothing and return\\n require(_facetAddress == address(0), \\\"LibDiamondCut: Remove facet address must be address(0)\\\");\\n for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {\\n bytes4 selector = _functionSelectors[selectorIndex];\\n address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress;\\n removeFunction(ds, oldFacetAddress, selector);\\n }\\n }\\n\\n function addFacet(DiamondStorage storage ds, address _facetAddress) internal {\\n enforceHasContractCode(_facetAddress, \\\"LibDiamondCut: New facet has no code\\\");\\n ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds.facetAddresses.length;\\n ds.facetAddresses.push(_facetAddress);\\n } \\n\\n\\n function addFunction(DiamondStorage storage ds, bytes4 _selector, uint96 _selectorPosition, address _facetAddress) internal {\\n ds.selectorToFacetAndPosition[_selector].functionSelectorPosition = _selectorPosition;\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(_selector);\\n ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;\\n }\\n\\n function removeFunction(DiamondStorage storage ds, address _facetAddress, bytes4 _selector) internal { \\n require(_facetAddress != address(0), \\\"LibDiamondCut: Can't remove function that doesn't exist\\\");\\n // an immutable function is a function defined directly in a diamond\\n require(_facetAddress != address(this), \\\"LibDiamondCut: Can't remove immutable function\\\");\\n // replace selector with last selector, then delete last selector\\n uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition;\\n uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1;\\n // if not the same then replace _selector with lastSelector\\n if (selectorPosition != lastSelectorPosition) {\\n bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition];\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector;\\n ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint96(selectorPosition);\\n }\\n // delete the last selector\\n ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();\\n delete ds.selectorToFacetAndPosition[_selector];\\n\\n // if no more selectors for facet address then delete the facet address\\n if (lastSelectorPosition == 0) {\\n // replace facet address with last facet address and delete last facet address\\n uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;\\n uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n if (facetAddressPosition != lastFacetAddressPosition) {\\n address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition];\\n ds.facetAddresses[facetAddressPosition] = lastFacetAddress;\\n ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = facetAddressPosition;\\n }\\n ds.facetAddresses.pop();\\n delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition;\\n }\\n }\\n\\n function initializeDiamondCut(address _init, bytes memory _calldata) internal {\\n if (_init == address(0)) {\\n require(_calldata.length == 0, \\\"LibDiamondCut: _init is address(0) but_calldata is not empty\\\");\\n } else {\\n require(_calldata.length > 0, \\\"LibDiamondCut: _calldata is empty but _init is not address(0)\\\");\\n if (_init != address(this)) {\\n enforceHasContractCode(_init, \\\"LibDiamondCut: _init address has no code\\\");\\n }\\n (bool success, bytes memory error) = _init.delegatecall(_calldata);\\n if (!success) {\\n if (error.length > 0) {\\n // bubble up the error\\n revert(string(error));\\n } else {\\n revert(\\\"LibDiamondCut: _init function reverted\\\");\\n }\\n }\\n }\\n }\\n\\n function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {\\n uint256 contractSize;\\n assembly {\\n contractSize := extcodesize(_contract)\\n }\\n require(contractSize > 0, _errorMessage);\\n }\\n}\\n\"\n },\n \"solc_0.8/diamond/UsingDiamondOwner.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"./libraries/LibDiamond.sol\\\";\\n\\ncontract UsingDiamondOwner {\\n modifier onlyOwner() {\\n LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();\\n require(msg.sender == ds.contractOwner, \\\"Only owner is allowed to perform this action\\\");\\n _;\\n }\\n}\\n\"\n },\n \"solc_0.8/openzeppelin/access/Ownable.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/Context.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract Ownable is Context {\\n address private _owner;\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /**\\n * @dev Initializes the contract setting the deployer as the initial owner.\\n */\\n constructor (address initialOwner) {\\n _transferOwnership(initialOwner);\\n }\\n\\n /**\\n * @dev Returns the address of the current owner.\\n */\\n function owner() public view virtual returns (address) {\\n return _owner;\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the owner.\\n */\\n modifier onlyOwner() {\\n require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n _;\\n }\\n\\n /**\\n * @dev Leaves the contract without owner. It will not be possible to call\\n * `onlyOwner` functions anymore. Can only be called by the current owner.\\n *\\n * NOTE: Renouncing ownership will leave the contract without an owner,\\n * thereby removing any functionality that is only available to the owner.\\n */\\n function renounceOwnership() public virtual onlyOwner {\\n _transferOwnership(address(0));\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Can only be called by the current owner.\\n */\\n function transferOwnership(address newOwner) public virtual onlyOwner {\\n require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n _transferOwnership(newOwner);\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Internal function without access restriction.\\n */\\n function _transferOwnership(address newOwner) internal virtual {\\n address oldOwner = _owner;\\n _owner = newOwner;\\n emit OwnershipTransferred(oldOwner, newOwner);\\n }\\n}\\n\"\n },\n \"solc_0.8/openzeppelin/interfaces/draft-IERC1822.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (interfaces/draft-IERC1822.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\\n * proxy whose upgrades are fully controlled by the current implementation.\\n */\\ninterface IERC1822Proxiable {\\n /**\\n * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\\n * address.\\n *\\n * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\\n * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\\n * function revert if invoked through a proxy.\\n */\\n function proxiableUUID() external view returns (bytes32);\\n}\\n\"\n },\n \"solc_0.8/openzeppelin/proxy/beacon/BeaconProxy.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (proxy/beacon/BeaconProxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IBeacon.sol\\\";\\nimport \\\"../Proxy.sol\\\";\\nimport \\\"../ERC1967/ERC1967Upgrade.sol\\\";\\n\\n/**\\n * @dev This contract implements a proxy that gets the implementation address for each call from a {UpgradeableBeacon}.\\n *\\n * The beacon address is stored in storage slot `uint256(keccak256('eip1967.proxy.beacon')) - 1`, so that it doesn't\\n * conflict with the storage layout of the implementation behind the proxy.\\n *\\n * _Available since v3.4._\\n */\\ncontract BeaconProxy is Proxy, ERC1967Upgrade {\\n /**\\n * @dev Initializes the proxy with `beacon`.\\n *\\n * If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon. This\\n * will typically be an encoded function call, and allows initializating the storage of the proxy like a Solidity\\n * constructor.\\n *\\n * Requirements:\\n *\\n * - `beacon` must be a contract with the interface {IBeacon}.\\n */\\n constructor(address beacon, bytes memory data) payable {\\n assert(_BEACON_SLOT == bytes32(uint256(keccak256(\\\"eip1967.proxy.beacon\\\")) - 1));\\n _upgradeBeaconToAndCall(beacon, data, false);\\n }\\n\\n /**\\n * @dev Returns the current beacon address.\\n */\\n function _beacon() internal view virtual returns (address) {\\n return _getBeacon();\\n }\\n\\n /**\\n * @dev Returns the current implementation address of the associated beacon.\\n */\\n function _implementation() internal view virtual override returns (address) {\\n return IBeacon(_getBeacon()).implementation();\\n }\\n\\n /**\\n * @dev Changes the proxy to use a new beacon. Deprecated: see {_upgradeBeaconToAndCall}.\\n *\\n * If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon.\\n *\\n * Requirements:\\n *\\n * - `beacon` must be a contract.\\n * - The implementation returned by `beacon` must be a contract.\\n */\\n function _setBeacon(address beacon, bytes memory data) internal virtual {\\n _upgradeBeaconToAndCall(beacon, data, false);\\n }\\n}\\n\"\n },\n \"solc_0.8/openzeppelin/proxy/beacon/IBeacon.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\\n */\\ninterface IBeacon {\\n /**\\n * @dev Must return an address that can be used as a delegate call target.\\n *\\n * {BeaconProxy} will check that this address is a contract.\\n */\\n function implementation() external view returns (address);\\n}\\n\"\n },\n \"solc_0.8/openzeppelin/proxy/beacon/UpgradeableBeacon.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (proxy/beacon/UpgradeableBeacon.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IBeacon.sol\\\";\\nimport \\\"../../access/Ownable.sol\\\";\\nimport \\\"../../utils/Address.sol\\\";\\n\\n/**\\n * @dev This contract is used in conjunction with one or more instances of {BeaconProxy} to determine their\\n * implementation contract, which is where they will delegate all function calls.\\n *\\n * An owner is able to change the implementation the beacon points to, thus upgrading the proxies that use this beacon.\\n */\\ncontract UpgradeableBeacon is IBeacon, Ownable {\\n address private _implementation;\\n\\n /**\\n * @dev Emitted when the implementation returned by the beacon is changed.\\n */\\n event Upgraded(address indexed implementation);\\n\\n /**\\n * @dev Sets the address of the initial implementation, and the deployer account as the owner who can upgrade the\\n * beacon.\\n */\\n\\n constructor(address implementation_, address initialOwner) Ownable(initialOwner) {\\n _setImplementation(implementation_);\\n }\\n\\n /**\\n * @dev Returns the current implementation address.\\n */\\n function implementation() public view virtual override returns (address) {\\n return _implementation;\\n }\\n\\n /**\\n * @dev Upgrades the beacon to a new implementation.\\n *\\n * Emits an {Upgraded} event.\\n *\\n * Requirements:\\n *\\n * - msg.sender must be the owner of the contract.\\n * - `newImplementation` must be a contract.\\n */\\n function upgradeTo(address newImplementation) public virtual onlyOwner {\\n _setImplementation(newImplementation);\\n emit Upgraded(newImplementation);\\n }\\n\\n /**\\n * @dev Sets the implementation contract address for this beacon\\n *\\n * Requirements:\\n *\\n * - `newImplementation` must be a contract.\\n */\\n function _setImplementation(address newImplementation) private {\\n require(Address.isContract(newImplementation), \\\"UpgradeableBeacon: implementation is not a contract\\\");\\n _implementation = newImplementation;\\n }\\n}\\n\"\n },\n \"solc_0.8/openzeppelin/proxy/Clones.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (proxy/Clones.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev https://eips.ethereum.org/EIPS/eip-1167[EIP 1167] is a standard for\\n * deploying minimal proxy contracts, also known as \\\"clones\\\".\\n *\\n * > To simply and cheaply clone contract functionality in an immutable way, this standard specifies\\n * > a minimal bytecode implementation that delegates all calls to a known, fixed address.\\n *\\n * The library includes functions to deploy a proxy using either `create` (traditional deployment) or `create2`\\n * (salted deterministic deployment). It also includes functions to predict the addresses of clones deployed using the\\n * deterministic method.\\n *\\n * _Available since v3.4._\\n */\\nlibrary Clones {\\n /**\\n * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`.\\n *\\n * This function uses the create opcode, which should never revert.\\n */\\n function clone(address implementation) internal returns (address instance) {\\n assembly {\\n let ptr := mload(0x40)\\n mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000)\\n mstore(add(ptr, 0x14), shl(0x60, implementation))\\n mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000)\\n instance := create(0, ptr, 0x37)\\n }\\n require(instance != address(0), \\\"ERC1167: create failed\\\");\\n }\\n\\n /**\\n * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`.\\n *\\n * This function uses the create2 opcode and a `salt` to deterministically deploy\\n * the clone. Using the same `implementation` and `salt` multiple time will revert, since\\n * the clones cannot be deployed twice at the same address.\\n */\\n function cloneDeterministic(address implementation, bytes32 salt) internal returns (address instance) {\\n assembly {\\n let ptr := mload(0x40)\\n mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000)\\n mstore(add(ptr, 0x14), shl(0x60, implementation))\\n mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000)\\n instance := create2(0, ptr, 0x37, salt)\\n }\\n require(instance != address(0), \\\"ERC1167: create2 failed\\\");\\n }\\n\\n /**\\n * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}.\\n */\\n function predictDeterministicAddress(\\n address implementation,\\n bytes32 salt,\\n address deployer\\n ) internal pure returns (address predicted) {\\n assembly {\\n let ptr := mload(0x40)\\n mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000)\\n mstore(add(ptr, 0x14), shl(0x60, implementation))\\n mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf3ff00000000000000000000000000000000)\\n mstore(add(ptr, 0x38), shl(0x60, deployer))\\n mstore(add(ptr, 0x4c), salt)\\n mstore(add(ptr, 0x6c), keccak256(ptr, 0x37))\\n predicted := keccak256(add(ptr, 0x37), 0x55)\\n }\\n }\\n\\n /**\\n * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}.\\n */\\n function predictDeterministicAddress(address implementation, bytes32 salt)\\n internal\\n view\\n returns (address predicted)\\n {\\n return predictDeterministicAddress(implementation, salt, address(this));\\n }\\n}\\n\"\n },\n \"solc_0.8/openzeppelin/proxy/ERC1967/ERC1967Proxy.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (proxy/ERC1967/ERC1967Proxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../Proxy.sol\\\";\\nimport \\\"./ERC1967Upgrade.sol\\\";\\n\\n/**\\n * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an\\n * implementation address that can be changed. This address is stored in storage in the location specified by\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the\\n * implementation behind the proxy.\\n */\\ncontract ERC1967Proxy is Proxy, ERC1967Upgrade {\\n /**\\n * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`.\\n *\\n * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded\\n * function call, and allows initializating the storage of the proxy like a Solidity constructor.\\n */\\n constructor(address _logic, bytes memory _data) payable {\\n assert(_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256(\\\"eip1967.proxy.implementation\\\")) - 1));\\n _upgradeToAndCall(_logic, _data, false);\\n }\\n\\n /**\\n * @dev Returns the current implementation address.\\n */\\n function _implementation() internal view virtual override returns (address impl) {\\n return ERC1967Upgrade._getImplementation();\\n }\\n}\\n\"\n },\n \"solc_0.8/openzeppelin/proxy/ERC1967/ERC1967Upgrade.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (proxy/ERC1967/ERC1967Upgrade.sol)\\n\\npragma solidity ^0.8.2;\\n\\nimport \\\"../beacon/IBeacon.sol\\\";\\nimport \\\"../../interfaces/draft-IERC1822.sol\\\";\\nimport \\\"../../utils/Address.sol\\\";\\nimport \\\"../../utils/StorageSlot.sol\\\";\\n\\n/**\\n * @dev This abstract contract provides getters and event emitting update functions for\\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\\n *\\n * _Available since v4.1._\\n *\\n * @custom:oz-upgrades-unsafe-allow delegatecall\\n */\\nabstract contract ERC1967Upgrade {\\n // This is the keccak-256 hash of \\\"eip1967.proxy.rollback\\\" subtracted by 1\\n bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;\\n\\n /**\\n * @dev Storage slot with the address of the current implementation.\\n * This is the keccak-256 hash of \\\"eip1967.proxy.implementation\\\" subtracted by 1, and is\\n * validated in the constructor.\\n */\\n bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n\\n /**\\n * @dev Emitted when the implementation is upgraded.\\n */\\n event Upgraded(address indexed implementation);\\n\\n /**\\n * @dev Returns the current implementation address.\\n */\\n function _getImplementation() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new address in the EIP1967 implementation slot.\\n */\\n function _setImplementation(address newImplementation) private {\\n require(Address.isContract(newImplementation), \\\"ERC1967: new implementation is not a contract\\\");\\n StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n }\\n\\n /**\\n * @dev Perform implementation upgrade\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeTo(address newImplementation) internal {\\n _setImplementation(newImplementation);\\n emit Upgraded(newImplementation);\\n }\\n\\n /**\\n * @dev Perform implementation upgrade with additional setup call.\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeToAndCall(\\n address newImplementation,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n _upgradeTo(newImplementation);\\n if (data.length > 0 || forceCall) {\\n Address.functionDelegateCall(newImplementation, data);\\n }\\n }\\n\\n /**\\n * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.\\n *\\n * Emits an {Upgraded} event.\\n */\\n function _upgradeToAndCallUUPS(\\n address newImplementation,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n // Upgrades from old implementations will perform a rollback test. This test requires the new\\n // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing\\n // this special case will break upgrade paths from old UUPS implementation to new ones.\\n if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) {\\n _setImplementation(newImplementation);\\n } else {\\n try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\\n require(slot == _IMPLEMENTATION_SLOT, \\\"ERC1967Upgrade: unsupported proxiableUUID\\\");\\n } catch {\\n revert(\\\"ERC1967Upgrade: new implementation is not UUPS\\\");\\n }\\n _upgradeToAndCall(newImplementation, data, forceCall);\\n }\\n }\\n\\n /**\\n * @dev Storage slot with the admin of the contract.\\n * This is the keccak-256 hash of \\\"eip1967.proxy.admin\\\" subtracted by 1, and is\\n * validated in the constructor.\\n */\\n bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\\n\\n /**\\n * @dev Emitted when the admin account has changed.\\n */\\n event AdminChanged(address previousAdmin, address newAdmin);\\n\\n /**\\n * @dev Returns the current admin.\\n */\\n function _getAdmin() internal view virtual returns (address) {\\n return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new address in the EIP1967 admin slot.\\n */\\n function _setAdmin(address newAdmin) private {\\n require(newAdmin != address(0), \\\"ERC1967: new admin is the zero address\\\");\\n StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;\\n }\\n\\n /**\\n * @dev Changes the admin of the proxy.\\n *\\n * Emits an {AdminChanged} event.\\n */\\n function _changeAdmin(address newAdmin) internal {\\n emit AdminChanged(_getAdmin(), newAdmin);\\n _setAdmin(newAdmin);\\n }\\n\\n /**\\n * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\\n * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.\\n */\\n bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\\n\\n /**\\n * @dev Emitted when the beacon is upgraded.\\n */\\n event BeaconUpgraded(address indexed beacon);\\n\\n /**\\n * @dev Returns the current beacon.\\n */\\n function _getBeacon() internal view returns (address) {\\n return StorageSlot.getAddressSlot(_BEACON_SLOT).value;\\n }\\n\\n /**\\n * @dev Stores a new beacon in the EIP1967 beacon slot.\\n */\\n function _setBeacon(address newBeacon) private {\\n require(Address.isContract(newBeacon), \\\"ERC1967: new beacon is not a contract\\\");\\n require(Address.isContract(IBeacon(newBeacon).implementation()), \\\"ERC1967: beacon implementation is not a contract\\\");\\n StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;\\n }\\n\\n /**\\n * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does\\n * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).\\n *\\n * Emits a {BeaconUpgraded} event.\\n */\\n function _upgradeBeaconToAndCall(\\n address newBeacon,\\n bytes memory data,\\n bool forceCall\\n ) internal {\\n _setBeacon(newBeacon);\\n emit BeaconUpgraded(newBeacon);\\n if (data.length > 0 || forceCall) {\\n Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\\n }\\n }\\n}\\n\"\n },\n \"solc_0.8/openzeppelin/proxy/Proxy.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (proxy/Proxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM\\n * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to\\n * be specified by overriding the virtual {_implementation} function.\\n *\\n * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a\\n * different contract through the {_delegate} function.\\n *\\n * The success and return data of the delegated call will be returned back to the caller of the proxy.\\n */\\nabstract contract Proxy {\\n /**\\n * @dev Delegates the current call to `implementation`.\\n *\\n * This function does not return to its internal call site, it will return directly to the external caller.\\n */\\n function _delegate(address implementation) internal virtual {\\n assembly {\\n // Copy msg.data. We take full control of memory in this inline assembly\\n // block because it will not return to Solidity code. We overwrite the\\n // Solidity scratch pad at memory position 0.\\n calldatacopy(0, 0, calldatasize())\\n\\n // Call the implementation.\\n // out and outsize are 0 because we don't know the size yet.\\n let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)\\n\\n // Copy the returned data.\\n returndatacopy(0, 0, returndatasize())\\n\\n switch result\\n // delegatecall returns 0 on error.\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n /**\\n * @dev This is a virtual function that should be overriden so it returns the address to which the fallback function\\n * and {_fallback} should delegate.\\n */\\n function _implementation() internal view virtual returns (address);\\n\\n /**\\n * @dev Delegates the current call to the address returned by `_implementation()`.\\n *\\n * This function does not return to its internall call site, it will return directly to the external caller.\\n */\\n function _fallback() internal virtual {\\n _beforeFallback();\\n _delegate(_implementation());\\n }\\n\\n /**\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other\\n * function in the contract matches the call data.\\n */\\n fallback() external payable virtual {\\n _fallback();\\n }\\n\\n /**\\n * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data\\n * is empty.\\n */\\n receive() external payable virtual {\\n _fallback();\\n }\\n\\n /**\\n * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`\\n * call, or as part of the Solidity `fallback` or `receive` functions.\\n *\\n * If overriden should call `super._beforeFallback()`.\\n */\\n function _beforeFallback() internal virtual {}\\n}\\n\"\n },\n \"solc_0.8/openzeppelin/proxy/transparent/ProxyAdmin.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (proxy/transparent/ProxyAdmin.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./TransparentUpgradeableProxy.sol\\\";\\nimport \\\"../../access/Ownable.sol\\\";\\n\\n/**\\n * @dev This is an auxiliary contract meant to be assigned as the admin of a {TransparentUpgradeableProxy}. For an\\n * explanation of why you would want to use this see the documentation for {TransparentUpgradeableProxy}.\\n */\\ncontract ProxyAdmin is Ownable {\\n\\n constructor (address initialOwner) Ownable(initialOwner) {}\\n\\n /**\\n * @dev Returns the current implementation of `proxy`.\\n *\\n * Requirements:\\n *\\n * - This contract must be the admin of `proxy`.\\n */\\n function getProxyImplementation(TransparentUpgradeableProxy proxy) public view virtual returns (address) {\\n // We need to manually run the static call since the getter cannot be flagged as view\\n // bytes4(keccak256(\\\"implementation()\\\")) == 0x5c60da1b\\n (bool success, bytes memory returndata) = address(proxy).staticcall(hex\\\"5c60da1b\\\");\\n require(success);\\n return abi.decode(returndata, (address));\\n }\\n\\n /**\\n * @dev Returns the current admin of `proxy`.\\n *\\n * Requirements:\\n *\\n * - This contract must be the admin of `proxy`.\\n */\\n function getProxyAdmin(TransparentUpgradeableProxy proxy) public view virtual returns (address) {\\n // We need to manually run the static call since the getter cannot be flagged as view\\n // bytes4(keccak256(\\\"admin()\\\")) == 0xf851a440\\n (bool success, bytes memory returndata) = address(proxy).staticcall(hex\\\"f851a440\\\");\\n require(success);\\n return abi.decode(returndata, (address));\\n }\\n\\n /**\\n * @dev Changes the admin of `proxy` to `newAdmin`.\\n *\\n * Requirements:\\n *\\n * - This contract must be the current admin of `proxy`.\\n */\\n function changeProxyAdmin(TransparentUpgradeableProxy proxy, address newAdmin) public virtual onlyOwner {\\n proxy.changeAdmin(newAdmin);\\n }\\n\\n /**\\n * @dev Upgrades `proxy` to `implementation`. See {TransparentUpgradeableProxy-upgradeTo}.\\n *\\n * Requirements:\\n *\\n * - This contract must be the admin of `proxy`.\\n */\\n function upgrade(TransparentUpgradeableProxy proxy, address implementation) public virtual onlyOwner {\\n proxy.upgradeTo(implementation);\\n }\\n\\n /**\\n * @dev Upgrades `proxy` to `implementation` and calls a function on the new implementation. See\\n * {TransparentUpgradeableProxy-upgradeToAndCall}.\\n *\\n * Requirements:\\n *\\n * - This contract must be the admin of `proxy`.\\n */\\n function upgradeAndCall(\\n TransparentUpgradeableProxy proxy,\\n address implementation,\\n bytes memory data\\n ) public payable virtual onlyOwner {\\n proxy.upgradeToAndCall{value: msg.value}(implementation, data);\\n }\\n}\\n\"\n },\n \"solc_0.8/openzeppelin/proxy/transparent/TransparentUpgradeableProxy.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (proxy/transparent/TransparentUpgradeableProxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../ERC1967/ERC1967Proxy.sol\\\";\\n\\n/**\\n * @dev This contract implements a proxy that is upgradeable by an admin.\\n *\\n * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector\\n * clashing], which can potentially be used in an attack, this contract uses the\\n * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two\\n * things that go hand in hand:\\n *\\n * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if\\n * that call matches one of the admin functions exposed by the proxy itself.\\n * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the\\n * implementation. If the admin tries to call a function on the implementation it will fail with an error that says\\n * \\\"admin cannot fallback to proxy target\\\".\\n *\\n * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing\\n * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due\\n * to sudden errors when trying to call a function from the proxy implementation.\\n *\\n * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way,\\n * you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.\\n */\\ncontract TransparentUpgradeableProxy is ERC1967Proxy {\\n /**\\n * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and\\n * optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}.\\n */\\n constructor(\\n address _logic,\\n address admin_,\\n bytes memory _data\\n ) payable ERC1967Proxy(_logic, _data) {\\n assert(_ADMIN_SLOT == bytes32(uint256(keccak256(\\\"eip1967.proxy.admin\\\")) - 1));\\n _changeAdmin(admin_);\\n }\\n\\n /**\\n * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin.\\n */\\n modifier ifAdmin() {\\n if (msg.sender == _getAdmin()) {\\n _;\\n } else {\\n _fallback();\\n }\\n }\\n\\n /**\\n * @dev Returns the current admin.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}.\\n *\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\\n */\\n function admin() external ifAdmin returns (address admin_) {\\n admin_ = _getAdmin();\\n }\\n\\n /**\\n * @dev Returns the current implementation.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}.\\n *\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`\\n */\\n function implementation() external ifAdmin returns (address implementation_) {\\n implementation_ = _implementation();\\n }\\n\\n /**\\n * @dev Changes the admin of the proxy.\\n *\\n * Emits an {AdminChanged} event.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-changeProxyAdmin}.\\n */\\n function changeAdmin(address newAdmin) external virtual ifAdmin {\\n _changeAdmin(newAdmin);\\n }\\n\\n /**\\n * @dev Upgrade the implementation of the proxy.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}.\\n */\\n function upgradeTo(address newImplementation) external ifAdmin {\\n _upgradeToAndCall(newImplementation, bytes(\\\"\\\"), false);\\n }\\n\\n /**\\n * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified\\n * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the\\n * proxied contract.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}.\\n */\\n function upgradeToAndCall(address newImplementation, bytes calldata data) external payable ifAdmin {\\n _upgradeToAndCall(newImplementation, data, true);\\n }\\n\\n /**\\n * @dev Returns the current admin.\\n */\\n function _admin() internal view virtual returns (address) {\\n return _getAdmin();\\n }\\n\\n /**\\n * @dev Makes sure the admin cannot access the fallback function. See {Proxy-_beforeFallback}.\\n */\\n function _beforeFallback() internal virtual override {\\n require(msg.sender != _getAdmin(), \\\"TransparentUpgradeableProxy: admin cannot fallback to proxy target\\\");\\n super._beforeFallback();\\n }\\n}\\n\"\n },\n \"solc_0.8/openzeppelin/proxy/utils/Initializable.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (proxy/utils/Initializable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../../utils/Address.sol\\\";\\n\\n/**\\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\\n *\\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\\n *\\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\\n *\\n * [CAUTION]\\n * ====\\n * Avoid leaving a contract uninitialized.\\n *\\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\\n * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the\\n * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed:\\n *\\n * [.hljs-theme-light.nopadding]\\n * ```\\n * /// @custom:oz-upgrades-unsafe-allow constructor\\n * constructor() initializer {}\\n * ```\\n * ====\\n */\\nabstract contract Initializable {\\n /**\\n * @dev Indicates that the contract has been initialized.\\n */\\n bool private _initialized;\\n\\n /**\\n * @dev Indicates that the contract is in the process of being initialized.\\n */\\n bool private _initializing;\\n\\n /**\\n * @dev Modifier to protect an initializer function from being invoked twice.\\n */\\n modifier initializer() {\\n // If the contract is initializing we ignore whether _initialized is set in order to support multiple\\n // inheritance patterns, but we only do this in the context of a constructor, because in other contexts the\\n // contract may have been reentered.\\n require(_initializing ? _isConstructor() : !_initialized, \\\"Initializable: contract is already initialized\\\");\\n\\n bool isTopLevelCall = !_initializing;\\n if (isTopLevelCall) {\\n _initializing = true;\\n _initialized = true;\\n }\\n\\n _;\\n\\n if (isTopLevelCall) {\\n _initializing = false;\\n }\\n }\\n\\n /**\\n * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\\n * {initializer} modifier, directly or indirectly.\\n */\\n modifier onlyInitializing() {\\n require(_initializing, \\\"Initializable: contract is not initializing\\\");\\n _;\\n }\\n\\n function _isConstructor() private view returns (bool) {\\n return !Address.isContract(address(this));\\n }\\n}\\n\"\n },\n \"solc_0.8/openzeppelin/proxy/utils/UUPSUpgradeable.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (proxy/utils/UUPSUpgradeable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../../interfaces/draft-IERC1822.sol\\\";\\nimport \\\"../ERC1967/ERC1967Upgrade.sol\\\";\\n\\n/**\\n * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an\\n * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.\\n *\\n * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is\\n * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing\\n * `UUPSUpgradeable` with a custom implementation of upgrades.\\n *\\n * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.\\n *\\n * _Available since v4.1._\\n */\\nabstract contract UUPSUpgradeable is IERC1822Proxiable, ERC1967Upgrade {\\n /// @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment\\n address private immutable __self = address(this);\\n\\n /**\\n * @dev Check that the execution is being performed through a delegatecall call and that the execution context is\\n * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case\\n * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a\\n * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to\\n * fail.\\n */\\n modifier onlyProxy() {\\n require(address(this) != __self, \\\"Function must be called through delegatecall\\\");\\n require(_getImplementation() == __self, \\\"Function must be called through active proxy\\\");\\n _;\\n }\\n\\n /**\\n * @dev Check that the execution is not being performed through a delegate call. This allows a function to be\\n * callable on the implementing contract but not through proxies.\\n */\\n modifier notDelegated() {\\n require(address(this) == __self, \\\"UUPSUpgradeable: must not be called through delegatecall\\\");\\n _;\\n }\\n\\n /**\\n * @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the\\n * implementation. It is used to validate that the this implementation remains valid after an upgrade.\\n *\\n * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\\n * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\\n * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\\n */\\n function proxiableUUID() external view virtual override notDelegated returns (bytes32) {\\n return _IMPLEMENTATION_SLOT;\\n }\\n\\n /**\\n * @dev Upgrade the implementation of the proxy to `newImplementation`.\\n *\\n * Calls {_authorizeUpgrade}.\\n *\\n * Emits an {Upgraded} event.\\n */\\n function upgradeTo(address newImplementation) external virtual onlyProxy {\\n _authorizeUpgrade(newImplementation);\\n _upgradeToAndCallUUPS(newImplementation, new bytes(0), false);\\n }\\n\\n /**\\n * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call\\n * encoded in `data`.\\n *\\n * Calls {_authorizeUpgrade}.\\n *\\n * Emits an {Upgraded} event.\\n */\\n function upgradeToAndCall(address newImplementation, bytes memory data) external payable virtual onlyProxy {\\n _authorizeUpgrade(newImplementation);\\n _upgradeToAndCallUUPS(newImplementation, data, true);\\n }\\n\\n /**\\n * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by\\n * {upgradeTo} and {upgradeToAndCall}.\\n *\\n * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.\\n *\\n * ```solidity\\n * function _authorizeUpgrade(address) internal override onlyOwner {}\\n * ```\\n */\\n function _authorizeUpgrade(address newImplementation) internal virtual;\\n}\\n\"\n },\n \"solc_0.8/openzeppelin/utils/Address.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n *\\n * [IMPORTANT]\\n * ====\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n *\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n * constructor.\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize/address.code.length, which returns 0\\n // for contracts in construction, since the code is only stored at the end\\n // of the constructor execution.\\n\\n return account.code.length > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain `call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(isContract(target), \\\"Address: delegate call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\\n * revert reason using the provided one.\\n *\\n * _Available since v4.3._\\n */\\n function verifyCallResult(\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal pure returns (bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\"\n },\n \"solc_0.8/openzeppelin/utils/Context.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n function _msgSender() internal view virtual returns (address) {\\n return msg.sender;\\n }\\n\\n function _msgData() internal view virtual returns (bytes calldata) {\\n return msg.data;\\n }\\n}\\n\"\n },\n \"solc_0.8/openzeppelin/utils/introspection/ERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IERC165.sol\\\";\\n\\n/**\\n * @dev Implementation of the {IERC165} interface.\\n *\\n * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check\\n * for the additional interface id that will be supported. For example:\\n *\\n * ```solidity\\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\n * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\\n * }\\n * ```\\n *\\n * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.\\n */\\nabstract contract ERC165 is IERC165 {\\n /**\\n * @dev See {IERC165-supportsInterface}.\\n */\\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\n return interfaceId == type(IERC165).interfaceId;\\n }\\n}\\n\"\n },\n \"solc_0.8/openzeppelin/utils/introspection/ERC165Checker.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165Checker.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./IERC165.sol\\\";\\n\\n/**\\n * @dev Library used to query support of an interface declared via {IERC165}.\\n *\\n * Note that these functions return the actual result of the query: they do not\\n * `revert` if an interface is not supported. It is up to the caller to decide\\n * what to do in these cases.\\n */\\nlibrary ERC165Checker {\\n // As per the EIP-165 spec, no interface should ever match 0xffffffff\\n bytes4 private constant _INTERFACE_ID_INVALID = 0xffffffff;\\n\\n /**\\n * @dev Returns true if `account` supports the {IERC165} interface,\\n */\\n function supportsERC165(address account) internal view returns (bool) {\\n // Any contract that implements ERC165 must explicitly indicate support of\\n // InterfaceId_ERC165 and explicitly indicate non-support of InterfaceId_Invalid\\n return\\n _supportsERC165Interface(account, type(IERC165).interfaceId) &&\\n !_supportsERC165Interface(account, _INTERFACE_ID_INVALID);\\n }\\n\\n /**\\n * @dev Returns true if `account` supports the interface defined by\\n * `interfaceId`. Support for {IERC165} itself is queried automatically.\\n *\\n * See {IERC165-supportsInterface}.\\n */\\n function supportsInterface(address account, bytes4 interfaceId) internal view returns (bool) {\\n // query support of both ERC165 as per the spec and support of _interfaceId\\n return supportsERC165(account) && _supportsERC165Interface(account, interfaceId);\\n }\\n\\n /**\\n * @dev Returns a boolean array where each value corresponds to the\\n * interfaces passed in and whether they're supported or not. This allows\\n * you to batch check interfaces for a contract where your expectation\\n * is that some interfaces may not be supported.\\n *\\n * See {IERC165-supportsInterface}.\\n *\\n * _Available since v3.4._\\n */\\n function getSupportedInterfaces(address account, bytes4[] memory interfaceIds)\\n internal\\n view\\n returns (bool[] memory)\\n {\\n // an array of booleans corresponding to interfaceIds and whether they're supported or not\\n bool[] memory interfaceIdsSupported = new bool[](interfaceIds.length);\\n\\n // query support of ERC165 itself\\n if (supportsERC165(account)) {\\n // query support of each interface in interfaceIds\\n for (uint256 i = 0; i < interfaceIds.length; i++) {\\n interfaceIdsSupported[i] = _supportsERC165Interface(account, interfaceIds[i]);\\n }\\n }\\n\\n return interfaceIdsSupported;\\n }\\n\\n /**\\n * @dev Returns true if `account` supports all the interfaces defined in\\n * `interfaceIds`. Support for {IERC165} itself is queried automatically.\\n *\\n * Batch-querying can lead to gas savings by skipping repeated checks for\\n * {IERC165} support.\\n *\\n * See {IERC165-supportsInterface}.\\n */\\n function supportsAllInterfaces(address account, bytes4[] memory interfaceIds) internal view returns (bool) {\\n // query support of ERC165 itself\\n if (!supportsERC165(account)) {\\n return false;\\n }\\n\\n // query support of each interface in _interfaceIds\\n for (uint256 i = 0; i < interfaceIds.length; i++) {\\n if (!_supportsERC165Interface(account, interfaceIds[i])) {\\n return false;\\n }\\n }\\n\\n // all interfaces supported\\n return true;\\n }\\n\\n /**\\n * @notice Query if a contract implements an interface, does not check ERC165 support\\n * @param account The address of the contract to query for support of an interface\\n * @param interfaceId The interface identifier, as specified in ERC-165\\n * @return true if the contract at account indicates support of the interface with\\n * identifier interfaceId, false otherwise\\n * @dev Assumes that account contains a contract that supports ERC165, otherwise\\n * the behavior of this method is undefined. This precondition can be checked\\n * with {supportsERC165}.\\n * Interface identification is specified in ERC-165.\\n */\\n function _supportsERC165Interface(address account, bytes4 interfaceId) private view returns (bool) {\\n bytes memory encodedParams = abi.encodeWithSelector(IERC165.supportsInterface.selector, interfaceId);\\n (bool success, bytes memory result) = account.staticcall{gas: 30000}(encodedParams);\\n if (result.length < 32) return false;\\n return success && abi.decode(result, (bool));\\n }\\n}\\n\"\n },\n \"solc_0.8/openzeppelin/utils/introspection/ERC165Storage.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165Storage.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./ERC165.sol\\\";\\n\\n/**\\n * @dev Storage based implementation of the {IERC165} interface.\\n *\\n * Contracts may inherit from this and call {_registerInterface} to declare\\n * their support of an interface.\\n */\\nabstract contract ERC165Storage is ERC165 {\\n /**\\n * @dev Mapping of interface ids to whether or not it's supported.\\n */\\n mapping(bytes4 => bool) private _supportedInterfaces;\\n\\n /**\\n * @dev See {IERC165-supportsInterface}.\\n */\\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\\n return super.supportsInterface(interfaceId) || _supportedInterfaces[interfaceId];\\n }\\n\\n /**\\n * @dev Registers the contract as an implementer of the interface defined by\\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\\n * registering its interface id is not required.\\n *\\n * See {IERC165-supportsInterface}.\\n *\\n * Requirements:\\n *\\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\\n */\\n function _registerInterface(bytes4 interfaceId) internal virtual {\\n require(interfaceId != 0xffffffff, \\\"ERC165: invalid interface id\\\");\\n _supportedInterfaces[interfaceId] = true;\\n }\\n}\\n\"\n },\n \"solc_0.8/openzeppelin/utils/introspection/IERC165.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC165 standard, as defined in the\\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\\n *\\n * Implementers can declare support of contract interfaces, which can then be\\n * queried by others ({ERC165Checker}).\\n *\\n * For an implementation, see {ERC165}.\\n */\\ninterface IERC165 {\\n /**\\n * @dev Returns true if this contract implements the interface defined by\\n * `interfaceId`. See the corresponding\\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\\n * to learn more about how these ids are created.\\n *\\n * This function call must use less than 30 000 gas.\\n */\\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\"\n },\n \"solc_0.8/openzeppelin/utils/StorageSlot.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/StorageSlot.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Library for reading and writing primitive types to specific storage slots.\\n *\\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\\n * This library helps with reading and writing to such slots without the need for inline assembly.\\n *\\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\\n *\\n * Example usage to set ERC1967 implementation slot:\\n * ```\\n * contract ERC1967 {\\n * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n *\\n * function _getImplementation() internal view returns (address) {\\n * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\n * }\\n *\\n * function _setImplementation(address newImplementation) internal {\\n * require(Address.isContract(newImplementation), \\\"ERC1967: new implementation is not a contract\\\");\\n * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n * }\\n * }\\n * ```\\n *\\n * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._\\n */\\nlibrary StorageSlot {\\n struct AddressSlot {\\n address value;\\n }\\n\\n struct BooleanSlot {\\n bool value;\\n }\\n\\n struct Bytes32Slot {\\n bytes32 value;\\n }\\n\\n struct Uint256Slot {\\n uint256 value;\\n }\\n\\n /**\\n * @dev Returns an `AddressSlot` with member `value` located at `slot`.\\n */\\n function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\\n */\\n function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\\n */\\n function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\\n */\\n function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\\n assembly {\\n r.slot := slot\\n }\\n }\\n}\\n\"\n },\n \"solc_0.8/proxy/EIP173Proxy.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"./Proxy.sol\\\";\\n\\ninterface ERC165 {\\n function supportsInterface(bytes4 id) external view returns (bool);\\n}\\n\\n///@notice Proxy implementing EIP173 for ownership management\\ncontract EIP173Proxy is Proxy {\\n // ////////////////////////// EVENTS ///////////////////////////////////////////////////////////////////////\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n // /////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////////////\\n\\n constructor(\\n address implementationAddress,\\n address ownerAddress,\\n bytes memory data\\n ) payable {\\n _setOwner(ownerAddress);\\n _setImplementation(implementationAddress, data);\\n }\\n\\n // ///////////////////// EXTERNAL ///////////////////////////////////////////////////////////////////////////\\n\\n function owner() external view returns (address) {\\n return _owner();\\n }\\n\\n function supportsInterface(bytes4 id) external view returns (bool) {\\n if (id == 0x01ffc9a7 || id == 0x7f5828d0) {\\n return true;\\n }\\n if (id == 0xFFFFFFFF) {\\n return false;\\n }\\n\\n ERC165 implementation;\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n implementation := sload(0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc)\\n }\\n\\n // Technically this is not standard compliant as ERC-165 require 30,000 gas which that call cannot ensure\\n // because it is itself inside `supportsInterface` that might only get 30,000 gas.\\n // In practise this is unlikely to be an issue.\\n try implementation.supportsInterface(id) returns (bool support) {\\n return support;\\n } catch {\\n return false;\\n }\\n }\\n\\n function transferOwnership(address newOwner) external onlyOwner {\\n _setOwner(newOwner);\\n }\\n\\n function upgradeTo(address newImplementation) external onlyOwner {\\n _setImplementation(newImplementation, \\\"\\\");\\n }\\n\\n function upgradeToAndCall(address newImplementation, bytes calldata data) external payable onlyOwner {\\n _setImplementation(newImplementation, data);\\n }\\n\\n // /////////////////////// MODIFIERS ////////////////////////////////////////////////////////////////////////\\n\\n modifier onlyOwner() {\\n require(msg.sender == _owner(), \\\"NOT_AUTHORIZED\\\");\\n _;\\n }\\n\\n // ///////////////////////// INTERNAL //////////////////////////////////////////////////////////////////////\\n\\n function _owner() internal view returns (address adminAddress) {\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n adminAddress := sload(0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103)\\n }\\n }\\n\\n function _setOwner(address newOwner) internal {\\n address previousOwner = _owner();\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n sstore(0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103, newOwner)\\n }\\n emit OwnershipTransferred(previousOwner, newOwner);\\n }\\n}\\n\"\n },\n \"solc_0.8/proxy/EIP173ProxyWithReceive.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport \\\"./EIP173Proxy.sol\\\";\\n\\n///@notice Proxy implementing EIP173 for ownership management that accept ETH via receive\\ncontract EIP173ProxyWithReceive is EIP173Proxy {\\n constructor(\\n address implementationAddress,\\n address ownerAddress,\\n bytes memory data\\n ) payable EIP173Proxy(implementationAddress, ownerAddress, data) {}\\n\\n receive() external payable override {}\\n}\\n\"\n },\n \"solc_0.8/proxy/OptimizedTransparentUpgradeableProxy.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (proxy/transparent/TransparentUpgradeableProxy.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../openzeppelin/proxy/ERC1967/ERC1967Proxy.sol\\\";\\n\\n/**\\n * @dev This contract implements a proxy that is upgradeable by an admin.\\n *\\n * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector\\n * clashing], which can potentially be used in an attack, this contract uses the\\n * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two\\n * things that go hand in hand:\\n *\\n * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if\\n * that call matches one of the admin functions exposed by the proxy itself.\\n * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the\\n * implementation. If the admin tries to call a function on the implementation it will fail with an error that says\\n * \\\"admin cannot fallback to proxy target\\\".\\n *\\n * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing\\n * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due\\n * to sudden errors when trying to call a function from the proxy implementation.\\n *\\n * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way,\\n * you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.\\n */\\ncontract OptimizedTransparentUpgradeableProxy is ERC1967Proxy {\\n address internal immutable _ADMIN;\\n\\n /**\\n * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and\\n * optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}.\\n */\\n constructor(\\n address _logic,\\n address admin_,\\n bytes memory _data\\n ) payable ERC1967Proxy(_logic, _data) {\\n assert(_ADMIN_SLOT == bytes32(uint256(keccak256(\\\"eip1967.proxy.admin\\\")) - 1));\\n _ADMIN = admin_;\\n\\n // still store it to work with EIP-1967\\n bytes32 slot = _ADMIN_SLOT;\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n sstore(slot, admin_)\\n }\\n emit AdminChanged(address(0), admin_);\\n }\\n\\n /**\\n * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin.\\n */\\n modifier ifAdmin() {\\n if (msg.sender == _getAdmin()) {\\n _;\\n } else {\\n _fallback();\\n }\\n }\\n\\n /**\\n * @dev Returns the current admin.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}.\\n *\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\\n */\\n function admin() external ifAdmin returns (address admin_) {\\n admin_ = _getAdmin();\\n }\\n\\n /**\\n * @dev Returns the current implementation.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}.\\n *\\n * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the\\n * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\\n * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`\\n */\\n function implementation() external ifAdmin returns (address implementation_) {\\n implementation_ = _implementation();\\n }\\n\\n /**\\n * @dev Upgrade the implementation of the proxy.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}.\\n */\\n function upgradeTo(address newImplementation) external ifAdmin {\\n _upgradeToAndCall(newImplementation, bytes(\\\"\\\"), false);\\n }\\n\\n /**\\n * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified\\n * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the\\n * proxied contract.\\n *\\n * NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}.\\n */\\n function upgradeToAndCall(address newImplementation, bytes calldata data) external payable ifAdmin {\\n _upgradeToAndCall(newImplementation, data, true);\\n }\\n\\n /**\\n * @dev Returns the current admin.\\n */\\n function _admin() internal view virtual returns (address) {\\n return _getAdmin();\\n }\\n\\n /**\\n * @dev Makes sure the admin cannot access the fallback function. See {Proxy-_beforeFallback}.\\n */\\n function _beforeFallback() internal virtual override {\\n require(msg.sender != _getAdmin(), \\\"TransparentUpgradeableProxy: admin cannot fallback to proxy target\\\");\\n super._beforeFallback();\\n }\\n\\n function _getAdmin() internal view virtual override returns (address) {\\n return _ADMIN;\\n }\\n}\\n\"\n },\n \"solc_0.8/proxy/Proxied.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nabstract contract Proxied {\\n /// @notice to be used by initialisation / postUpgrade function so that only the proxy's admin can execute them\\n /// It also allows these functions to be called inside a contructor\\n /// even if the contract is meant to be used without proxy\\n modifier proxied() {\\n address proxyAdminAddress = _proxyAdmin();\\n // With hardhat-deploy proxies\\n // the proxyAdminAddress is zero only for the implementation contract\\n // if the implementation contract want to be used as a standalone/immutable contract\\n // it simply has to execute the `proxied` function\\n // This ensure the proxyAdminAddress is never zero post deployment\\n // And allow you to keep the same code for both proxied contract and immutable contract\\n if (proxyAdminAddress == address(0)) {\\n // ensure can not be called twice when used outside of proxy : no admin\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n sstore(\\n 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103,\\n 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\\n )\\n }\\n } else {\\n require(msg.sender == proxyAdminAddress);\\n }\\n _;\\n }\\n\\n modifier onlyProxyAdmin() {\\n require(msg.sender == _proxyAdmin(), \\\"NOT_AUTHORIZED\\\");\\n _;\\n }\\n\\n function _proxyAdmin() internal view returns (address ownerAddress) {\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n ownerAddress := sload(0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103)\\n }\\n }\\n}\\n\"\n },\n \"solc_0.8/proxy/Proxy.sol\": {\n \"content\": \"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n// EIP-1967\\nabstract contract Proxy {\\n // /////////////////////// EVENTS ///////////////////////////////////////////////////////////////////////////\\n\\n event ProxyImplementationUpdated(address indexed previousImplementation, address indexed newImplementation);\\n\\n // ///////////////////// EXTERNAL ///////////////////////////////////////////////////////////////////////////\\n\\n receive() external payable virtual {\\n revert(\\\"ETHER_REJECTED\\\"); // explicit reject by default\\n }\\n\\n fallback() external payable {\\n _fallback();\\n }\\n\\n // ///////////////////////// INTERNAL //////////////////////////////////////////////////////////////////////\\n\\n function _fallback() internal {\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n let implementationAddress := sload(0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc)\\n calldatacopy(0x0, 0x0, calldatasize())\\n let success := delegatecall(gas(), implementationAddress, 0x0, calldatasize(), 0, 0)\\n let retSz := returndatasize()\\n returndatacopy(0, 0, retSz)\\n switch success\\n case 0 {\\n revert(0, retSz)\\n }\\n default {\\n return(0, retSz)\\n }\\n }\\n }\\n\\n function _setImplementation(address newImplementation, bytes memory data) internal {\\n address previousImplementation;\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n previousImplementation := sload(0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc)\\n }\\n\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n sstore(0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc, newImplementation)\\n }\\n\\n emit ProxyImplementationUpdated(previousImplementation, newImplementation);\\n\\n if (data.length > 0) {\\n (bool success, ) = newImplementation.delegatecall(data);\\n if (!success) {\\n assembly {\\n // This assembly ensure the revert contains the exact string data\\n let returnDataSize := returndatasize()\\n returndatacopy(0, 0, returnDataSize)\\n revert(0, returnDataSize)\\n }\\n }\\n }\\n }\\n}\\n\"\n }\n },\n \"settings\": {\n \"optimizer\": {\n \"enabled\": true,\n \"runs\": 999999\n },\n \"outputSelection\": {\n \"*\": {\n \"*\": [\n \"abi\",\n \"evm.bytecode\",\n \"evm.deployedBytecode\",\n \"evm.methodIdentifiers\",\n \"metadata\",\n \"devdoc\",\n \"userdoc\",\n \"storageLayout\",\n \"evm.gasEstimates\"\n ],\n \"\": [\n \"ast\"\n ]\n }\n },\n \"metadata\": {\n \"useLiteralContent\": true\n }\n }\n}",
4038
+ "solcInputHash": "38c6bf91dbc1d60a5bc376d132d458fc"
4039
+ }