@superfluid-finance/ethereum-contracts 1.2.2-dev.ec379f7.0 → 1.2.3-dev.c960cdd.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/contracts/AccessControl.json +1 -1
- package/build/contracts/AccessControlEnumerable.json +1 -1
- package/build/contracts/Address.json +1 -1
- package/build/contracts/AgreementBase.json +9 -9
- package/build/contracts/AgreementLibrary.json +1 -1
- package/build/contracts/BaseRelayRecipient.json +1 -1
- package/build/contracts/BatchLiquidator.json +1023 -1023
- package/build/contracts/BatchOperation.json +1 -1
- package/build/contracts/CFAv1Library.json +1 -1
- package/build/contracts/CallUtils.json +1 -1
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +3580 -3580
- package/build/contracts/ConstantFlowAgreementV1.json +5088 -5088
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +1 -1
- package/build/contracts/Create2.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +1 -1
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +79 -79
- package/build/contracts/ERC1820RegistryCompiled.json +256 -0
- package/build/contracts/ERC20.json +1008 -1008
- package/build/contracts/ERC20Burnable.json +1 -1
- package/build/contracts/ERC20Pausable.json +1 -1
- package/build/contracts/ERC20PresetMinterPauser.json +1816 -1816
- package/build/contracts/ERC20WithTokenInfo.json +1 -1
- package/build/contracts/ERC721.json +1834 -1834
- package/build/contracts/ERC777Helper.json +660 -660
- package/build/contracts/ERC777RecipientDrainingGas.json +1871 -1871
- package/build/contracts/ERC777RecipientReverting.json +1893 -1893
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/ExclusiveInflowTestApp.json +3608 -3608
- package/build/contracts/FixedSizeData.json +405 -405
- package/build/contracts/FlowExchangeTestApp.json +3718 -3718
- package/build/contracts/FlowOperatorDefinitions.json +1 -1
- package/build/contracts/FullUpgradableSuperTokenProxy.json +316 -316
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +1 -1
- package/build/contracts/IDAv1Library.json +1 -1
- package/build/contracts/IERC165.json +1 -1
- package/build/contracts/IERC1820Implementer.json +1 -1
- package/build/contracts/IERC1820Registry.json +1 -1
- package/build/contracts/IERC20.json +1 -1
- package/build/contracts/IERC20Metadata.json +1 -1
- package/build/contracts/IERC721.json +1 -1
- package/build/contracts/IERC721Metadata.json +1 -1
- package/build/contracts/IERC721Receiver.json +1 -1
- package/build/contracts/IERC777.json +1 -1
- package/build/contracts/IERC777Recipient.json +1 -1
- package/build/contracts/IERC777Sender.json +1 -1
- package/build/contracts/IInstantDistributionAgreementV1.json +1 -1
- package/build/contracts/IMaticBridgedNativeSuperToken.json +1 -1
- package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +1 -1
- package/build/contracts/IMultiSigWallet.json +1 -1
- package/build/contracts/IPureSuperToken.json +1 -1
- package/build/contracts/IPureSuperTokenCustom.json +1 -1
- package/build/contracts/IRelayRecipient.json +1 -1
- package/build/contracts/IResolver.json +1 -1
- package/build/contracts/ISETH.json +1 -1
- package/build/contracts/ISETHCustom.json +1 -1
- package/build/contracts/ISuperAgreement.json +1 -1
- package/build/contracts/ISuperApp.json +1 -1
- package/build/contracts/ISuperToken.json +1 -1
- package/build/contracts/ISuperTokenFactory.json +1 -1
- package/build/contracts/ISuperfluid.json +1 -1
- package/build/contracts/ISuperfluidGovernance.json +1 -1
- package/build/contracts/ISuperfluidToken.json +1 -1
- package/build/contracts/ITOGAv1.json +2143 -2143
- package/build/contracts/ITOGAv2.json +2143 -2143
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +5413 -5413
- package/build/contracts/Int96SafeMath.json +504 -504
- package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +968 -968
- package/build/contracts/NonClosableOutflowTestApp.json +3483 -3483
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/Pausable.json +1 -1
- package/build/contracts/Proxy.json +1 -1
- package/build/contracts/PureSuperToken.json +691 -691
- package/build/contracts/Resolver.json +1058 -1058
- package/build/contracts/SETHProxy.json +658 -658
- package/build/contracts/SafeCast.json +1 -1
- package/build/contracts/SafeERC20.json +1 -1
- package/build/contracts/SafeMath.json +1 -1
- package/build/contracts/SelfDeletingFlowTestApp.json +3580 -3580
- package/build/contracts/SlotsBitmapLibrary.json +1704 -1704
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +1 -1
- package/build/contracts/SuperAppDefinitions.json +1 -1
- package/build/contracts/SuperToken.json +9035 -9035
- package/build/contracts/SuperTokenFactory.json +2071 -2071
- package/build/contracts/SuperTokenFactoryBase.json +988 -988
- package/build/contracts/SuperTokenFactoryHelper.json +1092 -1092
- package/build/contracts/SuperUpgrader.json +2492 -2492
- package/build/contracts/Superfluid.json +12968 -12968
- package/build/contracts/SuperfluidFrameworkDeployer.json +3440 -2173
- package/build/contracts/SuperfluidGovernanceBase.json +8 -8
- package/build/contracts/SuperfluidGovernanceConfigs.json +1 -1
- package/build/contracts/SuperfluidGovernanceII.json +2019 -2019
- package/build/contracts/SuperfluidGovernanceIIProxy.json +224 -224
- package/build/contracts/SuperfluidLoader.json +749 -749
- package/build/contracts/SuperfluidToken.json +2233 -2233
- package/build/contracts/TOGA.json +4118 -4118
- package/build/contracts/TestGovernance.json +2399 -2399
- package/build/contracts/TestToken.json +1267 -1267
- package/build/contracts/TokenCustodian.json +903 -903
- package/build/contracts/TokenInfo.json +1 -1
- package/build/contracts/UInt128SafeMath.json +174 -174
- package/build/contracts/UUPSProxiable.json +233 -233
- package/build/contracts/UUPSProxy.json +257 -257
- package/build/contracts/UUPSUtils.json +85 -85
- package/contracts/libs/ERC1820RegistryCompiled.sol +10 -0
- package/contracts/utils/SuperfluidFrameworkDeployer.sol +24 -9
- package/package.json +2 -2
|
@@ -103,17 +103,17 @@
|
|
|
103
103
|
{
|
|
104
104
|
"ast": {
|
|
105
105
|
"nodeType": "YulBlock",
|
|
106
|
-
"src": "0:2283:
|
|
106
|
+
"src": "0:2283:111",
|
|
107
107
|
"statements": [
|
|
108
108
|
{
|
|
109
109
|
"nodeType": "YulBlock",
|
|
110
|
-
"src": "6:3:
|
|
110
|
+
"src": "6:3:111",
|
|
111
111
|
"statements": []
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
114
|
"body": {
|
|
115
115
|
"nodeType": "YulBlock",
|
|
116
|
-
"src": "46:95:
|
|
116
|
+
"src": "46:95:111",
|
|
117
117
|
"statements": [
|
|
118
118
|
{
|
|
119
119
|
"expression": {
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
{
|
|
122
122
|
"kind": "number",
|
|
123
123
|
"nodeType": "YulLiteral",
|
|
124
|
-
"src": "63:1:
|
|
124
|
+
"src": "63:1:111",
|
|
125
125
|
"type": "",
|
|
126
126
|
"value": "0"
|
|
127
127
|
},
|
|
@@ -130,14 +130,14 @@
|
|
|
130
130
|
{
|
|
131
131
|
"kind": "number",
|
|
132
132
|
"nodeType": "YulLiteral",
|
|
133
|
-
"src": "70:3:
|
|
133
|
+
"src": "70:3:111",
|
|
134
134
|
"type": "",
|
|
135
135
|
"value": "224"
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
"kind": "number",
|
|
139
139
|
"nodeType": "YulLiteral",
|
|
140
|
-
"src": "75:10:
|
|
140
|
+
"src": "75:10:111",
|
|
141
141
|
"type": "",
|
|
142
142
|
"value": "0x4e487b71"
|
|
143
143
|
}
|
|
@@ -145,22 +145,22 @@
|
|
|
145
145
|
"functionName": {
|
|
146
146
|
"name": "shl",
|
|
147
147
|
"nodeType": "YulIdentifier",
|
|
148
|
-
"src": "66:3:
|
|
148
|
+
"src": "66:3:111"
|
|
149
149
|
},
|
|
150
150
|
"nodeType": "YulFunctionCall",
|
|
151
|
-
"src": "66:20:
|
|
151
|
+
"src": "66:20:111"
|
|
152
152
|
}
|
|
153
153
|
],
|
|
154
154
|
"functionName": {
|
|
155
155
|
"name": "mstore",
|
|
156
156
|
"nodeType": "YulIdentifier",
|
|
157
|
-
"src": "56:6:
|
|
157
|
+
"src": "56:6:111"
|
|
158
158
|
},
|
|
159
159
|
"nodeType": "YulFunctionCall",
|
|
160
|
-
"src": "56:31:
|
|
160
|
+
"src": "56:31:111"
|
|
161
161
|
},
|
|
162
162
|
"nodeType": "YulExpressionStatement",
|
|
163
|
-
"src": "56:31:
|
|
163
|
+
"src": "56:31:111"
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
"expression": {
|
|
@@ -168,14 +168,14 @@
|
|
|
168
168
|
{
|
|
169
169
|
"kind": "number",
|
|
170
170
|
"nodeType": "YulLiteral",
|
|
171
|
-
"src": "103:1:
|
|
171
|
+
"src": "103:1:111",
|
|
172
172
|
"type": "",
|
|
173
173
|
"value": "4"
|
|
174
174
|
},
|
|
175
175
|
{
|
|
176
176
|
"kind": "number",
|
|
177
177
|
"nodeType": "YulLiteral",
|
|
178
|
-
"src": "106:4:
|
|
178
|
+
"src": "106:4:111",
|
|
179
179
|
"type": "",
|
|
180
180
|
"value": "0x41"
|
|
181
181
|
}
|
|
@@ -183,13 +183,13 @@
|
|
|
183
183
|
"functionName": {
|
|
184
184
|
"name": "mstore",
|
|
185
185
|
"nodeType": "YulIdentifier",
|
|
186
|
-
"src": "96:6:
|
|
186
|
+
"src": "96:6:111"
|
|
187
187
|
},
|
|
188
188
|
"nodeType": "YulFunctionCall",
|
|
189
|
-
"src": "96:15:
|
|
189
|
+
"src": "96:15:111"
|
|
190
190
|
},
|
|
191
191
|
"nodeType": "YulExpressionStatement",
|
|
192
|
-
"src": "96:15:
|
|
192
|
+
"src": "96:15:111"
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
195
|
"expression": {
|
|
@@ -197,14 +197,14 @@
|
|
|
197
197
|
{
|
|
198
198
|
"kind": "number",
|
|
199
199
|
"nodeType": "YulLiteral",
|
|
200
|
-
"src": "127:1:
|
|
200
|
+
"src": "127:1:111",
|
|
201
201
|
"type": "",
|
|
202
202
|
"value": "0"
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
205
|
"kind": "number",
|
|
206
206
|
"nodeType": "YulLiteral",
|
|
207
|
-
"src": "130:4:
|
|
207
|
+
"src": "130:4:111",
|
|
208
208
|
"type": "",
|
|
209
209
|
"value": "0x24"
|
|
210
210
|
}
|
|
@@ -212,24 +212,24 @@
|
|
|
212
212
|
"functionName": {
|
|
213
213
|
"name": "revert",
|
|
214
214
|
"nodeType": "YulIdentifier",
|
|
215
|
-
"src": "120:6:
|
|
215
|
+
"src": "120:6:111"
|
|
216
216
|
},
|
|
217
217
|
"nodeType": "YulFunctionCall",
|
|
218
|
-
"src": "120:15:
|
|
218
|
+
"src": "120:15:111"
|
|
219
219
|
},
|
|
220
220
|
"nodeType": "YulExpressionStatement",
|
|
221
|
-
"src": "120:15:
|
|
221
|
+
"src": "120:15:111"
|
|
222
222
|
}
|
|
223
223
|
]
|
|
224
224
|
},
|
|
225
225
|
"name": "panic_error_0x41",
|
|
226
226
|
"nodeType": "YulFunctionDefinition",
|
|
227
|
-
"src": "14:127:
|
|
227
|
+
"src": "14:127:111"
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
"body": {
|
|
231
231
|
"nodeType": "YulBlock",
|
|
232
|
-
"src": "321:591:
|
|
232
|
+
"src": "321:591:111",
|
|
233
233
|
"statements": [
|
|
234
234
|
{
|
|
235
235
|
"expression": {
|
|
@@ -237,14 +237,14 @@
|
|
|
237
237
|
{
|
|
238
238
|
"name": "headStart",
|
|
239
239
|
"nodeType": "YulIdentifier",
|
|
240
|
-
"src": "338:9:
|
|
240
|
+
"src": "338:9:111"
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
243
|
"arguments": [
|
|
244
244
|
{
|
|
245
245
|
"name": "value0",
|
|
246
246
|
"nodeType": "YulIdentifier",
|
|
247
|
-
"src": "353:6:
|
|
247
|
+
"src": "353:6:111"
|
|
248
248
|
},
|
|
249
249
|
{
|
|
250
250
|
"arguments": [
|
|
@@ -253,14 +253,14 @@
|
|
|
253
253
|
{
|
|
254
254
|
"kind": "number",
|
|
255
255
|
"nodeType": "YulLiteral",
|
|
256
|
-
"src": "369:3:
|
|
256
|
+
"src": "369:3:111",
|
|
257
257
|
"type": "",
|
|
258
258
|
"value": "160"
|
|
259
259
|
},
|
|
260
260
|
{
|
|
261
261
|
"kind": "number",
|
|
262
262
|
"nodeType": "YulLiteral",
|
|
263
|
-
"src": "374:1:
|
|
263
|
+
"src": "374:1:111",
|
|
264
264
|
"type": "",
|
|
265
265
|
"value": "1"
|
|
266
266
|
}
|
|
@@ -268,15 +268,15 @@
|
|
|
268
268
|
"functionName": {
|
|
269
269
|
"name": "shl",
|
|
270
270
|
"nodeType": "YulIdentifier",
|
|
271
|
-
"src": "365:3:
|
|
271
|
+
"src": "365:3:111"
|
|
272
272
|
},
|
|
273
273
|
"nodeType": "YulFunctionCall",
|
|
274
|
-
"src": "365:11:
|
|
274
|
+
"src": "365:11:111"
|
|
275
275
|
},
|
|
276
276
|
{
|
|
277
277
|
"kind": "number",
|
|
278
278
|
"nodeType": "YulLiteral",
|
|
279
|
-
"src": "378:1:
|
|
279
|
+
"src": "378:1:111",
|
|
280
280
|
"type": "",
|
|
281
281
|
"value": "1"
|
|
282
282
|
}
|
|
@@ -284,39 +284,39 @@
|
|
|
284
284
|
"functionName": {
|
|
285
285
|
"name": "sub",
|
|
286
286
|
"nodeType": "YulIdentifier",
|
|
287
|
-
"src": "361:3:
|
|
287
|
+
"src": "361:3:111"
|
|
288
288
|
},
|
|
289
289
|
"nodeType": "YulFunctionCall",
|
|
290
|
-
"src": "361:19:
|
|
290
|
+
"src": "361:19:111"
|
|
291
291
|
}
|
|
292
292
|
],
|
|
293
293
|
"functionName": {
|
|
294
294
|
"name": "and",
|
|
295
295
|
"nodeType": "YulIdentifier",
|
|
296
|
-
"src": "349:3:
|
|
296
|
+
"src": "349:3:111"
|
|
297
297
|
},
|
|
298
298
|
"nodeType": "YulFunctionCall",
|
|
299
|
-
"src": "349:32:
|
|
299
|
+
"src": "349:32:111"
|
|
300
300
|
}
|
|
301
301
|
],
|
|
302
302
|
"functionName": {
|
|
303
303
|
"name": "mstore",
|
|
304
304
|
"nodeType": "YulIdentifier",
|
|
305
|
-
"src": "331:6:
|
|
305
|
+
"src": "331:6:111"
|
|
306
306
|
},
|
|
307
307
|
"nodeType": "YulFunctionCall",
|
|
308
|
-
"src": "331:51:
|
|
308
|
+
"src": "331:51:111"
|
|
309
309
|
},
|
|
310
310
|
"nodeType": "YulExpressionStatement",
|
|
311
|
-
"src": "331:51:
|
|
311
|
+
"src": "331:51:111"
|
|
312
312
|
},
|
|
313
313
|
{
|
|
314
314
|
"nodeType": "YulVariableDeclaration",
|
|
315
|
-
"src": "391:12:
|
|
315
|
+
"src": "391:12:111",
|
|
316
316
|
"value": {
|
|
317
317
|
"kind": "number",
|
|
318
318
|
"nodeType": "YulLiteral",
|
|
319
|
-
"src": "401:2:
|
|
319
|
+
"src": "401:2:111",
|
|
320
320
|
"type": "",
|
|
321
321
|
"value": "32"
|
|
322
322
|
},
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
{
|
|
325
325
|
"name": "_1",
|
|
326
326
|
"nodeType": "YulTypedName",
|
|
327
|
-
"src": "395:2:
|
|
327
|
+
"src": "395:2:111",
|
|
328
328
|
"type": ""
|
|
329
329
|
}
|
|
330
330
|
]
|
|
@@ -337,38 +337,38 @@
|
|
|
337
337
|
{
|
|
338
338
|
"name": "headStart",
|
|
339
339
|
"nodeType": "YulIdentifier",
|
|
340
|
-
"src": "423:9:
|
|
340
|
+
"src": "423:9:111"
|
|
341
341
|
},
|
|
342
342
|
{
|
|
343
343
|
"name": "_1",
|
|
344
344
|
"nodeType": "YulIdentifier",
|
|
345
|
-
"src": "434:2:
|
|
345
|
+
"src": "434:2:111"
|
|
346
346
|
}
|
|
347
347
|
],
|
|
348
348
|
"functionName": {
|
|
349
349
|
"name": "add",
|
|
350
350
|
"nodeType": "YulIdentifier",
|
|
351
|
-
"src": "419:3:
|
|
351
|
+
"src": "419:3:111"
|
|
352
352
|
},
|
|
353
353
|
"nodeType": "YulFunctionCall",
|
|
354
|
-
"src": "419:18:
|
|
354
|
+
"src": "419:18:111"
|
|
355
355
|
},
|
|
356
356
|
{
|
|
357
357
|
"name": "value1",
|
|
358
358
|
"nodeType": "YulIdentifier",
|
|
359
|
-
"src": "439:6:
|
|
359
|
+
"src": "439:6:111"
|
|
360
360
|
}
|
|
361
361
|
],
|
|
362
362
|
"functionName": {
|
|
363
363
|
"name": "mstore",
|
|
364
364
|
"nodeType": "YulIdentifier",
|
|
365
|
-
"src": "412:6:
|
|
365
|
+
"src": "412:6:111"
|
|
366
366
|
},
|
|
367
367
|
"nodeType": "YulFunctionCall",
|
|
368
|
-
"src": "412:34:
|
|
368
|
+
"src": "412:34:111"
|
|
369
369
|
},
|
|
370
370
|
"nodeType": "YulExpressionStatement",
|
|
371
|
-
"src": "412:34:
|
|
371
|
+
"src": "412:34:111"
|
|
372
372
|
},
|
|
373
373
|
{
|
|
374
374
|
"expression": {
|
|
@@ -378,12 +378,12 @@
|
|
|
378
378
|
{
|
|
379
379
|
"name": "headStart",
|
|
380
380
|
"nodeType": "YulIdentifier",
|
|
381
|
-
"src": "466:9:
|
|
381
|
+
"src": "466:9:111"
|
|
382
382
|
},
|
|
383
383
|
{
|
|
384
384
|
"kind": "number",
|
|
385
385
|
"nodeType": "YulLiteral",
|
|
386
|
-
"src": "477:2:
|
|
386
|
+
"src": "477:2:111",
|
|
387
387
|
"type": "",
|
|
388
388
|
"value": "64"
|
|
389
389
|
}
|
|
@@ -391,15 +391,15 @@
|
|
|
391
391
|
"functionName": {
|
|
392
392
|
"name": "add",
|
|
393
393
|
"nodeType": "YulIdentifier",
|
|
394
|
-
"src": "462:3:
|
|
394
|
+
"src": "462:3:111"
|
|
395
395
|
},
|
|
396
396
|
"nodeType": "YulFunctionCall",
|
|
397
|
-
"src": "462:18:
|
|
397
|
+
"src": "462:18:111"
|
|
398
398
|
},
|
|
399
399
|
{
|
|
400
400
|
"kind": "number",
|
|
401
401
|
"nodeType": "YulLiteral",
|
|
402
|
-
"src": "482:2:
|
|
402
|
+
"src": "482:2:111",
|
|
403
403
|
"type": "",
|
|
404
404
|
"value": "96"
|
|
405
405
|
}
|
|
@@ -407,38 +407,38 @@
|
|
|
407
407
|
"functionName": {
|
|
408
408
|
"name": "mstore",
|
|
409
409
|
"nodeType": "YulIdentifier",
|
|
410
|
-
"src": "455:6:
|
|
410
|
+
"src": "455:6:111"
|
|
411
411
|
},
|
|
412
412
|
"nodeType": "YulFunctionCall",
|
|
413
|
-
"src": "455:30:
|
|
413
|
+
"src": "455:30:111"
|
|
414
414
|
},
|
|
415
415
|
"nodeType": "YulExpressionStatement",
|
|
416
|
-
"src": "455:30:
|
|
416
|
+
"src": "455:30:111"
|
|
417
417
|
},
|
|
418
418
|
{
|
|
419
419
|
"nodeType": "YulVariableDeclaration",
|
|
420
|
-
"src": "494:27:
|
|
420
|
+
"src": "494:27:111",
|
|
421
421
|
"value": {
|
|
422
422
|
"arguments": [
|
|
423
423
|
{
|
|
424
424
|
"name": "value2",
|
|
425
425
|
"nodeType": "YulIdentifier",
|
|
426
|
-
"src": "514:6:
|
|
426
|
+
"src": "514:6:111"
|
|
427
427
|
}
|
|
428
428
|
],
|
|
429
429
|
"functionName": {
|
|
430
430
|
"name": "mload",
|
|
431
431
|
"nodeType": "YulIdentifier",
|
|
432
|
-
"src": "508:5:
|
|
432
|
+
"src": "508:5:111"
|
|
433
433
|
},
|
|
434
434
|
"nodeType": "YulFunctionCall",
|
|
435
|
-
"src": "508:13:
|
|
435
|
+
"src": "508:13:111"
|
|
436
436
|
},
|
|
437
437
|
"variables": [
|
|
438
438
|
{
|
|
439
439
|
"name": "length",
|
|
440
440
|
"nodeType": "YulTypedName",
|
|
441
|
-
"src": "498:6:
|
|
441
|
+
"src": "498:6:111",
|
|
442
442
|
"type": ""
|
|
443
443
|
}
|
|
444
444
|
]
|
|
@@ -451,12 +451,12 @@
|
|
|
451
451
|
{
|
|
452
452
|
"name": "headStart",
|
|
453
453
|
"nodeType": "YulIdentifier",
|
|
454
|
-
"src": "541:9:
|
|
454
|
+
"src": "541:9:111"
|
|
455
455
|
},
|
|
456
456
|
{
|
|
457
457
|
"kind": "number",
|
|
458
458
|
"nodeType": "YulLiteral",
|
|
459
|
-
"src": "552:2:
|
|
459
|
+
"src": "552:2:111",
|
|
460
460
|
"type": "",
|
|
461
461
|
"value": "96"
|
|
462
462
|
}
|
|
@@ -464,35 +464,35 @@
|
|
|
464
464
|
"functionName": {
|
|
465
465
|
"name": "add",
|
|
466
466
|
"nodeType": "YulIdentifier",
|
|
467
|
-
"src": "537:3:
|
|
467
|
+
"src": "537:3:111"
|
|
468
468
|
},
|
|
469
469
|
"nodeType": "YulFunctionCall",
|
|
470
|
-
"src": "537:18:
|
|
470
|
+
"src": "537:18:111"
|
|
471
471
|
},
|
|
472
472
|
{
|
|
473
473
|
"name": "length",
|
|
474
474
|
"nodeType": "YulIdentifier",
|
|
475
|
-
"src": "557:6:
|
|
475
|
+
"src": "557:6:111"
|
|
476
476
|
}
|
|
477
477
|
],
|
|
478
478
|
"functionName": {
|
|
479
479
|
"name": "mstore",
|
|
480
480
|
"nodeType": "YulIdentifier",
|
|
481
|
-
"src": "530:6:
|
|
481
|
+
"src": "530:6:111"
|
|
482
482
|
},
|
|
483
483
|
"nodeType": "YulFunctionCall",
|
|
484
|
-
"src": "530:34:
|
|
484
|
+
"src": "530:34:111"
|
|
485
485
|
},
|
|
486
486
|
"nodeType": "YulExpressionStatement",
|
|
487
|
-
"src": "530:34:
|
|
487
|
+
"src": "530:34:111"
|
|
488
488
|
},
|
|
489
489
|
{
|
|
490
490
|
"nodeType": "YulVariableDeclaration",
|
|
491
|
-
"src": "573:10:
|
|
491
|
+
"src": "573:10:111",
|
|
492
492
|
"value": {
|
|
493
493
|
"kind": "number",
|
|
494
494
|
"nodeType": "YulLiteral",
|
|
495
|
-
"src": "582:1:
|
|
495
|
+
"src": "582:1:111",
|
|
496
496
|
"type": "",
|
|
497
497
|
"value": "0"
|
|
498
498
|
},
|
|
@@ -500,7 +500,7 @@
|
|
|
500
500
|
{
|
|
501
501
|
"name": "i",
|
|
502
502
|
"nodeType": "YulTypedName",
|
|
503
|
-
"src": "577:1:
|
|
503
|
+
"src": "577:1:111",
|
|
504
504
|
"type": ""
|
|
505
505
|
}
|
|
506
506
|
]
|
|
@@ -508,7 +508,7 @@
|
|
|
508
508
|
{
|
|
509
509
|
"body": {
|
|
510
510
|
"nodeType": "YulBlock",
|
|
511
|
-
"src": "642:91:
|
|
511
|
+
"src": "642:91:111",
|
|
512
512
|
"statements": [
|
|
513
513
|
{
|
|
514
514
|
"expression": {
|
|
@@ -520,26 +520,26 @@
|
|
|
520
520
|
{
|
|
521
521
|
"name": "headStart",
|
|
522
522
|
"nodeType": "YulIdentifier",
|
|
523
|
-
"src": "671:9:
|
|
523
|
+
"src": "671:9:111"
|
|
524
524
|
},
|
|
525
525
|
{
|
|
526
526
|
"name": "i",
|
|
527
527
|
"nodeType": "YulIdentifier",
|
|
528
|
-
"src": "682:1:
|
|
528
|
+
"src": "682:1:111"
|
|
529
529
|
}
|
|
530
530
|
],
|
|
531
531
|
"functionName": {
|
|
532
532
|
"name": "add",
|
|
533
533
|
"nodeType": "YulIdentifier",
|
|
534
|
-
"src": "667:3:
|
|
534
|
+
"src": "667:3:111"
|
|
535
535
|
},
|
|
536
536
|
"nodeType": "YulFunctionCall",
|
|
537
|
-
"src": "667:17:
|
|
537
|
+
"src": "667:17:111"
|
|
538
538
|
},
|
|
539
539
|
{
|
|
540
540
|
"kind": "number",
|
|
541
541
|
"nodeType": "YulLiteral",
|
|
542
|
-
"src": "686:3:
|
|
542
|
+
"src": "686:3:111",
|
|
543
543
|
"type": "",
|
|
544
544
|
"value": "128"
|
|
545
545
|
}
|
|
@@ -547,10 +547,10 @@
|
|
|
547
547
|
"functionName": {
|
|
548
548
|
"name": "add",
|
|
549
549
|
"nodeType": "YulIdentifier",
|
|
550
|
-
"src": "663:3:
|
|
550
|
+
"src": "663:3:111"
|
|
551
551
|
},
|
|
552
552
|
"nodeType": "YulFunctionCall",
|
|
553
|
-
"src": "663:27:
|
|
553
|
+
"src": "663:27:111"
|
|
554
554
|
},
|
|
555
555
|
{
|
|
556
556
|
"arguments": [
|
|
@@ -561,56 +561,56 @@
|
|
|
561
561
|
{
|
|
562
562
|
"name": "value2",
|
|
563
563
|
"nodeType": "YulIdentifier",
|
|
564
|
-
"src": "706:6:
|
|
564
|
+
"src": "706:6:111"
|
|
565
565
|
},
|
|
566
566
|
{
|
|
567
567
|
"name": "i",
|
|
568
568
|
"nodeType": "YulIdentifier",
|
|
569
|
-
"src": "714:1:
|
|
569
|
+
"src": "714:1:111"
|
|
570
570
|
}
|
|
571
571
|
],
|
|
572
572
|
"functionName": {
|
|
573
573
|
"name": "add",
|
|
574
574
|
"nodeType": "YulIdentifier",
|
|
575
|
-
"src": "702:3:
|
|
575
|
+
"src": "702:3:111"
|
|
576
576
|
},
|
|
577
577
|
"nodeType": "YulFunctionCall",
|
|
578
|
-
"src": "702:14:
|
|
578
|
+
"src": "702:14:111"
|
|
579
579
|
},
|
|
580
580
|
{
|
|
581
581
|
"name": "_1",
|
|
582
582
|
"nodeType": "YulIdentifier",
|
|
583
|
-
"src": "718:2:
|
|
583
|
+
"src": "718:2:111"
|
|
584
584
|
}
|
|
585
585
|
],
|
|
586
586
|
"functionName": {
|
|
587
587
|
"name": "add",
|
|
588
588
|
"nodeType": "YulIdentifier",
|
|
589
|
-
"src": "698:3:
|
|
589
|
+
"src": "698:3:111"
|
|
590
590
|
},
|
|
591
591
|
"nodeType": "YulFunctionCall",
|
|
592
|
-
"src": "698:23:
|
|
592
|
+
"src": "698:23:111"
|
|
593
593
|
}
|
|
594
594
|
],
|
|
595
595
|
"functionName": {
|
|
596
596
|
"name": "mload",
|
|
597
597
|
"nodeType": "YulIdentifier",
|
|
598
|
-
"src": "692:5:
|
|
598
|
+
"src": "692:5:111"
|
|
599
599
|
},
|
|
600
600
|
"nodeType": "YulFunctionCall",
|
|
601
|
-
"src": "692:30:
|
|
601
|
+
"src": "692:30:111"
|
|
602
602
|
}
|
|
603
603
|
],
|
|
604
604
|
"functionName": {
|
|
605
605
|
"name": "mstore",
|
|
606
606
|
"nodeType": "YulIdentifier",
|
|
607
|
-
"src": "656:6:
|
|
607
|
+
"src": "656:6:111"
|
|
608
608
|
},
|
|
609
609
|
"nodeType": "YulFunctionCall",
|
|
610
|
-
"src": "656:67:
|
|
610
|
+
"src": "656:67:111"
|
|
611
611
|
},
|
|
612
612
|
"nodeType": "YulExpressionStatement",
|
|
613
|
-
"src": "656:67:
|
|
613
|
+
"src": "656:67:111"
|
|
614
614
|
}
|
|
615
615
|
]
|
|
616
616
|
},
|
|
@@ -619,56 +619,56 @@
|
|
|
619
619
|
{
|
|
620
620
|
"name": "i",
|
|
621
621
|
"nodeType": "YulIdentifier",
|
|
622
|
-
"src": "603:1:
|
|
622
|
+
"src": "603:1:111"
|
|
623
623
|
},
|
|
624
624
|
{
|
|
625
625
|
"name": "length",
|
|
626
626
|
"nodeType": "YulIdentifier",
|
|
627
|
-
"src": "606:6:
|
|
627
|
+
"src": "606:6:111"
|
|
628
628
|
}
|
|
629
629
|
],
|
|
630
630
|
"functionName": {
|
|
631
631
|
"name": "lt",
|
|
632
632
|
"nodeType": "YulIdentifier",
|
|
633
|
-
"src": "600:2:
|
|
633
|
+
"src": "600:2:111"
|
|
634
634
|
},
|
|
635
635
|
"nodeType": "YulFunctionCall",
|
|
636
|
-
"src": "600:13:
|
|
636
|
+
"src": "600:13:111"
|
|
637
637
|
},
|
|
638
638
|
"nodeType": "YulForLoop",
|
|
639
639
|
"post": {
|
|
640
640
|
"nodeType": "YulBlock",
|
|
641
|
-
"src": "614:19:
|
|
641
|
+
"src": "614:19:111",
|
|
642
642
|
"statements": [
|
|
643
643
|
{
|
|
644
644
|
"nodeType": "YulAssignment",
|
|
645
|
-
"src": "616:15:
|
|
645
|
+
"src": "616:15:111",
|
|
646
646
|
"value": {
|
|
647
647
|
"arguments": [
|
|
648
648
|
{
|
|
649
649
|
"name": "i",
|
|
650
650
|
"nodeType": "YulIdentifier",
|
|
651
|
-
"src": "625:1:
|
|
651
|
+
"src": "625:1:111"
|
|
652
652
|
},
|
|
653
653
|
{
|
|
654
654
|
"name": "_1",
|
|
655
655
|
"nodeType": "YulIdentifier",
|
|
656
|
-
"src": "628:2:
|
|
656
|
+
"src": "628:2:111"
|
|
657
657
|
}
|
|
658
658
|
],
|
|
659
659
|
"functionName": {
|
|
660
660
|
"name": "add",
|
|
661
661
|
"nodeType": "YulIdentifier",
|
|
662
|
-
"src": "621:3:
|
|
662
|
+
"src": "621:3:111"
|
|
663
663
|
},
|
|
664
664
|
"nodeType": "YulFunctionCall",
|
|
665
|
-
"src": "621:10:
|
|
665
|
+
"src": "621:10:111"
|
|
666
666
|
},
|
|
667
667
|
"variableNames": [
|
|
668
668
|
{
|
|
669
669
|
"name": "i",
|
|
670
670
|
"nodeType": "YulIdentifier",
|
|
671
|
-
"src": "616:1:
|
|
671
|
+
"src": "616:1:111"
|
|
672
672
|
}
|
|
673
673
|
]
|
|
674
674
|
}
|
|
@@ -676,15 +676,15 @@
|
|
|
676
676
|
},
|
|
677
677
|
"pre": {
|
|
678
678
|
"nodeType": "YulBlock",
|
|
679
|
-
"src": "596:3:
|
|
679
|
+
"src": "596:3:111",
|
|
680
680
|
"statements": []
|
|
681
681
|
},
|
|
682
|
-
"src": "592:141:
|
|
682
|
+
"src": "592:141:111"
|
|
683
683
|
},
|
|
684
684
|
{
|
|
685
685
|
"body": {
|
|
686
686
|
"nodeType": "YulBlock",
|
|
687
|
-
"src": "767:67:
|
|
687
|
+
"src": "767:67:111",
|
|
688
688
|
"statements": [
|
|
689
689
|
{
|
|
690
690
|
"expression": {
|
|
@@ -696,26 +696,26 @@
|
|
|
696
696
|
{
|
|
697
697
|
"name": "headStart",
|
|
698
698
|
"nodeType": "YulIdentifier",
|
|
699
|
-
"src": "796:9:
|
|
699
|
+
"src": "796:9:111"
|
|
700
700
|
},
|
|
701
701
|
{
|
|
702
702
|
"name": "length",
|
|
703
703
|
"nodeType": "YulIdentifier",
|
|
704
|
-
"src": "807:6:
|
|
704
|
+
"src": "807:6:111"
|
|
705
705
|
}
|
|
706
706
|
],
|
|
707
707
|
"functionName": {
|
|
708
708
|
"name": "add",
|
|
709
709
|
"nodeType": "YulIdentifier",
|
|
710
|
-
"src": "792:3:
|
|
710
|
+
"src": "792:3:111"
|
|
711
711
|
},
|
|
712
712
|
"nodeType": "YulFunctionCall",
|
|
713
|
-
"src": "792:22:
|
|
713
|
+
"src": "792:22:111"
|
|
714
714
|
},
|
|
715
715
|
{
|
|
716
716
|
"kind": "number",
|
|
717
717
|
"nodeType": "YulLiteral",
|
|
718
|
-
"src": "816:3:
|
|
718
|
+
"src": "816:3:111",
|
|
719
719
|
"type": "",
|
|
720
720
|
"value": "128"
|
|
721
721
|
}
|
|
@@ -723,15 +723,15 @@
|
|
|
723
723
|
"functionName": {
|
|
724
724
|
"name": "add",
|
|
725
725
|
"nodeType": "YulIdentifier",
|
|
726
|
-
"src": "788:3:
|
|
726
|
+
"src": "788:3:111"
|
|
727
727
|
},
|
|
728
728
|
"nodeType": "YulFunctionCall",
|
|
729
|
-
"src": "788:32:
|
|
729
|
+
"src": "788:32:111"
|
|
730
730
|
},
|
|
731
731
|
{
|
|
732
732
|
"kind": "number",
|
|
733
733
|
"nodeType": "YulLiteral",
|
|
734
|
-
"src": "822:1:
|
|
734
|
+
"src": "822:1:111",
|
|
735
735
|
"type": "",
|
|
736
736
|
"value": "0"
|
|
737
737
|
}
|
|
@@ -739,13 +739,13 @@
|
|
|
739
739
|
"functionName": {
|
|
740
740
|
"name": "mstore",
|
|
741
741
|
"nodeType": "YulIdentifier",
|
|
742
|
-
"src": "781:6:
|
|
742
|
+
"src": "781:6:111"
|
|
743
743
|
},
|
|
744
744
|
"nodeType": "YulFunctionCall",
|
|
745
|
-
"src": "781:43:
|
|
745
|
+
"src": "781:43:111"
|
|
746
746
|
},
|
|
747
747
|
"nodeType": "YulExpressionStatement",
|
|
748
|
-
"src": "781:43:
|
|
748
|
+
"src": "781:43:111"
|
|
749
749
|
}
|
|
750
750
|
]
|
|
751
751
|
},
|
|
@@ -754,28 +754,28 @@
|
|
|
754
754
|
{
|
|
755
755
|
"name": "i",
|
|
756
756
|
"nodeType": "YulIdentifier",
|
|
757
|
-
"src": "748:1:
|
|
757
|
+
"src": "748:1:111"
|
|
758
758
|
},
|
|
759
759
|
{
|
|
760
760
|
"name": "length",
|
|
761
761
|
"nodeType": "YulIdentifier",
|
|
762
|
-
"src": "751:6:
|
|
762
|
+
"src": "751:6:111"
|
|
763
763
|
}
|
|
764
764
|
],
|
|
765
765
|
"functionName": {
|
|
766
766
|
"name": "gt",
|
|
767
767
|
"nodeType": "YulIdentifier",
|
|
768
|
-
"src": "745:2:
|
|
768
|
+
"src": "745:2:111"
|
|
769
769
|
},
|
|
770
770
|
"nodeType": "YulFunctionCall",
|
|
771
|
-
"src": "745:13:
|
|
771
|
+
"src": "745:13:111"
|
|
772
772
|
},
|
|
773
773
|
"nodeType": "YulIf",
|
|
774
|
-
"src": "742:92:
|
|
774
|
+
"src": "742:92:111"
|
|
775
775
|
},
|
|
776
776
|
{
|
|
777
777
|
"nodeType": "YulAssignment",
|
|
778
|
-
"src": "843:63:
|
|
778
|
+
"src": "843:63:111",
|
|
779
779
|
"value": {
|
|
780
780
|
"arguments": [
|
|
781
781
|
{
|
|
@@ -783,7 +783,7 @@
|
|
|
783
783
|
{
|
|
784
784
|
"name": "headStart",
|
|
785
785
|
"nodeType": "YulIdentifier",
|
|
786
|
-
"src": "859:9:
|
|
786
|
+
"src": "859:9:111"
|
|
787
787
|
},
|
|
788
788
|
{
|
|
789
789
|
"arguments": [
|
|
@@ -792,12 +792,12 @@
|
|
|
792
792
|
{
|
|
793
793
|
"name": "length",
|
|
794
794
|
"nodeType": "YulIdentifier",
|
|
795
|
-
"src": "878:6:
|
|
795
|
+
"src": "878:6:111"
|
|
796
796
|
},
|
|
797
797
|
{
|
|
798
798
|
"kind": "number",
|
|
799
799
|
"nodeType": "YulLiteral",
|
|
800
|
-
"src": "886:2:
|
|
800
|
+
"src": "886:2:111",
|
|
801
801
|
"type": "",
|
|
802
802
|
"value": "31"
|
|
803
803
|
}
|
|
@@ -805,17 +805,17 @@
|
|
|
805
805
|
"functionName": {
|
|
806
806
|
"name": "add",
|
|
807
807
|
"nodeType": "YulIdentifier",
|
|
808
|
-
"src": "874:3:
|
|
808
|
+
"src": "874:3:111"
|
|
809
809
|
},
|
|
810
810
|
"nodeType": "YulFunctionCall",
|
|
811
|
-
"src": "874:15:
|
|
811
|
+
"src": "874:15:111"
|
|
812
812
|
},
|
|
813
813
|
{
|
|
814
814
|
"arguments": [
|
|
815
815
|
{
|
|
816
816
|
"kind": "number",
|
|
817
817
|
"nodeType": "YulLiteral",
|
|
818
|
-
"src": "895:2:
|
|
818
|
+
"src": "895:2:111",
|
|
819
819
|
"type": "",
|
|
820
820
|
"value": "31"
|
|
821
821
|
}
|
|
@@ -823,33 +823,33 @@
|
|
|
823
823
|
"functionName": {
|
|
824
824
|
"name": "not",
|
|
825
825
|
"nodeType": "YulIdentifier",
|
|
826
|
-
"src": "891:3:
|
|
826
|
+
"src": "891:3:111"
|
|
827
827
|
},
|
|
828
828
|
"nodeType": "YulFunctionCall",
|
|
829
|
-
"src": "891:7:
|
|
829
|
+
"src": "891:7:111"
|
|
830
830
|
}
|
|
831
831
|
],
|
|
832
832
|
"functionName": {
|
|
833
833
|
"name": "and",
|
|
834
834
|
"nodeType": "YulIdentifier",
|
|
835
|
-
"src": "870:3:
|
|
835
|
+
"src": "870:3:111"
|
|
836
836
|
},
|
|
837
837
|
"nodeType": "YulFunctionCall",
|
|
838
|
-
"src": "870:29:
|
|
838
|
+
"src": "870:29:111"
|
|
839
839
|
}
|
|
840
840
|
],
|
|
841
841
|
"functionName": {
|
|
842
842
|
"name": "add",
|
|
843
843
|
"nodeType": "YulIdentifier",
|
|
844
|
-
"src": "855:3:
|
|
844
|
+
"src": "855:3:111"
|
|
845
845
|
},
|
|
846
846
|
"nodeType": "YulFunctionCall",
|
|
847
|
-
"src": "855:45:
|
|
847
|
+
"src": "855:45:111"
|
|
848
848
|
},
|
|
849
849
|
{
|
|
850
850
|
"kind": "number",
|
|
851
851
|
"nodeType": "YulLiteral",
|
|
852
|
-
"src": "902:3:
|
|
852
|
+
"src": "902:3:111",
|
|
853
853
|
"type": "",
|
|
854
854
|
"value": "128"
|
|
855
855
|
}
|
|
@@ -857,16 +857,16 @@
|
|
|
857
857
|
"functionName": {
|
|
858
858
|
"name": "add",
|
|
859
859
|
"nodeType": "YulIdentifier",
|
|
860
|
-
"src": "851:3:
|
|
860
|
+
"src": "851:3:111"
|
|
861
861
|
},
|
|
862
862
|
"nodeType": "YulFunctionCall",
|
|
863
|
-
"src": "851:55:
|
|
863
|
+
"src": "851:55:111"
|
|
864
864
|
},
|
|
865
865
|
"variableNames": [
|
|
866
866
|
{
|
|
867
867
|
"name": "tail",
|
|
868
868
|
"nodeType": "YulIdentifier",
|
|
869
|
-
"src": "843:4:
|
|
869
|
+
"src": "843:4:111"
|
|
870
870
|
}
|
|
871
871
|
]
|
|
872
872
|
}
|
|
@@ -878,25 +878,25 @@
|
|
|
878
878
|
{
|
|
879
879
|
"name": "headStart",
|
|
880
880
|
"nodeType": "YulTypedName",
|
|
881
|
-
"src": "274:9:
|
|
881
|
+
"src": "274:9:111",
|
|
882
882
|
"type": ""
|
|
883
883
|
},
|
|
884
884
|
{
|
|
885
885
|
"name": "value2",
|
|
886
886
|
"nodeType": "YulTypedName",
|
|
887
|
-
"src": "285:6:
|
|
887
|
+
"src": "285:6:111",
|
|
888
888
|
"type": ""
|
|
889
889
|
},
|
|
890
890
|
{
|
|
891
891
|
"name": "value1",
|
|
892
892
|
"nodeType": "YulTypedName",
|
|
893
|
-
"src": "293:6:
|
|
893
|
+
"src": "293:6:111",
|
|
894
894
|
"type": ""
|
|
895
895
|
},
|
|
896
896
|
{
|
|
897
897
|
"name": "value0",
|
|
898
898
|
"nodeType": "YulTypedName",
|
|
899
|
-
"src": "301:6:
|
|
899
|
+
"src": "301:6:111",
|
|
900
900
|
"type": ""
|
|
901
901
|
}
|
|
902
902
|
],
|
|
@@ -904,31 +904,31 @@
|
|
|
904
904
|
{
|
|
905
905
|
"name": "tail",
|
|
906
906
|
"nodeType": "YulTypedName",
|
|
907
|
-
"src": "312:4:
|
|
907
|
+
"src": "312:4:111",
|
|
908
908
|
"type": ""
|
|
909
909
|
}
|
|
910
910
|
],
|
|
911
|
-
"src": "146:766:
|
|
911
|
+
"src": "146:766:111"
|
|
912
912
|
},
|
|
913
913
|
{
|
|
914
914
|
"body": {
|
|
915
915
|
"nodeType": "YulBlock",
|
|
916
|
-
"src": "1018:76:
|
|
916
|
+
"src": "1018:76:111",
|
|
917
917
|
"statements": [
|
|
918
918
|
{
|
|
919
919
|
"nodeType": "YulAssignment",
|
|
920
|
-
"src": "1028:26:
|
|
920
|
+
"src": "1028:26:111",
|
|
921
921
|
"value": {
|
|
922
922
|
"arguments": [
|
|
923
923
|
{
|
|
924
924
|
"name": "headStart",
|
|
925
925
|
"nodeType": "YulIdentifier",
|
|
926
|
-
"src": "1040:9:
|
|
926
|
+
"src": "1040:9:111"
|
|
927
927
|
},
|
|
928
928
|
{
|
|
929
929
|
"kind": "number",
|
|
930
930
|
"nodeType": "YulLiteral",
|
|
931
|
-
"src": "1051:2:
|
|
931
|
+
"src": "1051:2:111",
|
|
932
932
|
"type": "",
|
|
933
933
|
"value": "32"
|
|
934
934
|
}
|
|
@@ -936,16 +936,16 @@
|
|
|
936
936
|
"functionName": {
|
|
937
937
|
"name": "add",
|
|
938
938
|
"nodeType": "YulIdentifier",
|
|
939
|
-
"src": "1036:3:
|
|
939
|
+
"src": "1036:3:111"
|
|
940
940
|
},
|
|
941
941
|
"nodeType": "YulFunctionCall",
|
|
942
|
-
"src": "1036:18:
|
|
942
|
+
"src": "1036:18:111"
|
|
943
943
|
},
|
|
944
944
|
"variableNames": [
|
|
945
945
|
{
|
|
946
946
|
"name": "tail",
|
|
947
947
|
"nodeType": "YulIdentifier",
|
|
948
|
-
"src": "1028:4:
|
|
948
|
+
"src": "1028:4:111"
|
|
949
949
|
}
|
|
950
950
|
]
|
|
951
951
|
},
|
|
@@ -955,24 +955,24 @@
|
|
|
955
955
|
{
|
|
956
956
|
"name": "headStart",
|
|
957
957
|
"nodeType": "YulIdentifier",
|
|
958
|
-
"src": "1070:9:
|
|
958
|
+
"src": "1070:9:111"
|
|
959
959
|
},
|
|
960
960
|
{
|
|
961
961
|
"name": "value0",
|
|
962
962
|
"nodeType": "YulIdentifier",
|
|
963
|
-
"src": "1081:6:
|
|
963
|
+
"src": "1081:6:111"
|
|
964
964
|
}
|
|
965
965
|
],
|
|
966
966
|
"functionName": {
|
|
967
967
|
"name": "mstore",
|
|
968
968
|
"nodeType": "YulIdentifier",
|
|
969
|
-
"src": "1063:6:
|
|
969
|
+
"src": "1063:6:111"
|
|
970
970
|
},
|
|
971
971
|
"nodeType": "YulFunctionCall",
|
|
972
|
-
"src": "1063:25:
|
|
972
|
+
"src": "1063:25:111"
|
|
973
973
|
},
|
|
974
974
|
"nodeType": "YulExpressionStatement",
|
|
975
|
-
"src": "1063:25:
|
|
975
|
+
"src": "1063:25:111"
|
|
976
976
|
}
|
|
977
977
|
]
|
|
978
978
|
},
|
|
@@ -982,13 +982,13 @@
|
|
|
982
982
|
{
|
|
983
983
|
"name": "headStart",
|
|
984
984
|
"nodeType": "YulTypedName",
|
|
985
|
-
"src": "987:9:
|
|
985
|
+
"src": "987:9:111",
|
|
986
986
|
"type": ""
|
|
987
987
|
},
|
|
988
988
|
{
|
|
989
989
|
"name": "value0",
|
|
990
990
|
"nodeType": "YulTypedName",
|
|
991
|
-
"src": "998:6:
|
|
991
|
+
"src": "998:6:111",
|
|
992
992
|
"type": ""
|
|
993
993
|
}
|
|
994
994
|
],
|
|
@@ -996,21 +996,21 @@
|
|
|
996
996
|
{
|
|
997
997
|
"name": "tail",
|
|
998
998
|
"nodeType": "YulTypedName",
|
|
999
|
-
"src": "1009:4:
|
|
999
|
+
"src": "1009:4:111",
|
|
1000
1000
|
"type": ""
|
|
1001
1001
|
}
|
|
1002
1002
|
],
|
|
1003
|
-
"src": "917:177:
|
|
1003
|
+
"src": "917:177:111"
|
|
1004
1004
|
},
|
|
1005
1005
|
{
|
|
1006
1006
|
"body": {
|
|
1007
1007
|
"nodeType": "YulBlock",
|
|
1008
|
-
"src": "1169:110:
|
|
1008
|
+
"src": "1169:110:111",
|
|
1009
1009
|
"statements": [
|
|
1010
1010
|
{
|
|
1011
1011
|
"body": {
|
|
1012
1012
|
"nodeType": "YulBlock",
|
|
1013
|
-
"src": "1215:16:
|
|
1013
|
+
"src": "1215:16:111",
|
|
1014
1014
|
"statements": [
|
|
1015
1015
|
{
|
|
1016
1016
|
"expression": {
|
|
@@ -1018,14 +1018,14 @@
|
|
|
1018
1018
|
{
|
|
1019
1019
|
"kind": "number",
|
|
1020
1020
|
"nodeType": "YulLiteral",
|
|
1021
|
-
"src": "1224:1:
|
|
1021
|
+
"src": "1224:1:111",
|
|
1022
1022
|
"type": "",
|
|
1023
1023
|
"value": "0"
|
|
1024
1024
|
},
|
|
1025
1025
|
{
|
|
1026
1026
|
"kind": "number",
|
|
1027
1027
|
"nodeType": "YulLiteral",
|
|
1028
|
-
"src": "1227:1:
|
|
1028
|
+
"src": "1227:1:111",
|
|
1029
1029
|
"type": "",
|
|
1030
1030
|
"value": "0"
|
|
1031
1031
|
}
|
|
@@ -1033,13 +1033,13 @@
|
|
|
1033
1033
|
"functionName": {
|
|
1034
1034
|
"name": "revert",
|
|
1035
1035
|
"nodeType": "YulIdentifier",
|
|
1036
|
-
"src": "1217:6:
|
|
1036
|
+
"src": "1217:6:111"
|
|
1037
1037
|
},
|
|
1038
1038
|
"nodeType": "YulFunctionCall",
|
|
1039
|
-
"src": "1217:12:
|
|
1039
|
+
"src": "1217:12:111"
|
|
1040
1040
|
},
|
|
1041
1041
|
"nodeType": "YulExpressionStatement",
|
|
1042
|
-
"src": "1217:12:
|
|
1042
|
+
"src": "1217:12:111"
|
|
1043
1043
|
}
|
|
1044
1044
|
]
|
|
1045
1045
|
},
|
|
@@ -1050,26 +1050,26 @@
|
|
|
1050
1050
|
{
|
|
1051
1051
|
"name": "dataEnd",
|
|
1052
1052
|
"nodeType": "YulIdentifier",
|
|
1053
|
-
"src": "1190:7:
|
|
1053
|
+
"src": "1190:7:111"
|
|
1054
1054
|
},
|
|
1055
1055
|
{
|
|
1056
1056
|
"name": "headStart",
|
|
1057
1057
|
"nodeType": "YulIdentifier",
|
|
1058
|
-
"src": "1199:9:
|
|
1058
|
+
"src": "1199:9:111"
|
|
1059
1059
|
}
|
|
1060
1060
|
],
|
|
1061
1061
|
"functionName": {
|
|
1062
1062
|
"name": "sub",
|
|
1063
1063
|
"nodeType": "YulIdentifier",
|
|
1064
|
-
"src": "1186:3:
|
|
1064
|
+
"src": "1186:3:111"
|
|
1065
1065
|
},
|
|
1066
1066
|
"nodeType": "YulFunctionCall",
|
|
1067
|
-
"src": "1186:23:
|
|
1067
|
+
"src": "1186:23:111"
|
|
1068
1068
|
},
|
|
1069
1069
|
{
|
|
1070
1070
|
"kind": "number",
|
|
1071
1071
|
"nodeType": "YulLiteral",
|
|
1072
|
-
"src": "1211:2:
|
|
1072
|
+
"src": "1211:2:111",
|
|
1073
1073
|
"type": "",
|
|
1074
1074
|
"value": "32"
|
|
1075
1075
|
}
|
|
@@ -1077,38 +1077,38 @@
|
|
|
1077
1077
|
"functionName": {
|
|
1078
1078
|
"name": "slt",
|
|
1079
1079
|
"nodeType": "YulIdentifier",
|
|
1080
|
-
"src": "1182:3:
|
|
1080
|
+
"src": "1182:3:111"
|
|
1081
1081
|
},
|
|
1082
1082
|
"nodeType": "YulFunctionCall",
|
|
1083
|
-
"src": "1182:32:
|
|
1083
|
+
"src": "1182:32:111"
|
|
1084
1084
|
},
|
|
1085
1085
|
"nodeType": "YulIf",
|
|
1086
|
-
"src": "1179:52:
|
|
1086
|
+
"src": "1179:52:111"
|
|
1087
1087
|
},
|
|
1088
1088
|
{
|
|
1089
1089
|
"nodeType": "YulAssignment",
|
|
1090
|
-
"src": "1240:33:
|
|
1090
|
+
"src": "1240:33:111",
|
|
1091
1091
|
"value": {
|
|
1092
1092
|
"arguments": [
|
|
1093
1093
|
{
|
|
1094
1094
|
"name": "headStart",
|
|
1095
1095
|
"nodeType": "YulIdentifier",
|
|
1096
|
-
"src": "1263:9:
|
|
1096
|
+
"src": "1263:9:111"
|
|
1097
1097
|
}
|
|
1098
1098
|
],
|
|
1099
1099
|
"functionName": {
|
|
1100
1100
|
"name": "calldataload",
|
|
1101
1101
|
"nodeType": "YulIdentifier",
|
|
1102
|
-
"src": "1250:12:
|
|
1102
|
+
"src": "1250:12:111"
|
|
1103
1103
|
},
|
|
1104
1104
|
"nodeType": "YulFunctionCall",
|
|
1105
|
-
"src": "1250:23:
|
|
1105
|
+
"src": "1250:23:111"
|
|
1106
1106
|
},
|
|
1107
1107
|
"variableNames": [
|
|
1108
1108
|
{
|
|
1109
1109
|
"name": "value0",
|
|
1110
1110
|
"nodeType": "YulIdentifier",
|
|
1111
|
-
"src": "1240:6:
|
|
1111
|
+
"src": "1240:6:111"
|
|
1112
1112
|
}
|
|
1113
1113
|
]
|
|
1114
1114
|
}
|
|
@@ -1120,13 +1120,13 @@
|
|
|
1120
1120
|
{
|
|
1121
1121
|
"name": "headStart",
|
|
1122
1122
|
"nodeType": "YulTypedName",
|
|
1123
|
-
"src": "1135:9:
|
|
1123
|
+
"src": "1135:9:111",
|
|
1124
1124
|
"type": ""
|
|
1125
1125
|
},
|
|
1126
1126
|
{
|
|
1127
1127
|
"name": "dataEnd",
|
|
1128
1128
|
"nodeType": "YulTypedName",
|
|
1129
|
-
"src": "1146:7:
|
|
1129
|
+
"src": "1146:7:111",
|
|
1130
1130
|
"type": ""
|
|
1131
1131
|
}
|
|
1132
1132
|
],
|
|
@@ -1134,21 +1134,21 @@
|
|
|
1134
1134
|
{
|
|
1135
1135
|
"name": "value0",
|
|
1136
1136
|
"nodeType": "YulTypedName",
|
|
1137
|
-
"src": "1158:6:
|
|
1137
|
+
"src": "1158:6:111",
|
|
1138
1138
|
"type": ""
|
|
1139
1139
|
}
|
|
1140
1140
|
],
|
|
1141
|
-
"src": "1099:180:
|
|
1141
|
+
"src": "1099:180:111"
|
|
1142
1142
|
},
|
|
1143
1143
|
{
|
|
1144
1144
|
"body": {
|
|
1145
1145
|
"nodeType": "YulBlock",
|
|
1146
|
-
"src": "1354:216:
|
|
1146
|
+
"src": "1354:216:111",
|
|
1147
1147
|
"statements": [
|
|
1148
1148
|
{
|
|
1149
1149
|
"body": {
|
|
1150
1150
|
"nodeType": "YulBlock",
|
|
1151
|
-
"src": "1400:16:
|
|
1151
|
+
"src": "1400:16:111",
|
|
1152
1152
|
"statements": [
|
|
1153
1153
|
{
|
|
1154
1154
|
"expression": {
|
|
@@ -1156,14 +1156,14 @@
|
|
|
1156
1156
|
{
|
|
1157
1157
|
"kind": "number",
|
|
1158
1158
|
"nodeType": "YulLiteral",
|
|
1159
|
-
"src": "1409:1:
|
|
1159
|
+
"src": "1409:1:111",
|
|
1160
1160
|
"type": "",
|
|
1161
1161
|
"value": "0"
|
|
1162
1162
|
},
|
|
1163
1163
|
{
|
|
1164
1164
|
"kind": "number",
|
|
1165
1165
|
"nodeType": "YulLiteral",
|
|
1166
|
-
"src": "1412:1:
|
|
1166
|
+
"src": "1412:1:111",
|
|
1167
1167
|
"type": "",
|
|
1168
1168
|
"value": "0"
|
|
1169
1169
|
}
|
|
@@ -1171,13 +1171,13 @@
|
|
|
1171
1171
|
"functionName": {
|
|
1172
1172
|
"name": "revert",
|
|
1173
1173
|
"nodeType": "YulIdentifier",
|
|
1174
|
-
"src": "1402:6:
|
|
1174
|
+
"src": "1402:6:111"
|
|
1175
1175
|
},
|
|
1176
1176
|
"nodeType": "YulFunctionCall",
|
|
1177
|
-
"src": "1402:12:
|
|
1177
|
+
"src": "1402:12:111"
|
|
1178
1178
|
},
|
|
1179
1179
|
"nodeType": "YulExpressionStatement",
|
|
1180
|
-
"src": "1402:12:
|
|
1180
|
+
"src": "1402:12:111"
|
|
1181
1181
|
}
|
|
1182
1182
|
]
|
|
1183
1183
|
},
|
|
@@ -1188,26 +1188,26 @@
|
|
|
1188
1188
|
{
|
|
1189
1189
|
"name": "dataEnd",
|
|
1190
1190
|
"nodeType": "YulIdentifier",
|
|
1191
|
-
"src": "1375:7:
|
|
1191
|
+
"src": "1375:7:111"
|
|
1192
1192
|
},
|
|
1193
1193
|
{
|
|
1194
1194
|
"name": "headStart",
|
|
1195
1195
|
"nodeType": "YulIdentifier",
|
|
1196
|
-
"src": "1384:9:
|
|
1196
|
+
"src": "1384:9:111"
|
|
1197
1197
|
}
|
|
1198
1198
|
],
|
|
1199
1199
|
"functionName": {
|
|
1200
1200
|
"name": "sub",
|
|
1201
1201
|
"nodeType": "YulIdentifier",
|
|
1202
|
-
"src": "1371:3:
|
|
1202
|
+
"src": "1371:3:111"
|
|
1203
1203
|
},
|
|
1204
1204
|
"nodeType": "YulFunctionCall",
|
|
1205
|
-
"src": "1371:23:
|
|
1205
|
+
"src": "1371:23:111"
|
|
1206
1206
|
},
|
|
1207
1207
|
{
|
|
1208
1208
|
"kind": "number",
|
|
1209
1209
|
"nodeType": "YulLiteral",
|
|
1210
|
-
"src": "1396:2:
|
|
1210
|
+
"src": "1396:2:111",
|
|
1211
1211
|
"type": "",
|
|
1212
1212
|
"value": "32"
|
|
1213
1213
|
}
|
|
@@ -1215,38 +1215,38 @@
|
|
|
1215
1215
|
"functionName": {
|
|
1216
1216
|
"name": "slt",
|
|
1217
1217
|
"nodeType": "YulIdentifier",
|
|
1218
|
-
"src": "1367:3:
|
|
1218
|
+
"src": "1367:3:111"
|
|
1219
1219
|
},
|
|
1220
1220
|
"nodeType": "YulFunctionCall",
|
|
1221
|
-
"src": "1367:32:
|
|
1221
|
+
"src": "1367:32:111"
|
|
1222
1222
|
},
|
|
1223
1223
|
"nodeType": "YulIf",
|
|
1224
|
-
"src": "1364:52:
|
|
1224
|
+
"src": "1364:52:111"
|
|
1225
1225
|
},
|
|
1226
1226
|
{
|
|
1227
1227
|
"nodeType": "YulVariableDeclaration",
|
|
1228
|
-
"src": "1425:36:
|
|
1228
|
+
"src": "1425:36:111",
|
|
1229
1229
|
"value": {
|
|
1230
1230
|
"arguments": [
|
|
1231
1231
|
{
|
|
1232
1232
|
"name": "headStart",
|
|
1233
1233
|
"nodeType": "YulIdentifier",
|
|
1234
|
-
"src": "1451:9:
|
|
1234
|
+
"src": "1451:9:111"
|
|
1235
1235
|
}
|
|
1236
1236
|
],
|
|
1237
1237
|
"functionName": {
|
|
1238
1238
|
"name": "calldataload",
|
|
1239
1239
|
"nodeType": "YulIdentifier",
|
|
1240
|
-
"src": "1438:12:
|
|
1240
|
+
"src": "1438:12:111"
|
|
1241
1241
|
},
|
|
1242
1242
|
"nodeType": "YulFunctionCall",
|
|
1243
|
-
"src": "1438:23:
|
|
1243
|
+
"src": "1438:23:111"
|
|
1244
1244
|
},
|
|
1245
1245
|
"variables": [
|
|
1246
1246
|
{
|
|
1247
1247
|
"name": "value",
|
|
1248
1248
|
"nodeType": "YulTypedName",
|
|
1249
|
-
"src": "1429:5:
|
|
1249
|
+
"src": "1429:5:111",
|
|
1250
1250
|
"type": ""
|
|
1251
1251
|
}
|
|
1252
1252
|
]
|
|
@@ -1254,7 +1254,7 @@
|
|
|
1254
1254
|
{
|
|
1255
1255
|
"body": {
|
|
1256
1256
|
"nodeType": "YulBlock",
|
|
1257
|
-
"src": "1524:16:
|
|
1257
|
+
"src": "1524:16:111",
|
|
1258
1258
|
"statements": [
|
|
1259
1259
|
{
|
|
1260
1260
|
"expression": {
|
|
@@ -1262,14 +1262,14 @@
|
|
|
1262
1262
|
{
|
|
1263
1263
|
"kind": "number",
|
|
1264
1264
|
"nodeType": "YulLiteral",
|
|
1265
|
-
"src": "1533:1:
|
|
1265
|
+
"src": "1533:1:111",
|
|
1266
1266
|
"type": "",
|
|
1267
1267
|
"value": "0"
|
|
1268
1268
|
},
|
|
1269
1269
|
{
|
|
1270
1270
|
"kind": "number",
|
|
1271
1271
|
"nodeType": "YulLiteral",
|
|
1272
|
-
"src": "1536:1:
|
|
1272
|
+
"src": "1536:1:111",
|
|
1273
1273
|
"type": "",
|
|
1274
1274
|
"value": "0"
|
|
1275
1275
|
}
|
|
@@ -1277,13 +1277,13 @@
|
|
|
1277
1277
|
"functionName": {
|
|
1278
1278
|
"name": "revert",
|
|
1279
1279
|
"nodeType": "YulIdentifier",
|
|
1280
|
-
"src": "1526:6:
|
|
1280
|
+
"src": "1526:6:111"
|
|
1281
1281
|
},
|
|
1282
1282
|
"nodeType": "YulFunctionCall",
|
|
1283
|
-
"src": "1526:12:
|
|
1283
|
+
"src": "1526:12:111"
|
|
1284
1284
|
},
|
|
1285
1285
|
"nodeType": "YulExpressionStatement",
|
|
1286
|
-
"src": "1526:12:
|
|
1286
|
+
"src": "1526:12:111"
|
|
1287
1287
|
}
|
|
1288
1288
|
]
|
|
1289
1289
|
},
|
|
@@ -1294,14 +1294,14 @@
|
|
|
1294
1294
|
{
|
|
1295
1295
|
"name": "value",
|
|
1296
1296
|
"nodeType": "YulIdentifier",
|
|
1297
|
-
"src": "1483:5:
|
|
1297
|
+
"src": "1483:5:111"
|
|
1298
1298
|
},
|
|
1299
1299
|
{
|
|
1300
1300
|
"arguments": [
|
|
1301
1301
|
{
|
|
1302
1302
|
"name": "value",
|
|
1303
1303
|
"nodeType": "YulIdentifier",
|
|
1304
|
-
"src": "1494:5:
|
|
1304
|
+
"src": "1494:5:111"
|
|
1305
1305
|
},
|
|
1306
1306
|
{
|
|
1307
1307
|
"arguments": [
|
|
@@ -1310,14 +1310,14 @@
|
|
|
1310
1310
|
{
|
|
1311
1311
|
"kind": "number",
|
|
1312
1312
|
"nodeType": "YulLiteral",
|
|
1313
|
-
"src": "1509:3:
|
|
1313
|
+
"src": "1509:3:111",
|
|
1314
1314
|
"type": "",
|
|
1315
1315
|
"value": "160"
|
|
1316
1316
|
},
|
|
1317
1317
|
{
|
|
1318
1318
|
"kind": "number",
|
|
1319
1319
|
"nodeType": "YulLiteral",
|
|
1320
|
-
"src": "1514:1:
|
|
1320
|
+
"src": "1514:1:111",
|
|
1321
1321
|
"type": "",
|
|
1322
1322
|
"value": "1"
|
|
1323
1323
|
}
|
|
@@ -1325,15 +1325,15 @@
|
|
|
1325
1325
|
"functionName": {
|
|
1326
1326
|
"name": "shl",
|
|
1327
1327
|
"nodeType": "YulIdentifier",
|
|
1328
|
-
"src": "1505:3:
|
|
1328
|
+
"src": "1505:3:111"
|
|
1329
1329
|
},
|
|
1330
1330
|
"nodeType": "YulFunctionCall",
|
|
1331
|
-
"src": "1505:11:
|
|
1331
|
+
"src": "1505:11:111"
|
|
1332
1332
|
},
|
|
1333
1333
|
{
|
|
1334
1334
|
"kind": "number",
|
|
1335
1335
|
"nodeType": "YulLiteral",
|
|
1336
|
-
"src": "1518:1:
|
|
1336
|
+
"src": "1518:1:111",
|
|
1337
1337
|
"type": "",
|
|
1338
1338
|
"value": "1"
|
|
1339
1339
|
}
|
|
@@ -1341,54 +1341,54 @@
|
|
|
1341
1341
|
"functionName": {
|
|
1342
1342
|
"name": "sub",
|
|
1343
1343
|
"nodeType": "YulIdentifier",
|
|
1344
|
-
"src": "1501:3:
|
|
1344
|
+
"src": "1501:3:111"
|
|
1345
1345
|
},
|
|
1346
1346
|
"nodeType": "YulFunctionCall",
|
|
1347
|
-
"src": "1501:19:
|
|
1347
|
+
"src": "1501:19:111"
|
|
1348
1348
|
}
|
|
1349
1349
|
],
|
|
1350
1350
|
"functionName": {
|
|
1351
1351
|
"name": "and",
|
|
1352
1352
|
"nodeType": "YulIdentifier",
|
|
1353
|
-
"src": "1490:3:
|
|
1353
|
+
"src": "1490:3:111"
|
|
1354
1354
|
},
|
|
1355
1355
|
"nodeType": "YulFunctionCall",
|
|
1356
|
-
"src": "1490:31:
|
|
1356
|
+
"src": "1490:31:111"
|
|
1357
1357
|
}
|
|
1358
1358
|
],
|
|
1359
1359
|
"functionName": {
|
|
1360
1360
|
"name": "eq",
|
|
1361
1361
|
"nodeType": "YulIdentifier",
|
|
1362
|
-
"src": "1480:2:
|
|
1362
|
+
"src": "1480:2:111"
|
|
1363
1363
|
},
|
|
1364
1364
|
"nodeType": "YulFunctionCall",
|
|
1365
|
-
"src": "1480:42:
|
|
1365
|
+
"src": "1480:42:111"
|
|
1366
1366
|
}
|
|
1367
1367
|
],
|
|
1368
1368
|
"functionName": {
|
|
1369
1369
|
"name": "iszero",
|
|
1370
1370
|
"nodeType": "YulIdentifier",
|
|
1371
|
-
"src": "1473:6:
|
|
1371
|
+
"src": "1473:6:111"
|
|
1372
1372
|
},
|
|
1373
1373
|
"nodeType": "YulFunctionCall",
|
|
1374
|
-
"src": "1473:50:
|
|
1374
|
+
"src": "1473:50:111"
|
|
1375
1375
|
},
|
|
1376
1376
|
"nodeType": "YulIf",
|
|
1377
|
-
"src": "1470:70:
|
|
1377
|
+
"src": "1470:70:111"
|
|
1378
1378
|
},
|
|
1379
1379
|
{
|
|
1380
1380
|
"nodeType": "YulAssignment",
|
|
1381
|
-
"src": "1549:15:
|
|
1381
|
+
"src": "1549:15:111",
|
|
1382
1382
|
"value": {
|
|
1383
1383
|
"name": "value",
|
|
1384
1384
|
"nodeType": "YulIdentifier",
|
|
1385
|
-
"src": "1559:5:
|
|
1385
|
+
"src": "1559:5:111"
|
|
1386
1386
|
},
|
|
1387
1387
|
"variableNames": [
|
|
1388
1388
|
{
|
|
1389
1389
|
"name": "value0",
|
|
1390
1390
|
"nodeType": "YulIdentifier",
|
|
1391
|
-
"src": "1549:6:
|
|
1391
|
+
"src": "1549:6:111"
|
|
1392
1392
|
}
|
|
1393
1393
|
]
|
|
1394
1394
|
}
|
|
@@ -1400,13 +1400,13 @@
|
|
|
1400
1400
|
{
|
|
1401
1401
|
"name": "headStart",
|
|
1402
1402
|
"nodeType": "YulTypedName",
|
|
1403
|
-
"src": "1320:9:
|
|
1403
|
+
"src": "1320:9:111",
|
|
1404
1404
|
"type": ""
|
|
1405
1405
|
},
|
|
1406
1406
|
{
|
|
1407
1407
|
"name": "dataEnd",
|
|
1408
1408
|
"nodeType": "YulTypedName",
|
|
1409
|
-
"src": "1331:7:
|
|
1409
|
+
"src": "1331:7:111",
|
|
1410
1410
|
"type": ""
|
|
1411
1411
|
}
|
|
1412
1412
|
],
|
|
@@ -1414,16 +1414,16 @@
|
|
|
1414
1414
|
{
|
|
1415
1415
|
"name": "value0",
|
|
1416
1416
|
"nodeType": "YulTypedName",
|
|
1417
|
-
"src": "1343:6:
|
|
1417
|
+
"src": "1343:6:111",
|
|
1418
1418
|
"type": ""
|
|
1419
1419
|
}
|
|
1420
1420
|
],
|
|
1421
|
-
"src": "1284:286:
|
|
1421
|
+
"src": "1284:286:111"
|
|
1422
1422
|
},
|
|
1423
1423
|
{
|
|
1424
1424
|
"body": {
|
|
1425
1425
|
"nodeType": "YulBlock",
|
|
1426
|
-
"src": "1749:173:
|
|
1426
|
+
"src": "1749:173:111",
|
|
1427
1427
|
"statements": [
|
|
1428
1428
|
{
|
|
1429
1429
|
"expression": {
|
|
@@ -1431,12 +1431,12 @@
|
|
|
1431
1431
|
{
|
|
1432
1432
|
"name": "headStart",
|
|
1433
1433
|
"nodeType": "YulIdentifier",
|
|
1434
|
-
"src": "1766:9:
|
|
1434
|
+
"src": "1766:9:111"
|
|
1435
1435
|
},
|
|
1436
1436
|
{
|
|
1437
1437
|
"kind": "number",
|
|
1438
1438
|
"nodeType": "YulLiteral",
|
|
1439
|
-
"src": "1777:2:
|
|
1439
|
+
"src": "1777:2:111",
|
|
1440
1440
|
"type": "",
|
|
1441
1441
|
"value": "32"
|
|
1442
1442
|
}
|
|
@@ -1444,13 +1444,13 @@
|
|
|
1444
1444
|
"functionName": {
|
|
1445
1445
|
"name": "mstore",
|
|
1446
1446
|
"nodeType": "YulIdentifier",
|
|
1447
|
-
"src": "1759:6:
|
|
1447
|
+
"src": "1759:6:111"
|
|
1448
1448
|
},
|
|
1449
1449
|
"nodeType": "YulFunctionCall",
|
|
1450
|
-
"src": "1759:21:
|
|
1450
|
+
"src": "1759:21:111"
|
|
1451
1451
|
},
|
|
1452
1452
|
"nodeType": "YulExpressionStatement",
|
|
1453
|
-
"src": "1759:21:
|
|
1453
|
+
"src": "1759:21:111"
|
|
1454
1454
|
},
|
|
1455
1455
|
{
|
|
1456
1456
|
"expression": {
|
|
@@ -1460,12 +1460,12 @@
|
|
|
1460
1460
|
{
|
|
1461
1461
|
"name": "headStart",
|
|
1462
1462
|
"nodeType": "YulIdentifier",
|
|
1463
|
-
"src": "1800:9:
|
|
1463
|
+
"src": "1800:9:111"
|
|
1464
1464
|
},
|
|
1465
1465
|
{
|
|
1466
1466
|
"kind": "number",
|
|
1467
1467
|
"nodeType": "YulLiteral",
|
|
1468
|
-
"src": "1811:2:
|
|
1468
|
+
"src": "1811:2:111",
|
|
1469
1469
|
"type": "",
|
|
1470
1470
|
"value": "32"
|
|
1471
1471
|
}
|
|
@@ -1473,15 +1473,15 @@
|
|
|
1473
1473
|
"functionName": {
|
|
1474
1474
|
"name": "add",
|
|
1475
1475
|
"nodeType": "YulIdentifier",
|
|
1476
|
-
"src": "1796:3:
|
|
1476
|
+
"src": "1796:3:111"
|
|
1477
1477
|
},
|
|
1478
1478
|
"nodeType": "YulFunctionCall",
|
|
1479
|
-
"src": "1796:18:
|
|
1479
|
+
"src": "1796:18:111"
|
|
1480
1480
|
},
|
|
1481
1481
|
{
|
|
1482
1482
|
"kind": "number",
|
|
1483
1483
|
"nodeType": "YulLiteral",
|
|
1484
|
-
"src": "1816:2:
|
|
1484
|
+
"src": "1816:2:111",
|
|
1485
1485
|
"type": "",
|
|
1486
1486
|
"value": "23"
|
|
1487
1487
|
}
|
|
@@ -1489,13 +1489,13 @@
|
|
|
1489
1489
|
"functionName": {
|
|
1490
1490
|
"name": "mstore",
|
|
1491
1491
|
"nodeType": "YulIdentifier",
|
|
1492
|
-
"src": "1789:6:
|
|
1492
|
+
"src": "1789:6:111"
|
|
1493
1493
|
},
|
|
1494
1494
|
"nodeType": "YulFunctionCall",
|
|
1495
|
-
"src": "1789:30:
|
|
1495
|
+
"src": "1789:30:111"
|
|
1496
1496
|
},
|
|
1497
1497
|
"nodeType": "YulExpressionStatement",
|
|
1498
|
-
"src": "1789:30:
|
|
1498
|
+
"src": "1789:30:111"
|
|
1499
1499
|
},
|
|
1500
1500
|
{
|
|
1501
1501
|
"expression": {
|
|
@@ -1505,12 +1505,12 @@
|
|
|
1505
1505
|
{
|
|
1506
1506
|
"name": "headStart",
|
|
1507
1507
|
"nodeType": "YulIdentifier",
|
|
1508
|
-
"src": "1839:9:
|
|
1508
|
+
"src": "1839:9:111"
|
|
1509
1509
|
},
|
|
1510
1510
|
{
|
|
1511
1511
|
"kind": "number",
|
|
1512
1512
|
"nodeType": "YulLiteral",
|
|
1513
|
-
"src": "1850:2:
|
|
1513
|
+
"src": "1850:2:111",
|
|
1514
1514
|
"type": "",
|
|
1515
1515
|
"value": "64"
|
|
1516
1516
|
}
|
|
@@ -1518,16 +1518,16 @@
|
|
|
1518
1518
|
"functionName": {
|
|
1519
1519
|
"name": "add",
|
|
1520
1520
|
"nodeType": "YulIdentifier",
|
|
1521
|
-
"src": "1835:3:
|
|
1521
|
+
"src": "1835:3:111"
|
|
1522
1522
|
},
|
|
1523
1523
|
"nodeType": "YulFunctionCall",
|
|
1524
|
-
"src": "1835:18:
|
|
1524
|
+
"src": "1835:18:111"
|
|
1525
1525
|
},
|
|
1526
1526
|
{
|
|
1527
1527
|
"hexValue": "5555505350726f78793a207a65726f2061646472657373",
|
|
1528
1528
|
"kind": "string",
|
|
1529
1529
|
"nodeType": "YulLiteral",
|
|
1530
|
-
"src": "1855:25:
|
|
1530
|
+
"src": "1855:25:111",
|
|
1531
1531
|
"type": "",
|
|
1532
1532
|
"value": "UUPSProxy: zero address"
|
|
1533
1533
|
}
|
|
@@ -1535,28 +1535,28 @@
|
|
|
1535
1535
|
"functionName": {
|
|
1536
1536
|
"name": "mstore",
|
|
1537
1537
|
"nodeType": "YulIdentifier",
|
|
1538
|
-
"src": "1828:6:
|
|
1538
|
+
"src": "1828:6:111"
|
|
1539
1539
|
},
|
|
1540
1540
|
"nodeType": "YulFunctionCall",
|
|
1541
|
-
"src": "1828:53:
|
|
1541
|
+
"src": "1828:53:111"
|
|
1542
1542
|
},
|
|
1543
1543
|
"nodeType": "YulExpressionStatement",
|
|
1544
|
-
"src": "1828:53:
|
|
1544
|
+
"src": "1828:53:111"
|
|
1545
1545
|
},
|
|
1546
1546
|
{
|
|
1547
1547
|
"nodeType": "YulAssignment",
|
|
1548
|
-
"src": "1890:26:
|
|
1548
|
+
"src": "1890:26:111",
|
|
1549
1549
|
"value": {
|
|
1550
1550
|
"arguments": [
|
|
1551
1551
|
{
|
|
1552
1552
|
"name": "headStart",
|
|
1553
1553
|
"nodeType": "YulIdentifier",
|
|
1554
|
-
"src": "1902:9:
|
|
1554
|
+
"src": "1902:9:111"
|
|
1555
1555
|
},
|
|
1556
1556
|
{
|
|
1557
1557
|
"kind": "number",
|
|
1558
1558
|
"nodeType": "YulLiteral",
|
|
1559
|
-
"src": "1913:2:
|
|
1559
|
+
"src": "1913:2:111",
|
|
1560
1560
|
"type": "",
|
|
1561
1561
|
"value": "96"
|
|
1562
1562
|
}
|
|
@@ -1564,16 +1564,16 @@
|
|
|
1564
1564
|
"functionName": {
|
|
1565
1565
|
"name": "add",
|
|
1566
1566
|
"nodeType": "YulIdentifier",
|
|
1567
|
-
"src": "1898:3:
|
|
1567
|
+
"src": "1898:3:111"
|
|
1568
1568
|
},
|
|
1569
1569
|
"nodeType": "YulFunctionCall",
|
|
1570
|
-
"src": "1898:18:
|
|
1570
|
+
"src": "1898:18:111"
|
|
1571
1571
|
},
|
|
1572
1572
|
"variableNames": [
|
|
1573
1573
|
{
|
|
1574
1574
|
"name": "tail",
|
|
1575
1575
|
"nodeType": "YulIdentifier",
|
|
1576
|
-
"src": "1890:4:
|
|
1576
|
+
"src": "1890:4:111"
|
|
1577
1577
|
}
|
|
1578
1578
|
]
|
|
1579
1579
|
}
|
|
@@ -1585,7 +1585,7 @@
|
|
|
1585
1585
|
{
|
|
1586
1586
|
"name": "headStart",
|
|
1587
1587
|
"nodeType": "YulTypedName",
|
|
1588
|
-
"src": "1726:9:
|
|
1588
|
+
"src": "1726:9:111",
|
|
1589
1589
|
"type": ""
|
|
1590
1590
|
}
|
|
1591
1591
|
],
|
|
@@ -1593,16 +1593,16 @@
|
|
|
1593
1593
|
{
|
|
1594
1594
|
"name": "tail",
|
|
1595
1595
|
"nodeType": "YulTypedName",
|
|
1596
|
-
"src": "1740:4:
|
|
1596
|
+
"src": "1740:4:111",
|
|
1597
1597
|
"type": ""
|
|
1598
1598
|
}
|
|
1599
1599
|
],
|
|
1600
|
-
"src": "1575:347:
|
|
1600
|
+
"src": "1575:347:111"
|
|
1601
1601
|
},
|
|
1602
1602
|
{
|
|
1603
1603
|
"body": {
|
|
1604
1604
|
"nodeType": "YulBlock",
|
|
1605
|
-
"src": "2101:180:
|
|
1605
|
+
"src": "2101:180:111",
|
|
1606
1606
|
"statements": [
|
|
1607
1607
|
{
|
|
1608
1608
|
"expression": {
|
|
@@ -1610,12 +1610,12 @@
|
|
|
1610
1610
|
{
|
|
1611
1611
|
"name": "headStart",
|
|
1612
1612
|
"nodeType": "YulIdentifier",
|
|
1613
|
-
"src": "2118:9:
|
|
1613
|
+
"src": "2118:9:111"
|
|
1614
1614
|
},
|
|
1615
1615
|
{
|
|
1616
1616
|
"kind": "number",
|
|
1617
1617
|
"nodeType": "YulLiteral",
|
|
1618
|
-
"src": "2129:2:
|
|
1618
|
+
"src": "2129:2:111",
|
|
1619
1619
|
"type": "",
|
|
1620
1620
|
"value": "32"
|
|
1621
1621
|
}
|
|
@@ -1623,13 +1623,13 @@
|
|
|
1623
1623
|
"functionName": {
|
|
1624
1624
|
"name": "mstore",
|
|
1625
1625
|
"nodeType": "YulIdentifier",
|
|
1626
|
-
"src": "2111:6:
|
|
1626
|
+
"src": "2111:6:111"
|
|
1627
1627
|
},
|
|
1628
1628
|
"nodeType": "YulFunctionCall",
|
|
1629
|
-
"src": "2111:21:
|
|
1629
|
+
"src": "2111:21:111"
|
|
1630
1630
|
},
|
|
1631
1631
|
"nodeType": "YulExpressionStatement",
|
|
1632
|
-
"src": "2111:21:
|
|
1632
|
+
"src": "2111:21:111"
|
|
1633
1633
|
},
|
|
1634
1634
|
{
|
|
1635
1635
|
"expression": {
|
|
@@ -1639,12 +1639,12 @@
|
|
|
1639
1639
|
{
|
|
1640
1640
|
"name": "headStart",
|
|
1641
1641
|
"nodeType": "YulIdentifier",
|
|
1642
|
-
"src": "2152:9:
|
|
1642
|
+
"src": "2152:9:111"
|
|
1643
1643
|
},
|
|
1644
1644
|
{
|
|
1645
1645
|
"kind": "number",
|
|
1646
1646
|
"nodeType": "YulLiteral",
|
|
1647
|
-
"src": "2163:2:
|
|
1647
|
+
"src": "2163:2:111",
|
|
1648
1648
|
"type": "",
|
|
1649
1649
|
"value": "32"
|
|
1650
1650
|
}
|
|
@@ -1652,15 +1652,15 @@
|
|
|
1652
1652
|
"functionName": {
|
|
1653
1653
|
"name": "add",
|
|
1654
1654
|
"nodeType": "YulIdentifier",
|
|
1655
|
-
"src": "2148:3:
|
|
1655
|
+
"src": "2148:3:111"
|
|
1656
1656
|
},
|
|
1657
1657
|
"nodeType": "YulFunctionCall",
|
|
1658
|
-
"src": "2148:18:
|
|
1658
|
+
"src": "2148:18:111"
|
|
1659
1659
|
},
|
|
1660
1660
|
{
|
|
1661
1661
|
"kind": "number",
|
|
1662
1662
|
"nodeType": "YulLiteral",
|
|
1663
|
-
"src": "2168:2:
|
|
1663
|
+
"src": "2168:2:111",
|
|
1664
1664
|
"type": "",
|
|
1665
1665
|
"value": "30"
|
|
1666
1666
|
}
|
|
@@ -1668,13 +1668,13 @@
|
|
|
1668
1668
|
"functionName": {
|
|
1669
1669
|
"name": "mstore",
|
|
1670
1670
|
"nodeType": "YulIdentifier",
|
|
1671
|
-
"src": "2141:6:
|
|
1671
|
+
"src": "2141:6:111"
|
|
1672
1672
|
},
|
|
1673
1673
|
"nodeType": "YulFunctionCall",
|
|
1674
|
-
"src": "2141:30:
|
|
1674
|
+
"src": "2141:30:111"
|
|
1675
1675
|
},
|
|
1676
1676
|
"nodeType": "YulExpressionStatement",
|
|
1677
|
-
"src": "2141:30:
|
|
1677
|
+
"src": "2141:30:111"
|
|
1678
1678
|
},
|
|
1679
1679
|
{
|
|
1680
1680
|
"expression": {
|
|
@@ -1684,12 +1684,12 @@
|
|
|
1684
1684
|
{
|
|
1685
1685
|
"name": "headStart",
|
|
1686
1686
|
"nodeType": "YulIdentifier",
|
|
1687
|
-
"src": "2191:9:
|
|
1687
|
+
"src": "2191:9:111"
|
|
1688
1688
|
},
|
|
1689
1689
|
{
|
|
1690
1690
|
"kind": "number",
|
|
1691
1691
|
"nodeType": "YulLiteral",
|
|
1692
|
-
"src": "2202:2:
|
|
1692
|
+
"src": "2202:2:111",
|
|
1693
1693
|
"type": "",
|
|
1694
1694
|
"value": "64"
|
|
1695
1695
|
}
|
|
@@ -1697,16 +1697,16 @@
|
|
|
1697
1697
|
"functionName": {
|
|
1698
1698
|
"name": "add",
|
|
1699
1699
|
"nodeType": "YulIdentifier",
|
|
1700
|
-
"src": "2187:3:
|
|
1700
|
+
"src": "2187:3:111"
|
|
1701
1701
|
},
|
|
1702
1702
|
"nodeType": "YulFunctionCall",
|
|
1703
|
-
"src": "2187:18:
|
|
1703
|
+
"src": "2187:18:111"
|
|
1704
1704
|
},
|
|
1705
1705
|
{
|
|
1706
1706
|
"hexValue": "5555505350726f78793a20616c726561647920696e697469616c697a6564",
|
|
1707
1707
|
"kind": "string",
|
|
1708
1708
|
"nodeType": "YulLiteral",
|
|
1709
|
-
"src": "2207:32:
|
|
1709
|
+
"src": "2207:32:111",
|
|
1710
1710
|
"type": "",
|
|
1711
1711
|
"value": "UUPSProxy: already initialized"
|
|
1712
1712
|
}
|
|
@@ -1714,28 +1714,28 @@
|
|
|
1714
1714
|
"functionName": {
|
|
1715
1715
|
"name": "mstore",
|
|
1716
1716
|
"nodeType": "YulIdentifier",
|
|
1717
|
-
"src": "2180:6:
|
|
1717
|
+
"src": "2180:6:111"
|
|
1718
1718
|
},
|
|
1719
1719
|
"nodeType": "YulFunctionCall",
|
|
1720
|
-
"src": "2180:60:
|
|
1720
|
+
"src": "2180:60:111"
|
|
1721
1721
|
},
|
|
1722
1722
|
"nodeType": "YulExpressionStatement",
|
|
1723
|
-
"src": "2180:60:
|
|
1723
|
+
"src": "2180:60:111"
|
|
1724
1724
|
},
|
|
1725
1725
|
{
|
|
1726
1726
|
"nodeType": "YulAssignment",
|
|
1727
|
-
"src": "2249:26:
|
|
1727
|
+
"src": "2249:26:111",
|
|
1728
1728
|
"value": {
|
|
1729
1729
|
"arguments": [
|
|
1730
1730
|
{
|
|
1731
1731
|
"name": "headStart",
|
|
1732
1732
|
"nodeType": "YulIdentifier",
|
|
1733
|
-
"src": "2261:9:
|
|
1733
|
+
"src": "2261:9:111"
|
|
1734
1734
|
},
|
|
1735
1735
|
{
|
|
1736
1736
|
"kind": "number",
|
|
1737
1737
|
"nodeType": "YulLiteral",
|
|
1738
|
-
"src": "2272:2:
|
|
1738
|
+
"src": "2272:2:111",
|
|
1739
1739
|
"type": "",
|
|
1740
1740
|
"value": "96"
|
|
1741
1741
|
}
|
|
@@ -1743,16 +1743,16 @@
|
|
|
1743
1743
|
"functionName": {
|
|
1744
1744
|
"name": "add",
|
|
1745
1745
|
"nodeType": "YulIdentifier",
|
|
1746
|
-
"src": "2257:3:
|
|
1746
|
+
"src": "2257:3:111"
|
|
1747
1747
|
},
|
|
1748
1748
|
"nodeType": "YulFunctionCall",
|
|
1749
|
-
"src": "2257:18:
|
|
1749
|
+
"src": "2257:18:111"
|
|
1750
1750
|
},
|
|
1751
1751
|
"variableNames": [
|
|
1752
1752
|
{
|
|
1753
1753
|
"name": "tail",
|
|
1754
1754
|
"nodeType": "YulIdentifier",
|
|
1755
|
-
"src": "2249:4:
|
|
1755
|
+
"src": "2249:4:111"
|
|
1756
1756
|
}
|
|
1757
1757
|
]
|
|
1758
1758
|
}
|
|
@@ -1764,7 +1764,7 @@
|
|
|
1764
1764
|
{
|
|
1765
1765
|
"name": "headStart",
|
|
1766
1766
|
"nodeType": "YulTypedName",
|
|
1767
|
-
"src": "2078:9:
|
|
1767
|
+
"src": "2078:9:111",
|
|
1768
1768
|
"type": ""
|
|
1769
1769
|
}
|
|
1770
1770
|
],
|
|
@@ -1772,22 +1772,22 @@
|
|
|
1772
1772
|
{
|
|
1773
1773
|
"name": "tail",
|
|
1774
1774
|
"nodeType": "YulTypedName",
|
|
1775
|
-
"src": "2092:4:
|
|
1775
|
+
"src": "2092:4:111",
|
|
1776
1776
|
"type": ""
|
|
1777
1777
|
}
|
|
1778
1778
|
],
|
|
1779
|
-
"src": "1927:354:
|
|
1779
|
+
"src": "1927:354:111"
|
|
1780
1780
|
}
|
|
1781
1781
|
]
|
|
1782
1782
|
},
|
|
1783
1783
|
"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 abi_encode_tuple_t_address_t_uint256_t_bytes_memory_ptr__to_t_address_t_uint256_t_bytes_memory_ptr__fromStack_reversed(headStart, value2, value1, value0) -> tail\n {\n mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n let _1 := 32\n mstore(add(headStart, _1), value1)\n mstore(add(headStart, 64), 96)\n let length := mload(value2)\n mstore(add(headStart, 96), length)\n let i := 0\n for { } lt(i, length) { i := add(i, _1) }\n {\n mstore(add(add(headStart, i), 128), mload(add(add(value2, i), _1)))\n }\n if gt(i, length)\n {\n mstore(add(add(headStart, length), 128), 0)\n }\n tail := add(add(headStart, and(add(length, 31), not(31))), 128)\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_stringliteral_ddef727975921b7952b7e20fd4290233907fcf50863b08b5223d979ede27321e__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 23)\n mstore(add(headStart, 64), \"UUPSProxy: zero address\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_b83493ae559d613bdaa11f876d4e817b661ed75187e4a486b85abafea5a50e6c__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 30)\n mstore(add(headStart, 64), \"UUPSProxy: already initialized\")\n tail := add(headStart, 96)\n }\n}",
|
|
1784
|
-
"id":
|
|
1784
|
+
"id": 111,
|
|
1785
1785
|
"language": "Yul",
|
|
1786
1786
|
"name": "#utility.yul"
|
|
1787
1787
|
}
|
|
1788
1788
|
],
|
|
1789
|
-
"sourceMap": "435:1072:
|
|
1790
|
-
"deployedSourceMap": "435:1072:
|
|
1789
|
+
"sourceMap": "435:1072:98:-:0;;;;;;;;;;;;;;;;;;;",
|
|
1790
|
+
"deployedSourceMap": "435:1072:98:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;815:12;;;825:1;815:12;;;;;;;;;-1:-1:-1;;;756:72:98;;;776:4;;756:35;;:72;;792:10;;804:9;;756:72;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;843:36:98;;869:9;1063:25:111;;857:10:98;;-1:-1:-1;843:36:98;;-1:-1:-1;1051:2:111;1036:18;843:36:98;;;;;;;435:1072;;2675:11:5;:9;:11::i;:::-;435:1072:98;1280:225;;;;;;;;;;-1:-1:-1;1280:225:98;;;;;:::i;:::-;;:::i;897:285:100:-;;;;;;;;;;-1:-1:-1;897:285:100;;;;;:::i;:::-;;:::i;1088:186:98:-;;;;;;:::i;:::-;;:::i;892:190::-;;;:::i;2322:110:5:-;2397:28;2407:17;:15;:17::i;:::-;2397:9;:28::i;:::-;2322:110::o;1280:225:98:-;1395:12;;;1405:1;1395:12;;;;;;;;;-1:-1:-1;;;1342:66:98;;;1362:4;;1342:35;;:66;;1378:10;;1390:3;;1342:66;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1418:33:98;;1426:10;;-1:-1:-1;1418:33:98;;;;;-1:-1:-1;1447:3:98;;1418:33;;;;1447:3;1426:10;1418:33;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1466:32:98;;1063:25:111;;;1482:10:98;;1466:32;;1051:2:111;1036:18;1466:32:98;;;;;;;;1280:225;:::o;897:285:100:-;-1:-1:-1;;;;;973:28:100;;965:64;;;;-1:-1:-1;;;965:64:100;;1777:2:111;965:64:100;;;1759:21:111;1816:2;1796:18;;;1789:30;1855:25;1835:18;;;1828:53;1898:18;;965:64:100;;;;;;;;;1085:1;1047:26;751:20:101;745:27;;618:170;1047:26:100;-1:-1:-1;;;;;1047:40:100;;1039:83;;;;-1:-1:-1;;;1039:83:100;;2129:2:111;1039:83:100;;;2111:21:111;2168:2;2148:18;;;2141:30;2207:32;2187:18;;;2180:60;2257:18;;1039:83:100;1927:354:111;1039:83:100;1132:43;1160:14;988:20:101;964:87;839:228;1132:43:100;897:285;:::o;1088:186:98:-;1211:12;;;1221:1;1211:12;;;;;;;;;-1:-1:-1;;;1160:64:98;;;1180:4;;1160:35;;:64;;1196:2;;1200:9;;1160:64;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1253:2;-1:-1:-1;;;;;1239:28:98;;1257:9;1239:28;;;;1063:25:111;;1051:2;1036:18;;917:177;892:190:98;1011:12;;;1021:1;1011:12;;;;;;;;;-1:-1:-1;;;952:72:98;;;972:4;;952:35;;:72;;988:10;;1000:9;;952:72;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1039:36:98;;1065:9;1063:25:111;;1053:10:98;;-1:-1:-1;1039:36:98;;-1:-1:-1;1051:2:111;1036:18;1039:36:98;;;;;;;892:190::o;1238:130:100:-;1305:7;1335:26;751:20:101;745:27;;618:170;1335:26:100;1328:33;;1238:130;:::o;948:895:5:-;1286:14;1283:1;1280;1267:34;1500:1;1497;1481:14;1478:1;1462:14;1455:5;1442:60;1576:16;1573:1;1570;1555:38;1614:6;1681:66;;;;1796:16;1793:1;1786:27;1681:66;1716:16;1713:1;1706:27;146:766:111;378:1;374;369:3;365:11;361:19;353:6;349:32;338:9;331:51;312:4;401:2;439:6;434:2;423:9;419:18;412:34;482:2;477;466:9;462:18;455:30;514:6;508:13;557:6;552:2;541:9;537:18;530:34;582:1;592:141;606:6;603:1;600:13;592:141;;;702:14;;;698:23;;692:30;667:17;;;686:3;663:27;656:67;621:10;;592:141;;;751:6;748:1;745:13;742:92;;;822:1;816:3;807:6;796:9;792:22;788:32;781:43;742:92;-1:-1:-1;895:2:111;874:15;-1:-1:-1;;870:29:111;855:45;;;;902:3;851:55;;146:766;-1:-1:-1;;;;;146:766:111:o;1099:180::-;1158:6;1211:2;1199:9;1190:7;1186:23;1182:32;1179:52;;;1227:1;1224;1217:12;1179:52;-1:-1:-1;1250:23:111;;1099:180;-1:-1:-1;1099:180:111:o;1284:286::-;1343:6;1396:2;1384:9;1375:7;1371:23;1367:32;1364:52;;;1412:1;1409;1402:12;1364:52;1438:23;;-1:-1:-1;;;;;1490:31:111;;1480:42;;1470:70;;1536:1;1533;1526:12;1470:70;1559:5;1284:286;-1:-1:-1;;;1284:286:111:o",
|
|
1791
1791
|
"source": "// SPDX-License-Identifier: AGPLv3\npragma solidity 0.8.13;\n\nimport {\n ISuperToken,\n CustomSuperTokenBase\n}\nfrom \"../interfaces/superfluid/CustomSuperTokenBase.sol\";\nimport { ISETHCustom } from \"../interfaces/tokens/ISETH.sol\";\nimport { UUPSProxy } from \"../upgradability/UUPSProxy.sol\";\n\n/**\n * @dev Super ETH (SETH) custom super token implementation\n * @author Superfluid\n *\n * It is also called a Native-Asset Super Token.\n */\ncontract SETHProxy is ISETHCustom, CustomSuperTokenBase, UUPSProxy {\n event TokenUpgraded(address indexed account, uint256 amount);\n event TokenDowngraded(address indexed account, uint256 amount);\n\n // fallback function which mints Super Tokens for received ETH\n receive() external payable override {\n ISuperToken(address(this)).selfMint(msg.sender, msg.value, new bytes(0));\n emit TokenUpgraded(msg.sender, msg.value);\n }\n\n function upgradeByETH() external override payable {\n ISuperToken(address(this)).selfMint(msg.sender, msg.value, new bytes(0));\n emit TokenUpgraded(msg.sender, msg.value);\n }\n\n function upgradeByETHTo(address to) external override payable {\n ISuperToken(address(this)).selfMint(to, msg.value, new bytes(0));\n emit TokenUpgraded(to, msg.value);\n }\n\n function downgradeToETH(uint wad) external override {\n ISuperToken(address(this)).selfBurn(msg.sender, wad, new bytes(0));\n payable(msg.sender).transfer(wad);\n emit TokenDowngraded(msg.sender, wad);\n }\n}\n",
|
|
1792
1792
|
"sourcePath": "/home/runner/work/protocol-monorepo/protocol-monorepo/packages/ethereum-contracts/contracts/tokens/SETH.sol",
|
|
1793
1793
|
"ast": {
|
|
@@ -1803,56 +1803,56 @@
|
|
|
1803
1803
|
18439
|
|
1804
1804
|
],
|
|
1805
1805
|
"SETHProxy": [
|
|
1806
|
-
|
|
1806
|
+
36243
|
|
1807
1807
|
],
|
|
1808
1808
|
"UUPSProxy": [
|
|
1809
|
-
|
|
1809
|
+
36391
|
|
1810
1810
|
]
|
|
1811
1811
|
},
|
|
1812
|
-
"id":
|
|
1812
|
+
"id": 36244,
|
|
1813
1813
|
"license": "AGPLv3",
|
|
1814
1814
|
"nodeType": "SourceUnit",
|
|
1815
1815
|
"nodes": [
|
|
1816
1816
|
{
|
|
1817
|
-
"id":
|
|
1817
|
+
"id": 36091,
|
|
1818
1818
|
"literals": [
|
|
1819
1819
|
"solidity",
|
|
1820
1820
|
"0.8",
|
|
1821
1821
|
".13"
|
|
1822
1822
|
],
|
|
1823
1823
|
"nodeType": "PragmaDirective",
|
|
1824
|
-
"src": "35:23:
|
|
1824
|
+
"src": "35:23:98"
|
|
1825
1825
|
},
|
|
1826
1826
|
{
|
|
1827
1827
|
"absolutePath": "project:/contracts/interfaces/superfluid/CustomSuperTokenBase.sol",
|
|
1828
1828
|
"file": "../interfaces/superfluid/CustomSuperTokenBase.sol",
|
|
1829
|
-
"id":
|
|
1829
|
+
"id": 36094,
|
|
1830
1830
|
"nameLocation": "-1:-1:-1",
|
|
1831
1831
|
"nodeType": "ImportDirective",
|
|
1832
|
-
"scope":
|
|
1832
|
+
"scope": 36244,
|
|
1833
1833
|
"sourceUnit": 17460,
|
|
1834
|
-
"src": "60:110:
|
|
1834
|
+
"src": "60:110:98",
|
|
1835
1835
|
"symbolAliases": [
|
|
1836
1836
|
{
|
|
1837
1837
|
"foreign": {
|
|
1838
|
-
"id":
|
|
1838
|
+
"id": 36092,
|
|
1839
1839
|
"name": "ISuperToken",
|
|
1840
1840
|
"nodeType": "Identifier",
|
|
1841
1841
|
"overloadedDeclarations": [],
|
|
1842
1842
|
"referencedDeclaration": 18439,
|
|
1843
|
-
"src": "73:11:
|
|
1843
|
+
"src": "73:11:98",
|
|
1844
1844
|
"typeDescriptions": {}
|
|
1845
1845
|
},
|
|
1846
1846
|
"nameLocation": "-1:-1:-1"
|
|
1847
1847
|
},
|
|
1848
1848
|
{
|
|
1849
1849
|
"foreign": {
|
|
1850
|
-
"id":
|
|
1850
|
+
"id": 36093,
|
|
1851
1851
|
"name": "CustomSuperTokenBase",
|
|
1852
1852
|
"nodeType": "Identifier",
|
|
1853
1853
|
"overloadedDeclarations": [],
|
|
1854
1854
|
"referencedDeclaration": 17459,
|
|
1855
|
-
"src": "90:20:
|
|
1855
|
+
"src": "90:20:98",
|
|
1856
1856
|
"typeDescriptions": {}
|
|
1857
1857
|
},
|
|
1858
1858
|
"nameLocation": "-1:-1:-1"
|
|
@@ -1863,21 +1863,21 @@
|
|
|
1863
1863
|
{
|
|
1864
1864
|
"absolutePath": "project:/contracts/interfaces/tokens/ISETH.sol",
|
|
1865
1865
|
"file": "../interfaces/tokens/ISETH.sol",
|
|
1866
|
-
"id":
|
|
1866
|
+
"id": 36096,
|
|
1867
1867
|
"nameLocation": "-1:-1:-1",
|
|
1868
1868
|
"nodeType": "ImportDirective",
|
|
1869
|
-
"scope":
|
|
1869
|
+
"scope": 36244,
|
|
1870
1870
|
"sourceUnit": 19495,
|
|
1871
|
-
"src": "171:61:
|
|
1871
|
+
"src": "171:61:98",
|
|
1872
1872
|
"symbolAliases": [
|
|
1873
1873
|
{
|
|
1874
1874
|
"foreign": {
|
|
1875
|
-
"id":
|
|
1875
|
+
"id": 36095,
|
|
1876
1876
|
"name": "ISETHCustom",
|
|
1877
1877
|
"nodeType": "Identifier",
|
|
1878
1878
|
"overloadedDeclarations": [],
|
|
1879
1879
|
"referencedDeclaration": 19488,
|
|
1880
|
-
"src": "180:11:
|
|
1880
|
+
"src": "180:11:98",
|
|
1881
1881
|
"typeDescriptions": {}
|
|
1882
1882
|
},
|
|
1883
1883
|
"nameLocation": "-1:-1:-1"
|
|
@@ -1888,21 +1888,21 @@
|
|
|
1888
1888
|
{
|
|
1889
1889
|
"absolutePath": "project:/contracts/upgradability/UUPSProxy.sol",
|
|
1890
1890
|
"file": "../upgradability/UUPSProxy.sol",
|
|
1891
|
-
"id":
|
|
1891
|
+
"id": 36098,
|
|
1892
1892
|
"nameLocation": "-1:-1:-1",
|
|
1893
1893
|
"nodeType": "ImportDirective",
|
|
1894
|
-
"scope":
|
|
1895
|
-
"sourceUnit":
|
|
1896
|
-
"src": "233:59:
|
|
1894
|
+
"scope": 36244,
|
|
1895
|
+
"sourceUnit": 36392,
|
|
1896
|
+
"src": "233:59:98",
|
|
1897
1897
|
"symbolAliases": [
|
|
1898
1898
|
{
|
|
1899
1899
|
"foreign": {
|
|
1900
|
-
"id":
|
|
1900
|
+
"id": 36097,
|
|
1901
1901
|
"name": "UUPSProxy",
|
|
1902
1902
|
"nodeType": "Identifier",
|
|
1903
1903
|
"overloadedDeclarations": [],
|
|
1904
|
-
"referencedDeclaration":
|
|
1905
|
-
"src": "242:9:
|
|
1904
|
+
"referencedDeclaration": 36391,
|
|
1905
|
+
"src": "242:9:98",
|
|
1906
1906
|
"typeDescriptions": {}
|
|
1907
1907
|
},
|
|
1908
1908
|
"nameLocation": "-1:-1:-1"
|
|
@@ -1915,84 +1915,84 @@
|
|
|
1915
1915
|
"baseContracts": [
|
|
1916
1916
|
{
|
|
1917
1917
|
"baseName": {
|
|
1918
|
-
"id":
|
|
1918
|
+
"id": 36100,
|
|
1919
1919
|
"name": "ISETHCustom",
|
|
1920
1920
|
"nodeType": "IdentifierPath",
|
|
1921
1921
|
"referencedDeclaration": 19488,
|
|
1922
|
-
"src": "457:11:
|
|
1922
|
+
"src": "457:11:98"
|
|
1923
1923
|
},
|
|
1924
|
-
"id":
|
|
1924
|
+
"id": 36101,
|
|
1925
1925
|
"nodeType": "InheritanceSpecifier",
|
|
1926
|
-
"src": "457:11:
|
|
1926
|
+
"src": "457:11:98"
|
|
1927
1927
|
},
|
|
1928
1928
|
{
|
|
1929
1929
|
"baseName": {
|
|
1930
|
-
"id":
|
|
1930
|
+
"id": 36102,
|
|
1931
1931
|
"name": "CustomSuperTokenBase",
|
|
1932
1932
|
"nodeType": "IdentifierPath",
|
|
1933
1933
|
"referencedDeclaration": 17459,
|
|
1934
|
-
"src": "470:20:
|
|
1934
|
+
"src": "470:20:98"
|
|
1935
1935
|
},
|
|
1936
|
-
"id":
|
|
1936
|
+
"id": 36103,
|
|
1937
1937
|
"nodeType": "InheritanceSpecifier",
|
|
1938
|
-
"src": "470:20:
|
|
1938
|
+
"src": "470:20:98"
|
|
1939
1939
|
},
|
|
1940
1940
|
{
|
|
1941
1941
|
"baseName": {
|
|
1942
|
-
"id":
|
|
1942
|
+
"id": 36104,
|
|
1943
1943
|
"name": "UUPSProxy",
|
|
1944
1944
|
"nodeType": "IdentifierPath",
|
|
1945
|
-
"referencedDeclaration":
|
|
1946
|
-
"src": "492:9:
|
|
1945
|
+
"referencedDeclaration": 36391,
|
|
1946
|
+
"src": "492:9:98"
|
|
1947
1947
|
},
|
|
1948
|
-
"id":
|
|
1948
|
+
"id": 36105,
|
|
1949
1949
|
"nodeType": "InheritanceSpecifier",
|
|
1950
|
-
"src": "492:9:
|
|
1950
|
+
"src": "492:9:98"
|
|
1951
1951
|
}
|
|
1952
1952
|
],
|
|
1953
1953
|
"canonicalName": "SETHProxy",
|
|
1954
1954
|
"contractDependencies": [],
|
|
1955
1955
|
"contractKind": "contract",
|
|
1956
1956
|
"documentation": {
|
|
1957
|
-
"id":
|
|
1957
|
+
"id": 36099,
|
|
1958
1958
|
"nodeType": "StructuredDocumentation",
|
|
1959
|
-
"src": "294:140:
|
|
1959
|
+
"src": "294:140:98",
|
|
1960
1960
|
"text": " @dev Super ETH (SETH) custom super token implementation\n @author Superfluid\n It is also called a Native-Asset Super Token."
|
|
1961
1961
|
},
|
|
1962
1962
|
"fullyImplemented": true,
|
|
1963
|
-
"id":
|
|
1963
|
+
"id": 36243,
|
|
1964
1964
|
"linearizedBaseContracts": [
|
|
1965
|
-
|
|
1966
|
-
|
|
1965
|
+
36243,
|
|
1966
|
+
36391,
|
|
1967
1967
|
688,
|
|
1968
1968
|
17459,
|
|
1969
1969
|
19488
|
|
1970
1970
|
],
|
|
1971
1971
|
"name": "SETHProxy",
|
|
1972
|
-
"nameLocation": "444:9:
|
|
1972
|
+
"nameLocation": "444:9:98",
|
|
1973
1973
|
"nodeType": "ContractDefinition",
|
|
1974
1974
|
"nodes": [
|
|
1975
1975
|
{
|
|
1976
1976
|
"anonymous": false,
|
|
1977
1977
|
"eventSelector": "25ca84076773b0455db53621c459ddc84fe40840e4932a62706a032566f399df",
|
|
1978
|
-
"id":
|
|
1978
|
+
"id": 36111,
|
|
1979
1979
|
"name": "TokenUpgraded",
|
|
1980
|
-
"nameLocation": "514:13:
|
|
1980
|
+
"nameLocation": "514:13:98",
|
|
1981
1981
|
"nodeType": "EventDefinition",
|
|
1982
1982
|
"parameters": {
|
|
1983
|
-
"id":
|
|
1983
|
+
"id": 36110,
|
|
1984
1984
|
"nodeType": "ParameterList",
|
|
1985
1985
|
"parameters": [
|
|
1986
1986
|
{
|
|
1987
1987
|
"constant": false,
|
|
1988
|
-
"id":
|
|
1988
|
+
"id": 36107,
|
|
1989
1989
|
"indexed": true,
|
|
1990
1990
|
"mutability": "mutable",
|
|
1991
1991
|
"name": "account",
|
|
1992
|
-
"nameLocation": "544:7:
|
|
1992
|
+
"nameLocation": "544:7:98",
|
|
1993
1993
|
"nodeType": "VariableDeclaration",
|
|
1994
|
-
"scope":
|
|
1995
|
-
"src": "528:23:
|
|
1994
|
+
"scope": 36111,
|
|
1995
|
+
"src": "528:23:98",
|
|
1996
1996
|
"stateVariable": false,
|
|
1997
1997
|
"storageLocation": "default",
|
|
1998
1998
|
"typeDescriptions": {
|
|
@@ -2000,10 +2000,10 @@
|
|
|
2000
2000
|
"typeString": "address"
|
|
2001
2001
|
},
|
|
2002
2002
|
"typeName": {
|
|
2003
|
-
"id":
|
|
2003
|
+
"id": 36106,
|
|
2004
2004
|
"name": "address",
|
|
2005
2005
|
"nodeType": "ElementaryTypeName",
|
|
2006
|
-
"src": "528:7:
|
|
2006
|
+
"src": "528:7:98",
|
|
2007
2007
|
"stateMutability": "nonpayable",
|
|
2008
2008
|
"typeDescriptions": {
|
|
2009
2009
|
"typeIdentifier": "t_address",
|
|
@@ -2014,14 +2014,14 @@
|
|
|
2014
2014
|
},
|
|
2015
2015
|
{
|
|
2016
2016
|
"constant": false,
|
|
2017
|
-
"id":
|
|
2017
|
+
"id": 36109,
|
|
2018
2018
|
"indexed": false,
|
|
2019
2019
|
"mutability": "mutable",
|
|
2020
2020
|
"name": "amount",
|
|
2021
|
-
"nameLocation": "561:6:
|
|
2021
|
+
"nameLocation": "561:6:98",
|
|
2022
2022
|
"nodeType": "VariableDeclaration",
|
|
2023
|
-
"scope":
|
|
2024
|
-
"src": "553:14:
|
|
2023
|
+
"scope": 36111,
|
|
2024
|
+
"src": "553:14:98",
|
|
2025
2025
|
"stateVariable": false,
|
|
2026
2026
|
"storageLocation": "default",
|
|
2027
2027
|
"typeDescriptions": {
|
|
@@ -2029,10 +2029,10 @@
|
|
|
2029
2029
|
"typeString": "uint256"
|
|
2030
2030
|
},
|
|
2031
2031
|
"typeName": {
|
|
2032
|
-
"id":
|
|
2032
|
+
"id": 36108,
|
|
2033
2033
|
"name": "uint256",
|
|
2034
2034
|
"nodeType": "ElementaryTypeName",
|
|
2035
|
-
"src": "553:7:
|
|
2035
|
+
"src": "553:7:98",
|
|
2036
2036
|
"typeDescriptions": {
|
|
2037
2037
|
"typeIdentifier": "t_uint256",
|
|
2038
2038
|
"typeString": "uint256"
|
|
@@ -2041,31 +2041,31 @@
|
|
|
2041
2041
|
"visibility": "internal"
|
|
2042
2042
|
}
|
|
2043
2043
|
],
|
|
2044
|
-
"src": "527:41:
|
|
2044
|
+
"src": "527:41:98"
|
|
2045
2045
|
},
|
|
2046
|
-
"src": "508:61:
|
|
2046
|
+
"src": "508:61:98"
|
|
2047
2047
|
},
|
|
2048
2048
|
{
|
|
2049
2049
|
"anonymous": false,
|
|
2050
2050
|
"eventSelector": "3bc27981aebbb57f9247dc00fde9d6cd91e4b230083fec3238fedbcba1f9ab3d",
|
|
2051
|
-
"id":
|
|
2051
|
+
"id": 36117,
|
|
2052
2052
|
"name": "TokenDowngraded",
|
|
2053
|
-
"nameLocation": "580:15:
|
|
2053
|
+
"nameLocation": "580:15:98",
|
|
2054
2054
|
"nodeType": "EventDefinition",
|
|
2055
2055
|
"parameters": {
|
|
2056
|
-
"id":
|
|
2056
|
+
"id": 36116,
|
|
2057
2057
|
"nodeType": "ParameterList",
|
|
2058
2058
|
"parameters": [
|
|
2059
2059
|
{
|
|
2060
2060
|
"constant": false,
|
|
2061
|
-
"id":
|
|
2061
|
+
"id": 36113,
|
|
2062
2062
|
"indexed": true,
|
|
2063
2063
|
"mutability": "mutable",
|
|
2064
2064
|
"name": "account",
|
|
2065
|
-
"nameLocation": "612:7:
|
|
2065
|
+
"nameLocation": "612:7:98",
|
|
2066
2066
|
"nodeType": "VariableDeclaration",
|
|
2067
|
-
"scope":
|
|
2068
|
-
"src": "596:23:
|
|
2067
|
+
"scope": 36117,
|
|
2068
|
+
"src": "596:23:98",
|
|
2069
2069
|
"stateVariable": false,
|
|
2070
2070
|
"storageLocation": "default",
|
|
2071
2071
|
"typeDescriptions": {
|
|
@@ -2073,10 +2073,10 @@
|
|
|
2073
2073
|
"typeString": "address"
|
|
2074
2074
|
},
|
|
2075
2075
|
"typeName": {
|
|
2076
|
-
"id":
|
|
2076
|
+
"id": 36112,
|
|
2077
2077
|
"name": "address",
|
|
2078
2078
|
"nodeType": "ElementaryTypeName",
|
|
2079
|
-
"src": "596:7:
|
|
2079
|
+
"src": "596:7:98",
|
|
2080
2080
|
"stateMutability": "nonpayable",
|
|
2081
2081
|
"typeDescriptions": {
|
|
2082
2082
|
"typeIdentifier": "t_address",
|
|
@@ -2087,14 +2087,14 @@
|
|
|
2087
2087
|
},
|
|
2088
2088
|
{
|
|
2089
2089
|
"constant": false,
|
|
2090
|
-
"id":
|
|
2090
|
+
"id": 36115,
|
|
2091
2091
|
"indexed": false,
|
|
2092
2092
|
"mutability": "mutable",
|
|
2093
2093
|
"name": "amount",
|
|
2094
|
-
"nameLocation": "629:6:
|
|
2094
|
+
"nameLocation": "629:6:98",
|
|
2095
2095
|
"nodeType": "VariableDeclaration",
|
|
2096
|
-
"scope":
|
|
2097
|
-
"src": "621:14:
|
|
2096
|
+
"scope": 36117,
|
|
2097
|
+
"src": "621:14:98",
|
|
2098
2098
|
"stateVariable": false,
|
|
2099
2099
|
"storageLocation": "default",
|
|
2100
2100
|
"typeDescriptions": {
|
|
@@ -2102,10 +2102,10 @@
|
|
|
2102
2102
|
"typeString": "uint256"
|
|
2103
2103
|
},
|
|
2104
2104
|
"typeName": {
|
|
2105
|
-
"id":
|
|
2105
|
+
"id": 36114,
|
|
2106
2106
|
"name": "uint256",
|
|
2107
2107
|
"nodeType": "ElementaryTypeName",
|
|
2108
|
-
"src": "621:7:
|
|
2108
|
+
"src": "621:7:98",
|
|
2109
2109
|
"typeDescriptions": {
|
|
2110
2110
|
"typeIdentifier": "t_uint256",
|
|
2111
2111
|
"typeString": "uint256"
|
|
@@ -2114,43 +2114,43 @@
|
|
|
2114
2114
|
"visibility": "internal"
|
|
2115
2115
|
}
|
|
2116
2116
|
],
|
|
2117
|
-
"src": "595:41:
|
|
2117
|
+
"src": "595:41:98"
|
|
2118
2118
|
},
|
|
2119
|
-
"src": "574:63:
|
|
2119
|
+
"src": "574:63:98"
|
|
2120
2120
|
},
|
|
2121
2121
|
{
|
|
2122
2122
|
"baseFunctions": [
|
|
2123
2123
|
682
|
|
2124
2124
|
],
|
|
2125
2125
|
"body": {
|
|
2126
|
-
"id":
|
|
2126
|
+
"id": 36145,
|
|
2127
2127
|
"nodeType": "Block",
|
|
2128
|
-
"src": "746:140:
|
|
2128
|
+
"src": "746:140:98",
|
|
2129
2129
|
"statements": [
|
|
2130
2130
|
{
|
|
2131
2131
|
"expression": {
|
|
2132
2132
|
"arguments": [
|
|
2133
2133
|
{
|
|
2134
2134
|
"expression": {
|
|
2135
|
-
"id":
|
|
2135
|
+
"id": 36128,
|
|
2136
2136
|
"name": "msg",
|
|
2137
2137
|
"nodeType": "Identifier",
|
|
2138
2138
|
"overloadedDeclarations": [],
|
|
2139
2139
|
"referencedDeclaration": 4294967281,
|
|
2140
|
-
"src": "792:3:
|
|
2140
|
+
"src": "792:3:98",
|
|
2141
2141
|
"typeDescriptions": {
|
|
2142
2142
|
"typeIdentifier": "t_magic_message",
|
|
2143
2143
|
"typeString": "msg"
|
|
2144
2144
|
}
|
|
2145
2145
|
},
|
|
2146
|
-
"id":
|
|
2146
|
+
"id": 36129,
|
|
2147
2147
|
"isConstant": false,
|
|
2148
2148
|
"isLValue": false,
|
|
2149
2149
|
"isPure": false,
|
|
2150
2150
|
"lValueRequested": false,
|
|
2151
2151
|
"memberName": "sender",
|
|
2152
2152
|
"nodeType": "MemberAccess",
|
|
2153
|
-
"src": "792:10:
|
|
2153
|
+
"src": "792:10:98",
|
|
2154
2154
|
"typeDescriptions": {
|
|
2155
2155
|
"typeIdentifier": "t_address",
|
|
2156
2156
|
"typeString": "address"
|
|
@@ -2158,25 +2158,25 @@
|
|
|
2158
2158
|
},
|
|
2159
2159
|
{
|
|
2160
2160
|
"expression": {
|
|
2161
|
-
"id":
|
|
2161
|
+
"id": 36130,
|
|
2162
2162
|
"name": "msg",
|
|
2163
2163
|
"nodeType": "Identifier",
|
|
2164
2164
|
"overloadedDeclarations": [],
|
|
2165
2165
|
"referencedDeclaration": 4294967281,
|
|
2166
|
-
"src": "804:3:
|
|
2166
|
+
"src": "804:3:98",
|
|
2167
2167
|
"typeDescriptions": {
|
|
2168
2168
|
"typeIdentifier": "t_magic_message",
|
|
2169
2169
|
"typeString": "msg"
|
|
2170
2170
|
}
|
|
2171
2171
|
},
|
|
2172
|
-
"id":
|
|
2172
|
+
"id": 36131,
|
|
2173
2173
|
"isConstant": false,
|
|
2174
2174
|
"isLValue": false,
|
|
2175
2175
|
"isPure": false,
|
|
2176
2176
|
"lValueRequested": false,
|
|
2177
2177
|
"memberName": "value",
|
|
2178
2178
|
"nodeType": "MemberAccess",
|
|
2179
|
-
"src": "804:9:
|
|
2179
|
+
"src": "804:9:98",
|
|
2180
2180
|
"typeDescriptions": {
|
|
2181
2181
|
"typeIdentifier": "t_uint256",
|
|
2182
2182
|
"typeString": "uint256"
|
|
@@ -2186,14 +2186,14 @@
|
|
|
2186
2186
|
"arguments": [
|
|
2187
2187
|
{
|
|
2188
2188
|
"hexValue": "30",
|
|
2189
|
-
"id":
|
|
2189
|
+
"id": 36134,
|
|
2190
2190
|
"isConstant": false,
|
|
2191
2191
|
"isLValue": false,
|
|
2192
2192
|
"isPure": true,
|
|
2193
2193
|
"kind": "number",
|
|
2194
2194
|
"lValueRequested": false,
|
|
2195
2195
|
"nodeType": "Literal",
|
|
2196
|
-
"src": "825:1:
|
|
2196
|
+
"src": "825:1:98",
|
|
2197
2197
|
"typeDescriptions": {
|
|
2198
2198
|
"typeIdentifier": "t_rational_0_by_1",
|
|
2199
2199
|
"typeString": "int_const 0"
|
|
@@ -2208,29 +2208,29 @@
|
|
|
2208
2208
|
"typeString": "int_const 0"
|
|
2209
2209
|
}
|
|
2210
2210
|
],
|
|
2211
|
-
"id":
|
|
2211
|
+
"id": 36133,
|
|
2212
2212
|
"isConstant": false,
|
|
2213
2213
|
"isLValue": false,
|
|
2214
2214
|
"isPure": true,
|
|
2215
2215
|
"lValueRequested": false,
|
|
2216
2216
|
"nodeType": "NewExpression",
|
|
2217
|
-
"src": "815:9:
|
|
2217
|
+
"src": "815:9:98",
|
|
2218
2218
|
"typeDescriptions": {
|
|
2219
2219
|
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$",
|
|
2220
2220
|
"typeString": "function (uint256) pure returns (bytes memory)"
|
|
2221
2221
|
},
|
|
2222
2222
|
"typeName": {
|
|
2223
|
-
"id":
|
|
2223
|
+
"id": 36132,
|
|
2224
2224
|
"name": "bytes",
|
|
2225
2225
|
"nodeType": "ElementaryTypeName",
|
|
2226
|
-
"src": "819:5:
|
|
2226
|
+
"src": "819:5:98",
|
|
2227
2227
|
"typeDescriptions": {
|
|
2228
2228
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
2229
2229
|
"typeString": "bytes"
|
|
2230
2230
|
}
|
|
2231
2231
|
}
|
|
2232
2232
|
},
|
|
2233
|
-
"id":
|
|
2233
|
+
"id": 36135,
|
|
2234
2234
|
"isConstant": false,
|
|
2235
2235
|
"isLValue": false,
|
|
2236
2236
|
"isPure": true,
|
|
@@ -2238,7 +2238,7 @@
|
|
|
2238
2238
|
"lValueRequested": false,
|
|
2239
2239
|
"names": [],
|
|
2240
2240
|
"nodeType": "FunctionCall",
|
|
2241
|
-
"src": "815:12:
|
|
2241
|
+
"src": "815:12:98",
|
|
2242
2242
|
"tryCall": false,
|
|
2243
2243
|
"typeDescriptions": {
|
|
2244
2244
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
@@ -2266,14 +2266,14 @@
|
|
|
2266
2266
|
{
|
|
2267
2267
|
"arguments": [
|
|
2268
2268
|
{
|
|
2269
|
-
"id":
|
|
2269
|
+
"id": 36124,
|
|
2270
2270
|
"name": "this",
|
|
2271
2271
|
"nodeType": "Identifier",
|
|
2272
2272
|
"overloadedDeclarations": [],
|
|
2273
2273
|
"referencedDeclaration": 4294967268,
|
|
2274
|
-
"src": "776:4:
|
|
2274
|
+
"src": "776:4:98",
|
|
2275
2275
|
"typeDescriptions": {
|
|
2276
|
-
"typeIdentifier": "t_contract$_SETHProxy_$
|
|
2276
|
+
"typeIdentifier": "t_contract$_SETHProxy_$36243",
|
|
2277
2277
|
"typeString": "contract SETHProxy"
|
|
2278
2278
|
}
|
|
2279
2279
|
}
|
|
@@ -2281,30 +2281,30 @@
|
|
|
2281
2281
|
"expression": {
|
|
2282
2282
|
"argumentTypes": [
|
|
2283
2283
|
{
|
|
2284
|
-
"typeIdentifier": "t_contract$_SETHProxy_$
|
|
2284
|
+
"typeIdentifier": "t_contract$_SETHProxy_$36243",
|
|
2285
2285
|
"typeString": "contract SETHProxy"
|
|
2286
2286
|
}
|
|
2287
2287
|
],
|
|
2288
|
-
"id":
|
|
2288
|
+
"id": 36123,
|
|
2289
2289
|
"isConstant": false,
|
|
2290
2290
|
"isLValue": false,
|
|
2291
2291
|
"isPure": true,
|
|
2292
2292
|
"lValueRequested": false,
|
|
2293
2293
|
"nodeType": "ElementaryTypeNameExpression",
|
|
2294
|
-
"src": "768:7:
|
|
2294
|
+
"src": "768:7:98",
|
|
2295
2295
|
"typeDescriptions": {
|
|
2296
2296
|
"typeIdentifier": "t_type$_t_address_$",
|
|
2297
2297
|
"typeString": "type(address)"
|
|
2298
2298
|
},
|
|
2299
2299
|
"typeName": {
|
|
2300
|
-
"id":
|
|
2300
|
+
"id": 36122,
|
|
2301
2301
|
"name": "address",
|
|
2302
2302
|
"nodeType": "ElementaryTypeName",
|
|
2303
|
-
"src": "768:7:
|
|
2303
|
+
"src": "768:7:98",
|
|
2304
2304
|
"typeDescriptions": {}
|
|
2305
2305
|
}
|
|
2306
2306
|
},
|
|
2307
|
-
"id":
|
|
2307
|
+
"id": 36125,
|
|
2308
2308
|
"isConstant": false,
|
|
2309
2309
|
"isLValue": false,
|
|
2310
2310
|
"isPure": false,
|
|
@@ -2312,7 +2312,7 @@
|
|
|
2312
2312
|
"lValueRequested": false,
|
|
2313
2313
|
"names": [],
|
|
2314
2314
|
"nodeType": "FunctionCall",
|
|
2315
|
-
"src": "768:13:
|
|
2315
|
+
"src": "768:13:98",
|
|
2316
2316
|
"tryCall": false,
|
|
2317
2317
|
"typeDescriptions": {
|
|
2318
2318
|
"typeIdentifier": "t_address",
|
|
@@ -2327,18 +2327,18 @@
|
|
|
2327
2327
|
"typeString": "address"
|
|
2328
2328
|
}
|
|
2329
2329
|
],
|
|
2330
|
-
"id":
|
|
2330
|
+
"id": 36121,
|
|
2331
2331
|
"name": "ISuperToken",
|
|
2332
2332
|
"nodeType": "Identifier",
|
|
2333
2333
|
"overloadedDeclarations": [],
|
|
2334
2334
|
"referencedDeclaration": 18439,
|
|
2335
|
-
"src": "756:11:
|
|
2335
|
+
"src": "756:11:98",
|
|
2336
2336
|
"typeDescriptions": {
|
|
2337
2337
|
"typeIdentifier": "t_type$_t_contract$_ISuperToken_$18439_$",
|
|
2338
2338
|
"typeString": "type(contract ISuperToken)"
|
|
2339
2339
|
}
|
|
2340
2340
|
},
|
|
2341
|
-
"id":
|
|
2341
|
+
"id": 36126,
|
|
2342
2342
|
"isConstant": false,
|
|
2343
2343
|
"isLValue": false,
|
|
2344
2344
|
"isPure": false,
|
|
@@ -2346,14 +2346,14 @@
|
|
|
2346
2346
|
"lValueRequested": false,
|
|
2347
2347
|
"names": [],
|
|
2348
2348
|
"nodeType": "FunctionCall",
|
|
2349
|
-
"src": "756:26:
|
|
2349
|
+
"src": "756:26:98",
|
|
2350
2350
|
"tryCall": false,
|
|
2351
2351
|
"typeDescriptions": {
|
|
2352
2352
|
"typeIdentifier": "t_contract$_ISuperToken_$18439",
|
|
2353
2353
|
"typeString": "contract ISuperToken"
|
|
2354
2354
|
}
|
|
2355
2355
|
},
|
|
2356
|
-
"id":
|
|
2356
|
+
"id": 36127,
|
|
2357
2357
|
"isConstant": false,
|
|
2358
2358
|
"isLValue": false,
|
|
2359
2359
|
"isPure": false,
|
|
@@ -2361,13 +2361,13 @@
|
|
|
2361
2361
|
"memberName": "selfMint",
|
|
2362
2362
|
"nodeType": "MemberAccess",
|
|
2363
2363
|
"referencedDeclaration": 18320,
|
|
2364
|
-
"src": "756:35:
|
|
2364
|
+
"src": "756:35:98",
|
|
2365
2365
|
"typeDescriptions": {
|
|
2366
2366
|
"typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",
|
|
2367
2367
|
"typeString": "function (address,uint256,bytes memory) external"
|
|
2368
2368
|
}
|
|
2369
2369
|
},
|
|
2370
|
-
"id":
|
|
2370
|
+
"id": 36136,
|
|
2371
2371
|
"isConstant": false,
|
|
2372
2372
|
"isLValue": false,
|
|
2373
2373
|
"isPure": false,
|
|
@@ -2375,41 +2375,41 @@
|
|
|
2375
2375
|
"lValueRequested": false,
|
|
2376
2376
|
"names": [],
|
|
2377
2377
|
"nodeType": "FunctionCall",
|
|
2378
|
-
"src": "756:72:
|
|
2378
|
+
"src": "756:72:98",
|
|
2379
2379
|
"tryCall": false,
|
|
2380
2380
|
"typeDescriptions": {
|
|
2381
2381
|
"typeIdentifier": "t_tuple$__$",
|
|
2382
2382
|
"typeString": "tuple()"
|
|
2383
2383
|
}
|
|
2384
2384
|
},
|
|
2385
|
-
"id":
|
|
2385
|
+
"id": 36137,
|
|
2386
2386
|
"nodeType": "ExpressionStatement",
|
|
2387
|
-
"src": "756:72:
|
|
2387
|
+
"src": "756:72:98"
|
|
2388
2388
|
},
|
|
2389
2389
|
{
|
|
2390
2390
|
"eventCall": {
|
|
2391
2391
|
"arguments": [
|
|
2392
2392
|
{
|
|
2393
2393
|
"expression": {
|
|
2394
|
-
"id":
|
|
2394
|
+
"id": 36139,
|
|
2395
2395
|
"name": "msg",
|
|
2396
2396
|
"nodeType": "Identifier",
|
|
2397
2397
|
"overloadedDeclarations": [],
|
|
2398
2398
|
"referencedDeclaration": 4294967281,
|
|
2399
|
-
"src": "857:3:
|
|
2399
|
+
"src": "857:3:98",
|
|
2400
2400
|
"typeDescriptions": {
|
|
2401
2401
|
"typeIdentifier": "t_magic_message",
|
|
2402
2402
|
"typeString": "msg"
|
|
2403
2403
|
}
|
|
2404
2404
|
},
|
|
2405
|
-
"id":
|
|
2405
|
+
"id": 36140,
|
|
2406
2406
|
"isConstant": false,
|
|
2407
2407
|
"isLValue": false,
|
|
2408
2408
|
"isPure": false,
|
|
2409
2409
|
"lValueRequested": false,
|
|
2410
2410
|
"memberName": "sender",
|
|
2411
2411
|
"nodeType": "MemberAccess",
|
|
2412
|
-
"src": "857:10:
|
|
2412
|
+
"src": "857:10:98",
|
|
2413
2413
|
"typeDescriptions": {
|
|
2414
2414
|
"typeIdentifier": "t_address",
|
|
2415
2415
|
"typeString": "address"
|
|
@@ -2417,25 +2417,25 @@
|
|
|
2417
2417
|
},
|
|
2418
2418
|
{
|
|
2419
2419
|
"expression": {
|
|
2420
|
-
"id":
|
|
2420
|
+
"id": 36141,
|
|
2421
2421
|
"name": "msg",
|
|
2422
2422
|
"nodeType": "Identifier",
|
|
2423
2423
|
"overloadedDeclarations": [],
|
|
2424
2424
|
"referencedDeclaration": 4294967281,
|
|
2425
|
-
"src": "869:3:
|
|
2425
|
+
"src": "869:3:98",
|
|
2426
2426
|
"typeDescriptions": {
|
|
2427
2427
|
"typeIdentifier": "t_magic_message",
|
|
2428
2428
|
"typeString": "msg"
|
|
2429
2429
|
}
|
|
2430
2430
|
},
|
|
2431
|
-
"id":
|
|
2431
|
+
"id": 36142,
|
|
2432
2432
|
"isConstant": false,
|
|
2433
2433
|
"isLValue": false,
|
|
2434
2434
|
"isPure": false,
|
|
2435
2435
|
"lValueRequested": false,
|
|
2436
2436
|
"memberName": "value",
|
|
2437
2437
|
"nodeType": "MemberAccess",
|
|
2438
|
-
"src": "869:9:
|
|
2438
|
+
"src": "869:9:98",
|
|
2439
2439
|
"typeDescriptions": {
|
|
2440
2440
|
"typeIdentifier": "t_uint256",
|
|
2441
2441
|
"typeString": "uint256"
|
|
@@ -2453,18 +2453,18 @@
|
|
|
2453
2453
|
"typeString": "uint256"
|
|
2454
2454
|
}
|
|
2455
2455
|
],
|
|
2456
|
-
"id":
|
|
2456
|
+
"id": 36138,
|
|
2457
2457
|
"name": "TokenUpgraded",
|
|
2458
2458
|
"nodeType": "Identifier",
|
|
2459
2459
|
"overloadedDeclarations": [],
|
|
2460
|
-
"referencedDeclaration":
|
|
2461
|
-
"src": "843:13:
|
|
2460
|
+
"referencedDeclaration": 36111,
|
|
2461
|
+
"src": "843:13:98",
|
|
2462
2462
|
"typeDescriptions": {
|
|
2463
2463
|
"typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$",
|
|
2464
2464
|
"typeString": "function (address,uint256)"
|
|
2465
2465
|
}
|
|
2466
2466
|
},
|
|
2467
|
-
"id":
|
|
2467
|
+
"id": 36143,
|
|
2468
2468
|
"isConstant": false,
|
|
2469
2469
|
"isLValue": false,
|
|
2470
2470
|
"isPure": false,
|
|
@@ -2472,20 +2472,20 @@
|
|
|
2472
2472
|
"lValueRequested": false,
|
|
2473
2473
|
"names": [],
|
|
2474
2474
|
"nodeType": "FunctionCall",
|
|
2475
|
-
"src": "843:36:
|
|
2475
|
+
"src": "843:36:98",
|
|
2476
2476
|
"tryCall": false,
|
|
2477
2477
|
"typeDescriptions": {
|
|
2478
2478
|
"typeIdentifier": "t_tuple$__$",
|
|
2479
2479
|
"typeString": "tuple()"
|
|
2480
2480
|
}
|
|
2481
2481
|
},
|
|
2482
|
-
"id":
|
|
2482
|
+
"id": 36144,
|
|
2483
2483
|
"nodeType": "EmitStatement",
|
|
2484
|
-
"src": "838:41:
|
|
2484
|
+
"src": "838:41:98"
|
|
2485
2485
|
}
|
|
2486
2486
|
]
|
|
2487
2487
|
},
|
|
2488
|
-
"id":
|
|
2488
|
+
"id": 36146,
|
|
2489
2489
|
"implemented": true,
|
|
2490
2490
|
"kind": "receive",
|
|
2491
2491
|
"modifiers": [],
|
|
@@ -2493,25 +2493,25 @@
|
|
|
2493
2493
|
"nameLocation": "-1:-1:-1",
|
|
2494
2494
|
"nodeType": "FunctionDefinition",
|
|
2495
2495
|
"overrides": {
|
|
2496
|
-
"id":
|
|
2496
|
+
"id": 36119,
|
|
2497
2497
|
"nodeType": "OverrideSpecifier",
|
|
2498
2498
|
"overrides": [],
|
|
2499
|
-
"src": "737:8:
|
|
2499
|
+
"src": "737:8:98"
|
|
2500
2500
|
},
|
|
2501
2501
|
"parameters": {
|
|
2502
|
-
"id":
|
|
2502
|
+
"id": 36118,
|
|
2503
2503
|
"nodeType": "ParameterList",
|
|
2504
2504
|
"parameters": [],
|
|
2505
|
-
"src": "717:2:
|
|
2505
|
+
"src": "717:2:98"
|
|
2506
2506
|
},
|
|
2507
2507
|
"returnParameters": {
|
|
2508
|
-
"id":
|
|
2508
|
+
"id": 36120,
|
|
2509
2509
|
"nodeType": "ParameterList",
|
|
2510
2510
|
"parameters": [],
|
|
2511
|
-
"src": "746:0:
|
|
2511
|
+
"src": "746:0:98"
|
|
2512
2512
|
},
|
|
2513
|
-
"scope":
|
|
2514
|
-
"src": "710:176:
|
|
2513
|
+
"scope": 36243,
|
|
2514
|
+
"src": "710:176:98",
|
|
2515
2515
|
"stateMutability": "payable",
|
|
2516
2516
|
"virtual": false,
|
|
2517
2517
|
"visibility": "external"
|
|
@@ -2521,34 +2521,34 @@
|
|
|
2521
2521
|
19477
|
|
2522
2522
|
],
|
|
2523
2523
|
"body": {
|
|
2524
|
-
"id":
|
|
2524
|
+
"id": 36174,
|
|
2525
2525
|
"nodeType": "Block",
|
|
2526
|
-
"src": "942:140:
|
|
2526
|
+
"src": "942:140:98",
|
|
2527
2527
|
"statements": [
|
|
2528
2528
|
{
|
|
2529
2529
|
"expression": {
|
|
2530
2530
|
"arguments": [
|
|
2531
2531
|
{
|
|
2532
2532
|
"expression": {
|
|
2533
|
-
"id":
|
|
2533
|
+
"id": 36157,
|
|
2534
2534
|
"name": "msg",
|
|
2535
2535
|
"nodeType": "Identifier",
|
|
2536
2536
|
"overloadedDeclarations": [],
|
|
2537
2537
|
"referencedDeclaration": 4294967281,
|
|
2538
|
-
"src": "988:3:
|
|
2538
|
+
"src": "988:3:98",
|
|
2539
2539
|
"typeDescriptions": {
|
|
2540
2540
|
"typeIdentifier": "t_magic_message",
|
|
2541
2541
|
"typeString": "msg"
|
|
2542
2542
|
}
|
|
2543
2543
|
},
|
|
2544
|
-
"id":
|
|
2544
|
+
"id": 36158,
|
|
2545
2545
|
"isConstant": false,
|
|
2546
2546
|
"isLValue": false,
|
|
2547
2547
|
"isPure": false,
|
|
2548
2548
|
"lValueRequested": false,
|
|
2549
2549
|
"memberName": "sender",
|
|
2550
2550
|
"nodeType": "MemberAccess",
|
|
2551
|
-
"src": "988:10:
|
|
2551
|
+
"src": "988:10:98",
|
|
2552
2552
|
"typeDescriptions": {
|
|
2553
2553
|
"typeIdentifier": "t_address",
|
|
2554
2554
|
"typeString": "address"
|
|
@@ -2556,25 +2556,25 @@
|
|
|
2556
2556
|
},
|
|
2557
2557
|
{
|
|
2558
2558
|
"expression": {
|
|
2559
|
-
"id":
|
|
2559
|
+
"id": 36159,
|
|
2560
2560
|
"name": "msg",
|
|
2561
2561
|
"nodeType": "Identifier",
|
|
2562
2562
|
"overloadedDeclarations": [],
|
|
2563
2563
|
"referencedDeclaration": 4294967281,
|
|
2564
|
-
"src": "1000:3:
|
|
2564
|
+
"src": "1000:3:98",
|
|
2565
2565
|
"typeDescriptions": {
|
|
2566
2566
|
"typeIdentifier": "t_magic_message",
|
|
2567
2567
|
"typeString": "msg"
|
|
2568
2568
|
}
|
|
2569
2569
|
},
|
|
2570
|
-
"id":
|
|
2570
|
+
"id": 36160,
|
|
2571
2571
|
"isConstant": false,
|
|
2572
2572
|
"isLValue": false,
|
|
2573
2573
|
"isPure": false,
|
|
2574
2574
|
"lValueRequested": false,
|
|
2575
2575
|
"memberName": "value",
|
|
2576
2576
|
"nodeType": "MemberAccess",
|
|
2577
|
-
"src": "1000:9:
|
|
2577
|
+
"src": "1000:9:98",
|
|
2578
2578
|
"typeDescriptions": {
|
|
2579
2579
|
"typeIdentifier": "t_uint256",
|
|
2580
2580
|
"typeString": "uint256"
|
|
@@ -2584,14 +2584,14 @@
|
|
|
2584
2584
|
"arguments": [
|
|
2585
2585
|
{
|
|
2586
2586
|
"hexValue": "30",
|
|
2587
|
-
"id":
|
|
2587
|
+
"id": 36163,
|
|
2588
2588
|
"isConstant": false,
|
|
2589
2589
|
"isLValue": false,
|
|
2590
2590
|
"isPure": true,
|
|
2591
2591
|
"kind": "number",
|
|
2592
2592
|
"lValueRequested": false,
|
|
2593
2593
|
"nodeType": "Literal",
|
|
2594
|
-
"src": "1021:1:
|
|
2594
|
+
"src": "1021:1:98",
|
|
2595
2595
|
"typeDescriptions": {
|
|
2596
2596
|
"typeIdentifier": "t_rational_0_by_1",
|
|
2597
2597
|
"typeString": "int_const 0"
|
|
@@ -2606,29 +2606,29 @@
|
|
|
2606
2606
|
"typeString": "int_const 0"
|
|
2607
2607
|
}
|
|
2608
2608
|
],
|
|
2609
|
-
"id":
|
|
2609
|
+
"id": 36162,
|
|
2610
2610
|
"isConstant": false,
|
|
2611
2611
|
"isLValue": false,
|
|
2612
2612
|
"isPure": true,
|
|
2613
2613
|
"lValueRequested": false,
|
|
2614
2614
|
"nodeType": "NewExpression",
|
|
2615
|
-
"src": "1011:9:
|
|
2615
|
+
"src": "1011:9:98",
|
|
2616
2616
|
"typeDescriptions": {
|
|
2617
2617
|
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$",
|
|
2618
2618
|
"typeString": "function (uint256) pure returns (bytes memory)"
|
|
2619
2619
|
},
|
|
2620
2620
|
"typeName": {
|
|
2621
|
-
"id":
|
|
2621
|
+
"id": 36161,
|
|
2622
2622
|
"name": "bytes",
|
|
2623
2623
|
"nodeType": "ElementaryTypeName",
|
|
2624
|
-
"src": "1015:5:
|
|
2624
|
+
"src": "1015:5:98",
|
|
2625
2625
|
"typeDescriptions": {
|
|
2626
2626
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
2627
2627
|
"typeString": "bytes"
|
|
2628
2628
|
}
|
|
2629
2629
|
}
|
|
2630
2630
|
},
|
|
2631
|
-
"id":
|
|
2631
|
+
"id": 36164,
|
|
2632
2632
|
"isConstant": false,
|
|
2633
2633
|
"isLValue": false,
|
|
2634
2634
|
"isPure": true,
|
|
@@ -2636,7 +2636,7 @@
|
|
|
2636
2636
|
"lValueRequested": false,
|
|
2637
2637
|
"names": [],
|
|
2638
2638
|
"nodeType": "FunctionCall",
|
|
2639
|
-
"src": "1011:12:
|
|
2639
|
+
"src": "1011:12:98",
|
|
2640
2640
|
"tryCall": false,
|
|
2641
2641
|
"typeDescriptions": {
|
|
2642
2642
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
@@ -2664,14 +2664,14 @@
|
|
|
2664
2664
|
{
|
|
2665
2665
|
"arguments": [
|
|
2666
2666
|
{
|
|
2667
|
-
"id":
|
|
2667
|
+
"id": 36153,
|
|
2668
2668
|
"name": "this",
|
|
2669
2669
|
"nodeType": "Identifier",
|
|
2670
2670
|
"overloadedDeclarations": [],
|
|
2671
2671
|
"referencedDeclaration": 4294967268,
|
|
2672
|
-
"src": "972:4:
|
|
2672
|
+
"src": "972:4:98",
|
|
2673
2673
|
"typeDescriptions": {
|
|
2674
|
-
"typeIdentifier": "t_contract$_SETHProxy_$
|
|
2674
|
+
"typeIdentifier": "t_contract$_SETHProxy_$36243",
|
|
2675
2675
|
"typeString": "contract SETHProxy"
|
|
2676
2676
|
}
|
|
2677
2677
|
}
|
|
@@ -2679,30 +2679,30 @@
|
|
|
2679
2679
|
"expression": {
|
|
2680
2680
|
"argumentTypes": [
|
|
2681
2681
|
{
|
|
2682
|
-
"typeIdentifier": "t_contract$_SETHProxy_$
|
|
2682
|
+
"typeIdentifier": "t_contract$_SETHProxy_$36243",
|
|
2683
2683
|
"typeString": "contract SETHProxy"
|
|
2684
2684
|
}
|
|
2685
2685
|
],
|
|
2686
|
-
"id":
|
|
2686
|
+
"id": 36152,
|
|
2687
2687
|
"isConstant": false,
|
|
2688
2688
|
"isLValue": false,
|
|
2689
2689
|
"isPure": true,
|
|
2690
2690
|
"lValueRequested": false,
|
|
2691
2691
|
"nodeType": "ElementaryTypeNameExpression",
|
|
2692
|
-
"src": "964:7:
|
|
2692
|
+
"src": "964:7:98",
|
|
2693
2693
|
"typeDescriptions": {
|
|
2694
2694
|
"typeIdentifier": "t_type$_t_address_$",
|
|
2695
2695
|
"typeString": "type(address)"
|
|
2696
2696
|
},
|
|
2697
2697
|
"typeName": {
|
|
2698
|
-
"id":
|
|
2698
|
+
"id": 36151,
|
|
2699
2699
|
"name": "address",
|
|
2700
2700
|
"nodeType": "ElementaryTypeName",
|
|
2701
|
-
"src": "964:7:
|
|
2701
|
+
"src": "964:7:98",
|
|
2702
2702
|
"typeDescriptions": {}
|
|
2703
2703
|
}
|
|
2704
2704
|
},
|
|
2705
|
-
"id":
|
|
2705
|
+
"id": 36154,
|
|
2706
2706
|
"isConstant": false,
|
|
2707
2707
|
"isLValue": false,
|
|
2708
2708
|
"isPure": false,
|
|
@@ -2710,7 +2710,7 @@
|
|
|
2710
2710
|
"lValueRequested": false,
|
|
2711
2711
|
"names": [],
|
|
2712
2712
|
"nodeType": "FunctionCall",
|
|
2713
|
-
"src": "964:13:
|
|
2713
|
+
"src": "964:13:98",
|
|
2714
2714
|
"tryCall": false,
|
|
2715
2715
|
"typeDescriptions": {
|
|
2716
2716
|
"typeIdentifier": "t_address",
|
|
@@ -2725,18 +2725,18 @@
|
|
|
2725
2725
|
"typeString": "address"
|
|
2726
2726
|
}
|
|
2727
2727
|
],
|
|
2728
|
-
"id":
|
|
2728
|
+
"id": 36150,
|
|
2729
2729
|
"name": "ISuperToken",
|
|
2730
2730
|
"nodeType": "Identifier",
|
|
2731
2731
|
"overloadedDeclarations": [],
|
|
2732
2732
|
"referencedDeclaration": 18439,
|
|
2733
|
-
"src": "952:11:
|
|
2733
|
+
"src": "952:11:98",
|
|
2734
2734
|
"typeDescriptions": {
|
|
2735
2735
|
"typeIdentifier": "t_type$_t_contract$_ISuperToken_$18439_$",
|
|
2736
2736
|
"typeString": "type(contract ISuperToken)"
|
|
2737
2737
|
}
|
|
2738
2738
|
},
|
|
2739
|
-
"id":
|
|
2739
|
+
"id": 36155,
|
|
2740
2740
|
"isConstant": false,
|
|
2741
2741
|
"isLValue": false,
|
|
2742
2742
|
"isPure": false,
|
|
@@ -2744,14 +2744,14 @@
|
|
|
2744
2744
|
"lValueRequested": false,
|
|
2745
2745
|
"names": [],
|
|
2746
2746
|
"nodeType": "FunctionCall",
|
|
2747
|
-
"src": "952:26:
|
|
2747
|
+
"src": "952:26:98",
|
|
2748
2748
|
"tryCall": false,
|
|
2749
2749
|
"typeDescriptions": {
|
|
2750
2750
|
"typeIdentifier": "t_contract$_ISuperToken_$18439",
|
|
2751
2751
|
"typeString": "contract ISuperToken"
|
|
2752
2752
|
}
|
|
2753
2753
|
},
|
|
2754
|
-
"id":
|
|
2754
|
+
"id": 36156,
|
|
2755
2755
|
"isConstant": false,
|
|
2756
2756
|
"isLValue": false,
|
|
2757
2757
|
"isPure": false,
|
|
@@ -2759,13 +2759,13 @@
|
|
|
2759
2759
|
"memberName": "selfMint",
|
|
2760
2760
|
"nodeType": "MemberAccess",
|
|
2761
2761
|
"referencedDeclaration": 18320,
|
|
2762
|
-
"src": "952:35:
|
|
2762
|
+
"src": "952:35:98",
|
|
2763
2763
|
"typeDescriptions": {
|
|
2764
2764
|
"typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",
|
|
2765
2765
|
"typeString": "function (address,uint256,bytes memory) external"
|
|
2766
2766
|
}
|
|
2767
2767
|
},
|
|
2768
|
-
"id":
|
|
2768
|
+
"id": 36165,
|
|
2769
2769
|
"isConstant": false,
|
|
2770
2770
|
"isLValue": false,
|
|
2771
2771
|
"isPure": false,
|
|
@@ -2773,41 +2773,41 @@
|
|
|
2773
2773
|
"lValueRequested": false,
|
|
2774
2774
|
"names": [],
|
|
2775
2775
|
"nodeType": "FunctionCall",
|
|
2776
|
-
"src": "952:72:
|
|
2776
|
+
"src": "952:72:98",
|
|
2777
2777
|
"tryCall": false,
|
|
2778
2778
|
"typeDescriptions": {
|
|
2779
2779
|
"typeIdentifier": "t_tuple$__$",
|
|
2780
2780
|
"typeString": "tuple()"
|
|
2781
2781
|
}
|
|
2782
2782
|
},
|
|
2783
|
-
"id":
|
|
2783
|
+
"id": 36166,
|
|
2784
2784
|
"nodeType": "ExpressionStatement",
|
|
2785
|
-
"src": "952:72:
|
|
2785
|
+
"src": "952:72:98"
|
|
2786
2786
|
},
|
|
2787
2787
|
{
|
|
2788
2788
|
"eventCall": {
|
|
2789
2789
|
"arguments": [
|
|
2790
2790
|
{
|
|
2791
2791
|
"expression": {
|
|
2792
|
-
"id":
|
|
2792
|
+
"id": 36168,
|
|
2793
2793
|
"name": "msg",
|
|
2794
2794
|
"nodeType": "Identifier",
|
|
2795
2795
|
"overloadedDeclarations": [],
|
|
2796
2796
|
"referencedDeclaration": 4294967281,
|
|
2797
|
-
"src": "1053:3:
|
|
2797
|
+
"src": "1053:3:98",
|
|
2798
2798
|
"typeDescriptions": {
|
|
2799
2799
|
"typeIdentifier": "t_magic_message",
|
|
2800
2800
|
"typeString": "msg"
|
|
2801
2801
|
}
|
|
2802
2802
|
},
|
|
2803
|
-
"id":
|
|
2803
|
+
"id": 36169,
|
|
2804
2804
|
"isConstant": false,
|
|
2805
2805
|
"isLValue": false,
|
|
2806
2806
|
"isPure": false,
|
|
2807
2807
|
"lValueRequested": false,
|
|
2808
2808
|
"memberName": "sender",
|
|
2809
2809
|
"nodeType": "MemberAccess",
|
|
2810
|
-
"src": "1053:10:
|
|
2810
|
+
"src": "1053:10:98",
|
|
2811
2811
|
"typeDescriptions": {
|
|
2812
2812
|
"typeIdentifier": "t_address",
|
|
2813
2813
|
"typeString": "address"
|
|
@@ -2815,25 +2815,25 @@
|
|
|
2815
2815
|
},
|
|
2816
2816
|
{
|
|
2817
2817
|
"expression": {
|
|
2818
|
-
"id":
|
|
2818
|
+
"id": 36170,
|
|
2819
2819
|
"name": "msg",
|
|
2820
2820
|
"nodeType": "Identifier",
|
|
2821
2821
|
"overloadedDeclarations": [],
|
|
2822
2822
|
"referencedDeclaration": 4294967281,
|
|
2823
|
-
"src": "1065:3:
|
|
2823
|
+
"src": "1065:3:98",
|
|
2824
2824
|
"typeDescriptions": {
|
|
2825
2825
|
"typeIdentifier": "t_magic_message",
|
|
2826
2826
|
"typeString": "msg"
|
|
2827
2827
|
}
|
|
2828
2828
|
},
|
|
2829
|
-
"id":
|
|
2829
|
+
"id": 36171,
|
|
2830
2830
|
"isConstant": false,
|
|
2831
2831
|
"isLValue": false,
|
|
2832
2832
|
"isPure": false,
|
|
2833
2833
|
"lValueRequested": false,
|
|
2834
2834
|
"memberName": "value",
|
|
2835
2835
|
"nodeType": "MemberAccess",
|
|
2836
|
-
"src": "1065:9:
|
|
2836
|
+
"src": "1065:9:98",
|
|
2837
2837
|
"typeDescriptions": {
|
|
2838
2838
|
"typeIdentifier": "t_uint256",
|
|
2839
2839
|
"typeString": "uint256"
|
|
@@ -2851,18 +2851,18 @@
|
|
|
2851
2851
|
"typeString": "uint256"
|
|
2852
2852
|
}
|
|
2853
2853
|
],
|
|
2854
|
-
"id":
|
|
2854
|
+
"id": 36167,
|
|
2855
2855
|
"name": "TokenUpgraded",
|
|
2856
2856
|
"nodeType": "Identifier",
|
|
2857
2857
|
"overloadedDeclarations": [],
|
|
2858
|
-
"referencedDeclaration":
|
|
2859
|
-
"src": "1039:13:
|
|
2858
|
+
"referencedDeclaration": 36111,
|
|
2859
|
+
"src": "1039:13:98",
|
|
2860
2860
|
"typeDescriptions": {
|
|
2861
2861
|
"typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$",
|
|
2862
2862
|
"typeString": "function (address,uint256)"
|
|
2863
2863
|
}
|
|
2864
2864
|
},
|
|
2865
|
-
"id":
|
|
2865
|
+
"id": 36172,
|
|
2866
2866
|
"isConstant": false,
|
|
2867
2867
|
"isLValue": false,
|
|
2868
2868
|
"isPure": false,
|
|
@@ -2870,47 +2870,47 @@
|
|
|
2870
2870
|
"lValueRequested": false,
|
|
2871
2871
|
"names": [],
|
|
2872
2872
|
"nodeType": "FunctionCall",
|
|
2873
|
-
"src": "1039:36:
|
|
2873
|
+
"src": "1039:36:98",
|
|
2874
2874
|
"tryCall": false,
|
|
2875
2875
|
"typeDescriptions": {
|
|
2876
2876
|
"typeIdentifier": "t_tuple$__$",
|
|
2877
2877
|
"typeString": "tuple()"
|
|
2878
2878
|
}
|
|
2879
2879
|
},
|
|
2880
|
-
"id":
|
|
2880
|
+
"id": 36173,
|
|
2881
2881
|
"nodeType": "EmitStatement",
|
|
2882
|
-
"src": "1034:41:
|
|
2882
|
+
"src": "1034:41:98"
|
|
2883
2883
|
}
|
|
2884
2884
|
]
|
|
2885
2885
|
},
|
|
2886
2886
|
"functionSelector": "cf81464b",
|
|
2887
|
-
"id":
|
|
2887
|
+
"id": 36175,
|
|
2888
2888
|
"implemented": true,
|
|
2889
2889
|
"kind": "function",
|
|
2890
2890
|
"modifiers": [],
|
|
2891
2891
|
"name": "upgradeByETH",
|
|
2892
|
-
"nameLocation": "901:12:
|
|
2892
|
+
"nameLocation": "901:12:98",
|
|
2893
2893
|
"nodeType": "FunctionDefinition",
|
|
2894
2894
|
"overrides": {
|
|
2895
|
-
"id":
|
|
2895
|
+
"id": 36148,
|
|
2896
2896
|
"nodeType": "OverrideSpecifier",
|
|
2897
2897
|
"overrides": [],
|
|
2898
|
-
"src": "925:8:
|
|
2898
|
+
"src": "925:8:98"
|
|
2899
2899
|
},
|
|
2900
2900
|
"parameters": {
|
|
2901
|
-
"id":
|
|
2901
|
+
"id": 36147,
|
|
2902
2902
|
"nodeType": "ParameterList",
|
|
2903
2903
|
"parameters": [],
|
|
2904
|
-
"src": "913:2:
|
|
2904
|
+
"src": "913:2:98"
|
|
2905
2905
|
},
|
|
2906
2906
|
"returnParameters": {
|
|
2907
|
-
"id":
|
|
2907
|
+
"id": 36149,
|
|
2908
2908
|
"nodeType": "ParameterList",
|
|
2909
2909
|
"parameters": [],
|
|
2910
|
-
"src": "942:0:
|
|
2910
|
+
"src": "942:0:98"
|
|
2911
2911
|
},
|
|
2912
|
-
"scope":
|
|
2913
|
-
"src": "892:190:
|
|
2912
|
+
"scope": 36243,
|
|
2913
|
+
"src": "892:190:98",
|
|
2914
2914
|
"stateMutability": "payable",
|
|
2915
2915
|
"virtual": false,
|
|
2916
2916
|
"visibility": "external"
|
|
@@ -2920,20 +2920,20 @@
|
|
|
2920
2920
|
19482
|
|
2921
2921
|
],
|
|
2922
2922
|
"body": {
|
|
2923
|
-
"id":
|
|
2923
|
+
"id": 36203,
|
|
2924
2924
|
"nodeType": "Block",
|
|
2925
|
-
"src": "1150:124:
|
|
2925
|
+
"src": "1150:124:98",
|
|
2926
2926
|
"statements": [
|
|
2927
2927
|
{
|
|
2928
2928
|
"expression": {
|
|
2929
2929
|
"arguments": [
|
|
2930
2930
|
{
|
|
2931
|
-
"id":
|
|
2931
|
+
"id": 36188,
|
|
2932
2932
|
"name": "to",
|
|
2933
2933
|
"nodeType": "Identifier",
|
|
2934
2934
|
"overloadedDeclarations": [],
|
|
2935
|
-
"referencedDeclaration":
|
|
2936
|
-
"src": "1196:2:
|
|
2935
|
+
"referencedDeclaration": 36177,
|
|
2936
|
+
"src": "1196:2:98",
|
|
2937
2937
|
"typeDescriptions": {
|
|
2938
2938
|
"typeIdentifier": "t_address",
|
|
2939
2939
|
"typeString": "address"
|
|
@@ -2941,25 +2941,25 @@
|
|
|
2941
2941
|
},
|
|
2942
2942
|
{
|
|
2943
2943
|
"expression": {
|
|
2944
|
-
"id":
|
|
2944
|
+
"id": 36189,
|
|
2945
2945
|
"name": "msg",
|
|
2946
2946
|
"nodeType": "Identifier",
|
|
2947
2947
|
"overloadedDeclarations": [],
|
|
2948
2948
|
"referencedDeclaration": 4294967281,
|
|
2949
|
-
"src": "1200:3:
|
|
2949
|
+
"src": "1200:3:98",
|
|
2950
2950
|
"typeDescriptions": {
|
|
2951
2951
|
"typeIdentifier": "t_magic_message",
|
|
2952
2952
|
"typeString": "msg"
|
|
2953
2953
|
}
|
|
2954
2954
|
},
|
|
2955
|
-
"id":
|
|
2955
|
+
"id": 36190,
|
|
2956
2956
|
"isConstant": false,
|
|
2957
2957
|
"isLValue": false,
|
|
2958
2958
|
"isPure": false,
|
|
2959
2959
|
"lValueRequested": false,
|
|
2960
2960
|
"memberName": "value",
|
|
2961
2961
|
"nodeType": "MemberAccess",
|
|
2962
|
-
"src": "1200:9:
|
|
2962
|
+
"src": "1200:9:98",
|
|
2963
2963
|
"typeDescriptions": {
|
|
2964
2964
|
"typeIdentifier": "t_uint256",
|
|
2965
2965
|
"typeString": "uint256"
|
|
@@ -2969,14 +2969,14 @@
|
|
|
2969
2969
|
"arguments": [
|
|
2970
2970
|
{
|
|
2971
2971
|
"hexValue": "30",
|
|
2972
|
-
"id":
|
|
2972
|
+
"id": 36193,
|
|
2973
2973
|
"isConstant": false,
|
|
2974
2974
|
"isLValue": false,
|
|
2975
2975
|
"isPure": true,
|
|
2976
2976
|
"kind": "number",
|
|
2977
2977
|
"lValueRequested": false,
|
|
2978
2978
|
"nodeType": "Literal",
|
|
2979
|
-
"src": "1221:1:
|
|
2979
|
+
"src": "1221:1:98",
|
|
2980
2980
|
"typeDescriptions": {
|
|
2981
2981
|
"typeIdentifier": "t_rational_0_by_1",
|
|
2982
2982
|
"typeString": "int_const 0"
|
|
@@ -2991,29 +2991,29 @@
|
|
|
2991
2991
|
"typeString": "int_const 0"
|
|
2992
2992
|
}
|
|
2993
2993
|
],
|
|
2994
|
-
"id":
|
|
2994
|
+
"id": 36192,
|
|
2995
2995
|
"isConstant": false,
|
|
2996
2996
|
"isLValue": false,
|
|
2997
2997
|
"isPure": true,
|
|
2998
2998
|
"lValueRequested": false,
|
|
2999
2999
|
"nodeType": "NewExpression",
|
|
3000
|
-
"src": "1211:9:
|
|
3000
|
+
"src": "1211:9:98",
|
|
3001
3001
|
"typeDescriptions": {
|
|
3002
3002
|
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$",
|
|
3003
3003
|
"typeString": "function (uint256) pure returns (bytes memory)"
|
|
3004
3004
|
},
|
|
3005
3005
|
"typeName": {
|
|
3006
|
-
"id":
|
|
3006
|
+
"id": 36191,
|
|
3007
3007
|
"name": "bytes",
|
|
3008
3008
|
"nodeType": "ElementaryTypeName",
|
|
3009
|
-
"src": "1215:5:
|
|
3009
|
+
"src": "1215:5:98",
|
|
3010
3010
|
"typeDescriptions": {
|
|
3011
3011
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
3012
3012
|
"typeString": "bytes"
|
|
3013
3013
|
}
|
|
3014
3014
|
}
|
|
3015
3015
|
},
|
|
3016
|
-
"id":
|
|
3016
|
+
"id": 36194,
|
|
3017
3017
|
"isConstant": false,
|
|
3018
3018
|
"isLValue": false,
|
|
3019
3019
|
"isPure": true,
|
|
@@ -3021,7 +3021,7 @@
|
|
|
3021
3021
|
"lValueRequested": false,
|
|
3022
3022
|
"names": [],
|
|
3023
3023
|
"nodeType": "FunctionCall",
|
|
3024
|
-
"src": "1211:12:
|
|
3024
|
+
"src": "1211:12:98",
|
|
3025
3025
|
"tryCall": false,
|
|
3026
3026
|
"typeDescriptions": {
|
|
3027
3027
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
@@ -3049,14 +3049,14 @@
|
|
|
3049
3049
|
{
|
|
3050
3050
|
"arguments": [
|
|
3051
3051
|
{
|
|
3052
|
-
"id":
|
|
3052
|
+
"id": 36184,
|
|
3053
3053
|
"name": "this",
|
|
3054
3054
|
"nodeType": "Identifier",
|
|
3055
3055
|
"overloadedDeclarations": [],
|
|
3056
3056
|
"referencedDeclaration": 4294967268,
|
|
3057
|
-
"src": "1180:4:
|
|
3057
|
+
"src": "1180:4:98",
|
|
3058
3058
|
"typeDescriptions": {
|
|
3059
|
-
"typeIdentifier": "t_contract$_SETHProxy_$
|
|
3059
|
+
"typeIdentifier": "t_contract$_SETHProxy_$36243",
|
|
3060
3060
|
"typeString": "contract SETHProxy"
|
|
3061
3061
|
}
|
|
3062
3062
|
}
|
|
@@ -3064,30 +3064,30 @@
|
|
|
3064
3064
|
"expression": {
|
|
3065
3065
|
"argumentTypes": [
|
|
3066
3066
|
{
|
|
3067
|
-
"typeIdentifier": "t_contract$_SETHProxy_$
|
|
3067
|
+
"typeIdentifier": "t_contract$_SETHProxy_$36243",
|
|
3068
3068
|
"typeString": "contract SETHProxy"
|
|
3069
3069
|
}
|
|
3070
3070
|
],
|
|
3071
|
-
"id":
|
|
3071
|
+
"id": 36183,
|
|
3072
3072
|
"isConstant": false,
|
|
3073
3073
|
"isLValue": false,
|
|
3074
3074
|
"isPure": true,
|
|
3075
3075
|
"lValueRequested": false,
|
|
3076
3076
|
"nodeType": "ElementaryTypeNameExpression",
|
|
3077
|
-
"src": "1172:7:
|
|
3077
|
+
"src": "1172:7:98",
|
|
3078
3078
|
"typeDescriptions": {
|
|
3079
3079
|
"typeIdentifier": "t_type$_t_address_$",
|
|
3080
3080
|
"typeString": "type(address)"
|
|
3081
3081
|
},
|
|
3082
3082
|
"typeName": {
|
|
3083
|
-
"id":
|
|
3083
|
+
"id": 36182,
|
|
3084
3084
|
"name": "address",
|
|
3085
3085
|
"nodeType": "ElementaryTypeName",
|
|
3086
|
-
"src": "1172:7:
|
|
3086
|
+
"src": "1172:7:98",
|
|
3087
3087
|
"typeDescriptions": {}
|
|
3088
3088
|
}
|
|
3089
3089
|
},
|
|
3090
|
-
"id":
|
|
3090
|
+
"id": 36185,
|
|
3091
3091
|
"isConstant": false,
|
|
3092
3092
|
"isLValue": false,
|
|
3093
3093
|
"isPure": false,
|
|
@@ -3095,7 +3095,7 @@
|
|
|
3095
3095
|
"lValueRequested": false,
|
|
3096
3096
|
"names": [],
|
|
3097
3097
|
"nodeType": "FunctionCall",
|
|
3098
|
-
"src": "1172:13:
|
|
3098
|
+
"src": "1172:13:98",
|
|
3099
3099
|
"tryCall": false,
|
|
3100
3100
|
"typeDescriptions": {
|
|
3101
3101
|
"typeIdentifier": "t_address",
|
|
@@ -3110,18 +3110,18 @@
|
|
|
3110
3110
|
"typeString": "address"
|
|
3111
3111
|
}
|
|
3112
3112
|
],
|
|
3113
|
-
"id":
|
|
3113
|
+
"id": 36181,
|
|
3114
3114
|
"name": "ISuperToken",
|
|
3115
3115
|
"nodeType": "Identifier",
|
|
3116
3116
|
"overloadedDeclarations": [],
|
|
3117
3117
|
"referencedDeclaration": 18439,
|
|
3118
|
-
"src": "1160:11:
|
|
3118
|
+
"src": "1160:11:98",
|
|
3119
3119
|
"typeDescriptions": {
|
|
3120
3120
|
"typeIdentifier": "t_type$_t_contract$_ISuperToken_$18439_$",
|
|
3121
3121
|
"typeString": "type(contract ISuperToken)"
|
|
3122
3122
|
}
|
|
3123
3123
|
},
|
|
3124
|
-
"id":
|
|
3124
|
+
"id": 36186,
|
|
3125
3125
|
"isConstant": false,
|
|
3126
3126
|
"isLValue": false,
|
|
3127
3127
|
"isPure": false,
|
|
@@ -3129,14 +3129,14 @@
|
|
|
3129
3129
|
"lValueRequested": false,
|
|
3130
3130
|
"names": [],
|
|
3131
3131
|
"nodeType": "FunctionCall",
|
|
3132
|
-
"src": "1160:26:
|
|
3132
|
+
"src": "1160:26:98",
|
|
3133
3133
|
"tryCall": false,
|
|
3134
3134
|
"typeDescriptions": {
|
|
3135
3135
|
"typeIdentifier": "t_contract$_ISuperToken_$18439",
|
|
3136
3136
|
"typeString": "contract ISuperToken"
|
|
3137
3137
|
}
|
|
3138
3138
|
},
|
|
3139
|
-
"id":
|
|
3139
|
+
"id": 36187,
|
|
3140
3140
|
"isConstant": false,
|
|
3141
3141
|
"isLValue": false,
|
|
3142
3142
|
"isPure": false,
|
|
@@ -3144,13 +3144,13 @@
|
|
|
3144
3144
|
"memberName": "selfMint",
|
|
3145
3145
|
"nodeType": "MemberAccess",
|
|
3146
3146
|
"referencedDeclaration": 18320,
|
|
3147
|
-
"src": "1160:35:
|
|
3147
|
+
"src": "1160:35:98",
|
|
3148
3148
|
"typeDescriptions": {
|
|
3149
3149
|
"typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",
|
|
3150
3150
|
"typeString": "function (address,uint256,bytes memory) external"
|
|
3151
3151
|
}
|
|
3152
3152
|
},
|
|
3153
|
-
"id":
|
|
3153
|
+
"id": 36195,
|
|
3154
3154
|
"isConstant": false,
|
|
3155
3155
|
"isLValue": false,
|
|
3156
3156
|
"isPure": false,
|
|
@@ -3158,27 +3158,27 @@
|
|
|
3158
3158
|
"lValueRequested": false,
|
|
3159
3159
|
"names": [],
|
|
3160
3160
|
"nodeType": "FunctionCall",
|
|
3161
|
-
"src": "1160:64:
|
|
3161
|
+
"src": "1160:64:98",
|
|
3162
3162
|
"tryCall": false,
|
|
3163
3163
|
"typeDescriptions": {
|
|
3164
3164
|
"typeIdentifier": "t_tuple$__$",
|
|
3165
3165
|
"typeString": "tuple()"
|
|
3166
3166
|
}
|
|
3167
3167
|
},
|
|
3168
|
-
"id":
|
|
3168
|
+
"id": 36196,
|
|
3169
3169
|
"nodeType": "ExpressionStatement",
|
|
3170
|
-
"src": "1160:64:
|
|
3170
|
+
"src": "1160:64:98"
|
|
3171
3171
|
},
|
|
3172
3172
|
{
|
|
3173
3173
|
"eventCall": {
|
|
3174
3174
|
"arguments": [
|
|
3175
3175
|
{
|
|
3176
|
-
"id":
|
|
3176
|
+
"id": 36198,
|
|
3177
3177
|
"name": "to",
|
|
3178
3178
|
"nodeType": "Identifier",
|
|
3179
3179
|
"overloadedDeclarations": [],
|
|
3180
|
-
"referencedDeclaration":
|
|
3181
|
-
"src": "1253:2:
|
|
3180
|
+
"referencedDeclaration": 36177,
|
|
3181
|
+
"src": "1253:2:98",
|
|
3182
3182
|
"typeDescriptions": {
|
|
3183
3183
|
"typeIdentifier": "t_address",
|
|
3184
3184
|
"typeString": "address"
|
|
@@ -3186,25 +3186,25 @@
|
|
|
3186
3186
|
},
|
|
3187
3187
|
{
|
|
3188
3188
|
"expression": {
|
|
3189
|
-
"id":
|
|
3189
|
+
"id": 36199,
|
|
3190
3190
|
"name": "msg",
|
|
3191
3191
|
"nodeType": "Identifier",
|
|
3192
3192
|
"overloadedDeclarations": [],
|
|
3193
3193
|
"referencedDeclaration": 4294967281,
|
|
3194
|
-
"src": "1257:3:
|
|
3194
|
+
"src": "1257:3:98",
|
|
3195
3195
|
"typeDescriptions": {
|
|
3196
3196
|
"typeIdentifier": "t_magic_message",
|
|
3197
3197
|
"typeString": "msg"
|
|
3198
3198
|
}
|
|
3199
3199
|
},
|
|
3200
|
-
"id":
|
|
3200
|
+
"id": 36200,
|
|
3201
3201
|
"isConstant": false,
|
|
3202
3202
|
"isLValue": false,
|
|
3203
3203
|
"isPure": false,
|
|
3204
3204
|
"lValueRequested": false,
|
|
3205
3205
|
"memberName": "value",
|
|
3206
3206
|
"nodeType": "MemberAccess",
|
|
3207
|
-
"src": "1257:9:
|
|
3207
|
+
"src": "1257:9:98",
|
|
3208
3208
|
"typeDescriptions": {
|
|
3209
3209
|
"typeIdentifier": "t_uint256",
|
|
3210
3210
|
"typeString": "uint256"
|
|
@@ -3222,18 +3222,18 @@
|
|
|
3222
3222
|
"typeString": "uint256"
|
|
3223
3223
|
}
|
|
3224
3224
|
],
|
|
3225
|
-
"id":
|
|
3225
|
+
"id": 36197,
|
|
3226
3226
|
"name": "TokenUpgraded",
|
|
3227
3227
|
"nodeType": "Identifier",
|
|
3228
3228
|
"overloadedDeclarations": [],
|
|
3229
|
-
"referencedDeclaration":
|
|
3230
|
-
"src": "1239:13:
|
|
3229
|
+
"referencedDeclaration": 36111,
|
|
3230
|
+
"src": "1239:13:98",
|
|
3231
3231
|
"typeDescriptions": {
|
|
3232
3232
|
"typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$",
|
|
3233
3233
|
"typeString": "function (address,uint256)"
|
|
3234
3234
|
}
|
|
3235
3235
|
},
|
|
3236
|
-
"id":
|
|
3236
|
+
"id": 36201,
|
|
3237
3237
|
"isConstant": false,
|
|
3238
3238
|
"isLValue": false,
|
|
3239
3239
|
"isPure": false,
|
|
@@ -3241,46 +3241,46 @@
|
|
|
3241
3241
|
"lValueRequested": false,
|
|
3242
3242
|
"names": [],
|
|
3243
3243
|
"nodeType": "FunctionCall",
|
|
3244
|
-
"src": "1239:28:
|
|
3244
|
+
"src": "1239:28:98",
|
|
3245
3245
|
"tryCall": false,
|
|
3246
3246
|
"typeDescriptions": {
|
|
3247
3247
|
"typeIdentifier": "t_tuple$__$",
|
|
3248
3248
|
"typeString": "tuple()"
|
|
3249
3249
|
}
|
|
3250
3250
|
},
|
|
3251
|
-
"id":
|
|
3251
|
+
"id": 36202,
|
|
3252
3252
|
"nodeType": "EmitStatement",
|
|
3253
|
-
"src": "1234:33:
|
|
3253
|
+
"src": "1234:33:98"
|
|
3254
3254
|
}
|
|
3255
3255
|
]
|
|
3256
3256
|
},
|
|
3257
3257
|
"functionSelector": "7687d19b",
|
|
3258
|
-
"id":
|
|
3258
|
+
"id": 36204,
|
|
3259
3259
|
"implemented": true,
|
|
3260
3260
|
"kind": "function",
|
|
3261
3261
|
"modifiers": [],
|
|
3262
3262
|
"name": "upgradeByETHTo",
|
|
3263
|
-
"nameLocation": "1097:14:
|
|
3263
|
+
"nameLocation": "1097:14:98",
|
|
3264
3264
|
"nodeType": "FunctionDefinition",
|
|
3265
3265
|
"overrides": {
|
|
3266
|
-
"id":
|
|
3266
|
+
"id": 36179,
|
|
3267
3267
|
"nodeType": "OverrideSpecifier",
|
|
3268
3268
|
"overrides": [],
|
|
3269
|
-
"src": "1133:8:
|
|
3269
|
+
"src": "1133:8:98"
|
|
3270
3270
|
},
|
|
3271
3271
|
"parameters": {
|
|
3272
|
-
"id":
|
|
3272
|
+
"id": 36178,
|
|
3273
3273
|
"nodeType": "ParameterList",
|
|
3274
3274
|
"parameters": [
|
|
3275
3275
|
{
|
|
3276
3276
|
"constant": false,
|
|
3277
|
-
"id":
|
|
3277
|
+
"id": 36177,
|
|
3278
3278
|
"mutability": "mutable",
|
|
3279
3279
|
"name": "to",
|
|
3280
|
-
"nameLocation": "1120:2:
|
|
3280
|
+
"nameLocation": "1120:2:98",
|
|
3281
3281
|
"nodeType": "VariableDeclaration",
|
|
3282
|
-
"scope":
|
|
3283
|
-
"src": "1112:10:
|
|
3282
|
+
"scope": 36204,
|
|
3283
|
+
"src": "1112:10:98",
|
|
3284
3284
|
"stateVariable": false,
|
|
3285
3285
|
"storageLocation": "default",
|
|
3286
3286
|
"typeDescriptions": {
|
|
@@ -3288,10 +3288,10 @@
|
|
|
3288
3288
|
"typeString": "address"
|
|
3289
3289
|
},
|
|
3290
3290
|
"typeName": {
|
|
3291
|
-
"id":
|
|
3291
|
+
"id": 36176,
|
|
3292
3292
|
"name": "address",
|
|
3293
3293
|
"nodeType": "ElementaryTypeName",
|
|
3294
|
-
"src": "1112:7:
|
|
3294
|
+
"src": "1112:7:98",
|
|
3295
3295
|
"stateMutability": "nonpayable",
|
|
3296
3296
|
"typeDescriptions": {
|
|
3297
3297
|
"typeIdentifier": "t_address",
|
|
@@ -3301,16 +3301,16 @@
|
|
|
3301
3301
|
"visibility": "internal"
|
|
3302
3302
|
}
|
|
3303
3303
|
],
|
|
3304
|
-
"src": "1111:12:
|
|
3304
|
+
"src": "1111:12:98"
|
|
3305
3305
|
},
|
|
3306
3306
|
"returnParameters": {
|
|
3307
|
-
"id":
|
|
3307
|
+
"id": 36180,
|
|
3308
3308
|
"nodeType": "ParameterList",
|
|
3309
3309
|
"parameters": [],
|
|
3310
|
-
"src": "1150:0:
|
|
3310
|
+
"src": "1150:0:98"
|
|
3311
3311
|
},
|
|
3312
|
-
"scope":
|
|
3313
|
-
"src": "1088:186:
|
|
3312
|
+
"scope": 36243,
|
|
3313
|
+
"src": "1088:186:98",
|
|
3314
3314
|
"stateMutability": "payable",
|
|
3315
3315
|
"virtual": false,
|
|
3316
3316
|
"visibility": "external"
|
|
@@ -3320,46 +3320,46 @@
|
|
|
3320
3320
|
19487
|
|
3321
3321
|
],
|
|
3322
3322
|
"body": {
|
|
3323
|
-
"id":
|
|
3323
|
+
"id": 36241,
|
|
3324
3324
|
"nodeType": "Block",
|
|
3325
|
-
"src": "1332:173:
|
|
3325
|
+
"src": "1332:173:98",
|
|
3326
3326
|
"statements": [
|
|
3327
3327
|
{
|
|
3328
3328
|
"expression": {
|
|
3329
3329
|
"arguments": [
|
|
3330
3330
|
{
|
|
3331
3331
|
"expression": {
|
|
3332
|
-
"id":
|
|
3332
|
+
"id": 36217,
|
|
3333
3333
|
"name": "msg",
|
|
3334
3334
|
"nodeType": "Identifier",
|
|
3335
3335
|
"overloadedDeclarations": [],
|
|
3336
3336
|
"referencedDeclaration": 4294967281,
|
|
3337
|
-
"src": "1378:3:
|
|
3337
|
+
"src": "1378:3:98",
|
|
3338
3338
|
"typeDescriptions": {
|
|
3339
3339
|
"typeIdentifier": "t_magic_message",
|
|
3340
3340
|
"typeString": "msg"
|
|
3341
3341
|
}
|
|
3342
3342
|
},
|
|
3343
|
-
"id":
|
|
3343
|
+
"id": 36218,
|
|
3344
3344
|
"isConstant": false,
|
|
3345
3345
|
"isLValue": false,
|
|
3346
3346
|
"isPure": false,
|
|
3347
3347
|
"lValueRequested": false,
|
|
3348
3348
|
"memberName": "sender",
|
|
3349
3349
|
"nodeType": "MemberAccess",
|
|
3350
|
-
"src": "1378:10:
|
|
3350
|
+
"src": "1378:10:98",
|
|
3351
3351
|
"typeDescriptions": {
|
|
3352
3352
|
"typeIdentifier": "t_address",
|
|
3353
3353
|
"typeString": "address"
|
|
3354
3354
|
}
|
|
3355
3355
|
},
|
|
3356
3356
|
{
|
|
3357
|
-
"id":
|
|
3357
|
+
"id": 36219,
|
|
3358
3358
|
"name": "wad",
|
|
3359
3359
|
"nodeType": "Identifier",
|
|
3360
3360
|
"overloadedDeclarations": [],
|
|
3361
|
-
"referencedDeclaration":
|
|
3362
|
-
"src": "1390:3:
|
|
3361
|
+
"referencedDeclaration": 36206,
|
|
3362
|
+
"src": "1390:3:98",
|
|
3363
3363
|
"typeDescriptions": {
|
|
3364
3364
|
"typeIdentifier": "t_uint256",
|
|
3365
3365
|
"typeString": "uint256"
|
|
@@ -3369,14 +3369,14 @@
|
|
|
3369
3369
|
"arguments": [
|
|
3370
3370
|
{
|
|
3371
3371
|
"hexValue": "30",
|
|
3372
|
-
"id":
|
|
3372
|
+
"id": 36222,
|
|
3373
3373
|
"isConstant": false,
|
|
3374
3374
|
"isLValue": false,
|
|
3375
3375
|
"isPure": true,
|
|
3376
3376
|
"kind": "number",
|
|
3377
3377
|
"lValueRequested": false,
|
|
3378
3378
|
"nodeType": "Literal",
|
|
3379
|
-
"src": "1405:1:
|
|
3379
|
+
"src": "1405:1:98",
|
|
3380
3380
|
"typeDescriptions": {
|
|
3381
3381
|
"typeIdentifier": "t_rational_0_by_1",
|
|
3382
3382
|
"typeString": "int_const 0"
|
|
@@ -3391,29 +3391,29 @@
|
|
|
3391
3391
|
"typeString": "int_const 0"
|
|
3392
3392
|
}
|
|
3393
3393
|
],
|
|
3394
|
-
"id":
|
|
3394
|
+
"id": 36221,
|
|
3395
3395
|
"isConstant": false,
|
|
3396
3396
|
"isLValue": false,
|
|
3397
3397
|
"isPure": true,
|
|
3398
3398
|
"lValueRequested": false,
|
|
3399
3399
|
"nodeType": "NewExpression",
|
|
3400
|
-
"src": "1395:9:
|
|
3400
|
+
"src": "1395:9:98",
|
|
3401
3401
|
"typeDescriptions": {
|
|
3402
3402
|
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$",
|
|
3403
3403
|
"typeString": "function (uint256) pure returns (bytes memory)"
|
|
3404
3404
|
},
|
|
3405
3405
|
"typeName": {
|
|
3406
|
-
"id":
|
|
3406
|
+
"id": 36220,
|
|
3407
3407
|
"name": "bytes",
|
|
3408
3408
|
"nodeType": "ElementaryTypeName",
|
|
3409
|
-
"src": "1399:5:
|
|
3409
|
+
"src": "1399:5:98",
|
|
3410
3410
|
"typeDescriptions": {
|
|
3411
3411
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
3412
3412
|
"typeString": "bytes"
|
|
3413
3413
|
}
|
|
3414
3414
|
}
|
|
3415
3415
|
},
|
|
3416
|
-
"id":
|
|
3416
|
+
"id": 36223,
|
|
3417
3417
|
"isConstant": false,
|
|
3418
3418
|
"isLValue": false,
|
|
3419
3419
|
"isPure": true,
|
|
@@ -3421,7 +3421,7 @@
|
|
|
3421
3421
|
"lValueRequested": false,
|
|
3422
3422
|
"names": [],
|
|
3423
3423
|
"nodeType": "FunctionCall",
|
|
3424
|
-
"src": "1395:12:
|
|
3424
|
+
"src": "1395:12:98",
|
|
3425
3425
|
"tryCall": false,
|
|
3426
3426
|
"typeDescriptions": {
|
|
3427
3427
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
@@ -3449,14 +3449,14 @@
|
|
|
3449
3449
|
{
|
|
3450
3450
|
"arguments": [
|
|
3451
3451
|
{
|
|
3452
|
-
"id":
|
|
3452
|
+
"id": 36213,
|
|
3453
3453
|
"name": "this",
|
|
3454
3454
|
"nodeType": "Identifier",
|
|
3455
3455
|
"overloadedDeclarations": [],
|
|
3456
3456
|
"referencedDeclaration": 4294967268,
|
|
3457
|
-
"src": "1362:4:
|
|
3457
|
+
"src": "1362:4:98",
|
|
3458
3458
|
"typeDescriptions": {
|
|
3459
|
-
"typeIdentifier": "t_contract$_SETHProxy_$
|
|
3459
|
+
"typeIdentifier": "t_contract$_SETHProxy_$36243",
|
|
3460
3460
|
"typeString": "contract SETHProxy"
|
|
3461
3461
|
}
|
|
3462
3462
|
}
|
|
@@ -3464,30 +3464,30 @@
|
|
|
3464
3464
|
"expression": {
|
|
3465
3465
|
"argumentTypes": [
|
|
3466
3466
|
{
|
|
3467
|
-
"typeIdentifier": "t_contract$_SETHProxy_$
|
|
3467
|
+
"typeIdentifier": "t_contract$_SETHProxy_$36243",
|
|
3468
3468
|
"typeString": "contract SETHProxy"
|
|
3469
3469
|
}
|
|
3470
3470
|
],
|
|
3471
|
-
"id":
|
|
3471
|
+
"id": 36212,
|
|
3472
3472
|
"isConstant": false,
|
|
3473
3473
|
"isLValue": false,
|
|
3474
3474
|
"isPure": true,
|
|
3475
3475
|
"lValueRequested": false,
|
|
3476
3476
|
"nodeType": "ElementaryTypeNameExpression",
|
|
3477
|
-
"src": "1354:7:
|
|
3477
|
+
"src": "1354:7:98",
|
|
3478
3478
|
"typeDescriptions": {
|
|
3479
3479
|
"typeIdentifier": "t_type$_t_address_$",
|
|
3480
3480
|
"typeString": "type(address)"
|
|
3481
3481
|
},
|
|
3482
3482
|
"typeName": {
|
|
3483
|
-
"id":
|
|
3483
|
+
"id": 36211,
|
|
3484
3484
|
"name": "address",
|
|
3485
3485
|
"nodeType": "ElementaryTypeName",
|
|
3486
|
-
"src": "1354:7:
|
|
3486
|
+
"src": "1354:7:98",
|
|
3487
3487
|
"typeDescriptions": {}
|
|
3488
3488
|
}
|
|
3489
3489
|
},
|
|
3490
|
-
"id":
|
|
3490
|
+
"id": 36214,
|
|
3491
3491
|
"isConstant": false,
|
|
3492
3492
|
"isLValue": false,
|
|
3493
3493
|
"isPure": false,
|
|
@@ -3495,7 +3495,7 @@
|
|
|
3495
3495
|
"lValueRequested": false,
|
|
3496
3496
|
"names": [],
|
|
3497
3497
|
"nodeType": "FunctionCall",
|
|
3498
|
-
"src": "1354:13:
|
|
3498
|
+
"src": "1354:13:98",
|
|
3499
3499
|
"tryCall": false,
|
|
3500
3500
|
"typeDescriptions": {
|
|
3501
3501
|
"typeIdentifier": "t_address",
|
|
@@ -3510,18 +3510,18 @@
|
|
|
3510
3510
|
"typeString": "address"
|
|
3511
3511
|
}
|
|
3512
3512
|
],
|
|
3513
|
-
"id":
|
|
3513
|
+
"id": 36210,
|
|
3514
3514
|
"name": "ISuperToken",
|
|
3515
3515
|
"nodeType": "Identifier",
|
|
3516
3516
|
"overloadedDeclarations": [],
|
|
3517
3517
|
"referencedDeclaration": 18439,
|
|
3518
|
-
"src": "1342:11:
|
|
3518
|
+
"src": "1342:11:98",
|
|
3519
3519
|
"typeDescriptions": {
|
|
3520
3520
|
"typeIdentifier": "t_type$_t_contract$_ISuperToken_$18439_$",
|
|
3521
3521
|
"typeString": "type(contract ISuperToken)"
|
|
3522
3522
|
}
|
|
3523
3523
|
},
|
|
3524
|
-
"id":
|
|
3524
|
+
"id": 36215,
|
|
3525
3525
|
"isConstant": false,
|
|
3526
3526
|
"isLValue": false,
|
|
3527
3527
|
"isPure": false,
|
|
@@ -3529,14 +3529,14 @@
|
|
|
3529
3529
|
"lValueRequested": false,
|
|
3530
3530
|
"names": [],
|
|
3531
3531
|
"nodeType": "FunctionCall",
|
|
3532
|
-
"src": "1342:26:
|
|
3532
|
+
"src": "1342:26:98",
|
|
3533
3533
|
"tryCall": false,
|
|
3534
3534
|
"typeDescriptions": {
|
|
3535
3535
|
"typeIdentifier": "t_contract$_ISuperToken_$18439",
|
|
3536
3536
|
"typeString": "contract ISuperToken"
|
|
3537
3537
|
}
|
|
3538
3538
|
},
|
|
3539
|
-
"id":
|
|
3539
|
+
"id": 36216,
|
|
3540
3540
|
"isConstant": false,
|
|
3541
3541
|
"isLValue": false,
|
|
3542
3542
|
"isPure": false,
|
|
@@ -3544,13 +3544,13 @@
|
|
|
3544
3544
|
"memberName": "selfBurn",
|
|
3545
3545
|
"nodeType": "MemberAccess",
|
|
3546
3546
|
"referencedDeclaration": 18330,
|
|
3547
|
-
"src": "1342:35:
|
|
3547
|
+
"src": "1342:35:98",
|
|
3548
3548
|
"typeDescriptions": {
|
|
3549
3549
|
"typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$",
|
|
3550
3550
|
"typeString": "function (address,uint256,bytes memory) external"
|
|
3551
3551
|
}
|
|
3552
3552
|
},
|
|
3553
|
-
"id":
|
|
3553
|
+
"id": 36224,
|
|
3554
3554
|
"isConstant": false,
|
|
3555
3555
|
"isLValue": false,
|
|
3556
3556
|
"isPure": false,
|
|
@@ -3558,27 +3558,27 @@
|
|
|
3558
3558
|
"lValueRequested": false,
|
|
3559
3559
|
"names": [],
|
|
3560
3560
|
"nodeType": "FunctionCall",
|
|
3561
|
-
"src": "1342:66:
|
|
3561
|
+
"src": "1342:66:98",
|
|
3562
3562
|
"tryCall": false,
|
|
3563
3563
|
"typeDescriptions": {
|
|
3564
3564
|
"typeIdentifier": "t_tuple$__$",
|
|
3565
3565
|
"typeString": "tuple()"
|
|
3566
3566
|
}
|
|
3567
3567
|
},
|
|
3568
|
-
"id":
|
|
3568
|
+
"id": 36225,
|
|
3569
3569
|
"nodeType": "ExpressionStatement",
|
|
3570
|
-
"src": "1342:66:
|
|
3570
|
+
"src": "1342:66:98"
|
|
3571
3571
|
},
|
|
3572
3572
|
{
|
|
3573
3573
|
"expression": {
|
|
3574
3574
|
"arguments": [
|
|
3575
3575
|
{
|
|
3576
|
-
"id":
|
|
3576
|
+
"id": 36232,
|
|
3577
3577
|
"name": "wad",
|
|
3578
3578
|
"nodeType": "Identifier",
|
|
3579
3579
|
"overloadedDeclarations": [],
|
|
3580
|
-
"referencedDeclaration":
|
|
3581
|
-
"src": "1447:3:
|
|
3580
|
+
"referencedDeclaration": 36206,
|
|
3581
|
+
"src": "1447:3:98",
|
|
3582
3582
|
"typeDescriptions": {
|
|
3583
3583
|
"typeIdentifier": "t_uint256",
|
|
3584
3584
|
"typeString": "uint256"
|
|
@@ -3596,25 +3596,25 @@
|
|
|
3596
3596
|
"arguments": [
|
|
3597
3597
|
{
|
|
3598
3598
|
"expression": {
|
|
3599
|
-
"id":
|
|
3599
|
+
"id": 36228,
|
|
3600
3600
|
"name": "msg",
|
|
3601
3601
|
"nodeType": "Identifier",
|
|
3602
3602
|
"overloadedDeclarations": [],
|
|
3603
3603
|
"referencedDeclaration": 4294967281,
|
|
3604
|
-
"src": "1426:3:
|
|
3604
|
+
"src": "1426:3:98",
|
|
3605
3605
|
"typeDescriptions": {
|
|
3606
3606
|
"typeIdentifier": "t_magic_message",
|
|
3607
3607
|
"typeString": "msg"
|
|
3608
3608
|
}
|
|
3609
3609
|
},
|
|
3610
|
-
"id":
|
|
3610
|
+
"id": 36229,
|
|
3611
3611
|
"isConstant": false,
|
|
3612
3612
|
"isLValue": false,
|
|
3613
3613
|
"isPure": false,
|
|
3614
3614
|
"lValueRequested": false,
|
|
3615
3615
|
"memberName": "sender",
|
|
3616
3616
|
"nodeType": "MemberAccess",
|
|
3617
|
-
"src": "1426:10:
|
|
3617
|
+
"src": "1426:10:98",
|
|
3618
3618
|
"typeDescriptions": {
|
|
3619
3619
|
"typeIdentifier": "t_address",
|
|
3620
3620
|
"typeString": "address"
|
|
@@ -3628,27 +3628,27 @@
|
|
|
3628
3628
|
"typeString": "address"
|
|
3629
3629
|
}
|
|
3630
3630
|
],
|
|
3631
|
-
"id":
|
|
3631
|
+
"id": 36227,
|
|
3632
3632
|
"isConstant": false,
|
|
3633
3633
|
"isLValue": false,
|
|
3634
3634
|
"isPure": true,
|
|
3635
3635
|
"lValueRequested": false,
|
|
3636
3636
|
"nodeType": "ElementaryTypeNameExpression",
|
|
3637
|
-
"src": "1418:8:
|
|
3637
|
+
"src": "1418:8:98",
|
|
3638
3638
|
"typeDescriptions": {
|
|
3639
3639
|
"typeIdentifier": "t_type$_t_address_payable_$",
|
|
3640
3640
|
"typeString": "type(address payable)"
|
|
3641
3641
|
},
|
|
3642
3642
|
"typeName": {
|
|
3643
|
-
"id":
|
|
3643
|
+
"id": 36226,
|
|
3644
3644
|
"name": "address",
|
|
3645
3645
|
"nodeType": "ElementaryTypeName",
|
|
3646
|
-
"src": "1418:8:
|
|
3646
|
+
"src": "1418:8:98",
|
|
3647
3647
|
"stateMutability": "payable",
|
|
3648
3648
|
"typeDescriptions": {}
|
|
3649
3649
|
}
|
|
3650
3650
|
},
|
|
3651
|
-
"id":
|
|
3651
|
+
"id": 36230,
|
|
3652
3652
|
"isConstant": false,
|
|
3653
3653
|
"isLValue": false,
|
|
3654
3654
|
"isPure": false,
|
|
@@ -3656,27 +3656,27 @@
|
|
|
3656
3656
|
"lValueRequested": false,
|
|
3657
3657
|
"names": [],
|
|
3658
3658
|
"nodeType": "FunctionCall",
|
|
3659
|
-
"src": "1418:19:
|
|
3659
|
+
"src": "1418:19:98",
|
|
3660
3660
|
"tryCall": false,
|
|
3661
3661
|
"typeDescriptions": {
|
|
3662
3662
|
"typeIdentifier": "t_address_payable",
|
|
3663
3663
|
"typeString": "address payable"
|
|
3664
3664
|
}
|
|
3665
3665
|
},
|
|
3666
|
-
"id":
|
|
3666
|
+
"id": 36231,
|
|
3667
3667
|
"isConstant": false,
|
|
3668
3668
|
"isLValue": false,
|
|
3669
3669
|
"isPure": false,
|
|
3670
3670
|
"lValueRequested": false,
|
|
3671
3671
|
"memberName": "transfer",
|
|
3672
3672
|
"nodeType": "MemberAccess",
|
|
3673
|
-
"src": "1418:28:
|
|
3673
|
+
"src": "1418:28:98",
|
|
3674
3674
|
"typeDescriptions": {
|
|
3675
3675
|
"typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$",
|
|
3676
3676
|
"typeString": "function (uint256)"
|
|
3677
3677
|
}
|
|
3678
3678
|
},
|
|
3679
|
-
"id":
|
|
3679
|
+
"id": 36233,
|
|
3680
3680
|
"isConstant": false,
|
|
3681
3681
|
"isLValue": false,
|
|
3682
3682
|
"isPure": false,
|
|
@@ -3684,53 +3684,53 @@
|
|
|
3684
3684
|
"lValueRequested": false,
|
|
3685
3685
|
"names": [],
|
|
3686
3686
|
"nodeType": "FunctionCall",
|
|
3687
|
-
"src": "1418:33:
|
|
3687
|
+
"src": "1418:33:98",
|
|
3688
3688
|
"tryCall": false,
|
|
3689
3689
|
"typeDescriptions": {
|
|
3690
3690
|
"typeIdentifier": "t_tuple$__$",
|
|
3691
3691
|
"typeString": "tuple()"
|
|
3692
3692
|
}
|
|
3693
3693
|
},
|
|
3694
|
-
"id":
|
|
3694
|
+
"id": 36234,
|
|
3695
3695
|
"nodeType": "ExpressionStatement",
|
|
3696
|
-
"src": "1418:33:
|
|
3696
|
+
"src": "1418:33:98"
|
|
3697
3697
|
},
|
|
3698
3698
|
{
|
|
3699
3699
|
"eventCall": {
|
|
3700
3700
|
"arguments": [
|
|
3701
3701
|
{
|
|
3702
3702
|
"expression": {
|
|
3703
|
-
"id":
|
|
3703
|
+
"id": 36236,
|
|
3704
3704
|
"name": "msg",
|
|
3705
3705
|
"nodeType": "Identifier",
|
|
3706
3706
|
"overloadedDeclarations": [],
|
|
3707
3707
|
"referencedDeclaration": 4294967281,
|
|
3708
|
-
"src": "1482:3:
|
|
3708
|
+
"src": "1482:3:98",
|
|
3709
3709
|
"typeDescriptions": {
|
|
3710
3710
|
"typeIdentifier": "t_magic_message",
|
|
3711
3711
|
"typeString": "msg"
|
|
3712
3712
|
}
|
|
3713
3713
|
},
|
|
3714
|
-
"id":
|
|
3714
|
+
"id": 36237,
|
|
3715
3715
|
"isConstant": false,
|
|
3716
3716
|
"isLValue": false,
|
|
3717
3717
|
"isPure": false,
|
|
3718
3718
|
"lValueRequested": false,
|
|
3719
3719
|
"memberName": "sender",
|
|
3720
3720
|
"nodeType": "MemberAccess",
|
|
3721
|
-
"src": "1482:10:
|
|
3721
|
+
"src": "1482:10:98",
|
|
3722
3722
|
"typeDescriptions": {
|
|
3723
3723
|
"typeIdentifier": "t_address",
|
|
3724
3724
|
"typeString": "address"
|
|
3725
3725
|
}
|
|
3726
3726
|
},
|
|
3727
3727
|
{
|
|
3728
|
-
"id":
|
|
3728
|
+
"id": 36238,
|
|
3729
3729
|
"name": "wad",
|
|
3730
3730
|
"nodeType": "Identifier",
|
|
3731
3731
|
"overloadedDeclarations": [],
|
|
3732
|
-
"referencedDeclaration":
|
|
3733
|
-
"src": "1494:3:
|
|
3732
|
+
"referencedDeclaration": 36206,
|
|
3733
|
+
"src": "1494:3:98",
|
|
3734
3734
|
"typeDescriptions": {
|
|
3735
3735
|
"typeIdentifier": "t_uint256",
|
|
3736
3736
|
"typeString": "uint256"
|
|
@@ -3748,18 +3748,18 @@
|
|
|
3748
3748
|
"typeString": "uint256"
|
|
3749
3749
|
}
|
|
3750
3750
|
],
|
|
3751
|
-
"id":
|
|
3751
|
+
"id": 36235,
|
|
3752
3752
|
"name": "TokenDowngraded",
|
|
3753
3753
|
"nodeType": "Identifier",
|
|
3754
3754
|
"overloadedDeclarations": [],
|
|
3755
|
-
"referencedDeclaration":
|
|
3756
|
-
"src": "1466:15:
|
|
3755
|
+
"referencedDeclaration": 36117,
|
|
3756
|
+
"src": "1466:15:98",
|
|
3757
3757
|
"typeDescriptions": {
|
|
3758
3758
|
"typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$",
|
|
3759
3759
|
"typeString": "function (address,uint256)"
|
|
3760
3760
|
}
|
|
3761
3761
|
},
|
|
3762
|
-
"id":
|
|
3762
|
+
"id": 36239,
|
|
3763
3763
|
"isConstant": false,
|
|
3764
3764
|
"isLValue": false,
|
|
3765
3765
|
"isPure": false,
|
|
@@ -3767,46 +3767,46 @@
|
|
|
3767
3767
|
"lValueRequested": false,
|
|
3768
3768
|
"names": [],
|
|
3769
3769
|
"nodeType": "FunctionCall",
|
|
3770
|
-
"src": "1466:32:
|
|
3770
|
+
"src": "1466:32:98",
|
|
3771
3771
|
"tryCall": false,
|
|
3772
3772
|
"typeDescriptions": {
|
|
3773
3773
|
"typeIdentifier": "t_tuple$__$",
|
|
3774
3774
|
"typeString": "tuple()"
|
|
3775
3775
|
}
|
|
3776
3776
|
},
|
|
3777
|
-
"id":
|
|
3777
|
+
"id": 36240,
|
|
3778
3778
|
"nodeType": "EmitStatement",
|
|
3779
|
-
"src": "1461:37:
|
|
3779
|
+
"src": "1461:37:98"
|
|
3780
3780
|
}
|
|
3781
3781
|
]
|
|
3782
3782
|
},
|
|
3783
3783
|
"functionSelector": "160e8be3",
|
|
3784
|
-
"id":
|
|
3784
|
+
"id": 36242,
|
|
3785
3785
|
"implemented": true,
|
|
3786
3786
|
"kind": "function",
|
|
3787
3787
|
"modifiers": [],
|
|
3788
3788
|
"name": "downgradeToETH",
|
|
3789
|
-
"nameLocation": "1289:14:
|
|
3789
|
+
"nameLocation": "1289:14:98",
|
|
3790
3790
|
"nodeType": "FunctionDefinition",
|
|
3791
3791
|
"overrides": {
|
|
3792
|
-
"id":
|
|
3792
|
+
"id": 36208,
|
|
3793
3793
|
"nodeType": "OverrideSpecifier",
|
|
3794
3794
|
"overrides": [],
|
|
3795
|
-
"src": "1323:8:
|
|
3795
|
+
"src": "1323:8:98"
|
|
3796
3796
|
},
|
|
3797
3797
|
"parameters": {
|
|
3798
|
-
"id":
|
|
3798
|
+
"id": 36207,
|
|
3799
3799
|
"nodeType": "ParameterList",
|
|
3800
3800
|
"parameters": [
|
|
3801
3801
|
{
|
|
3802
3802
|
"constant": false,
|
|
3803
|
-
"id":
|
|
3803
|
+
"id": 36206,
|
|
3804
3804
|
"mutability": "mutable",
|
|
3805
3805
|
"name": "wad",
|
|
3806
|
-
"nameLocation": "1309:3:
|
|
3806
|
+
"nameLocation": "1309:3:98",
|
|
3807
3807
|
"nodeType": "VariableDeclaration",
|
|
3808
|
-
"scope":
|
|
3809
|
-
"src": "1304:8:
|
|
3808
|
+
"scope": 36242,
|
|
3809
|
+
"src": "1304:8:98",
|
|
3810
3810
|
"stateVariable": false,
|
|
3811
3811
|
"storageLocation": "default",
|
|
3812
3812
|
"typeDescriptions": {
|
|
@@ -3814,10 +3814,10 @@
|
|
|
3814
3814
|
"typeString": "uint256"
|
|
3815
3815
|
},
|
|
3816
3816
|
"typeName": {
|
|
3817
|
-
"id":
|
|
3817
|
+
"id": 36205,
|
|
3818
3818
|
"name": "uint",
|
|
3819
3819
|
"nodeType": "ElementaryTypeName",
|
|
3820
|
-
"src": "1304:4:
|
|
3820
|
+
"src": "1304:4:98",
|
|
3821
3821
|
"typeDescriptions": {
|
|
3822
3822
|
"typeIdentifier": "t_uint256",
|
|
3823
3823
|
"typeString": "uint256"
|
|
@@ -3826,27 +3826,27 @@
|
|
|
3826
3826
|
"visibility": "internal"
|
|
3827
3827
|
}
|
|
3828
3828
|
],
|
|
3829
|
-
"src": "1303:10:
|
|
3829
|
+
"src": "1303:10:98"
|
|
3830
3830
|
},
|
|
3831
3831
|
"returnParameters": {
|
|
3832
|
-
"id":
|
|
3832
|
+
"id": 36209,
|
|
3833
3833
|
"nodeType": "ParameterList",
|
|
3834
3834
|
"parameters": [],
|
|
3835
|
-
"src": "1332:0:
|
|
3835
|
+
"src": "1332:0:98"
|
|
3836
3836
|
},
|
|
3837
|
-
"scope":
|
|
3838
|
-
"src": "1280:225:
|
|
3837
|
+
"scope": 36243,
|
|
3838
|
+
"src": "1280:225:98",
|
|
3839
3839
|
"stateMutability": "nonpayable",
|
|
3840
3840
|
"virtual": false,
|
|
3841
3841
|
"visibility": "external"
|
|
3842
3842
|
}
|
|
3843
3843
|
],
|
|
3844
|
-
"scope":
|
|
3845
|
-
"src": "435:1072:
|
|
3844
|
+
"scope": 36244,
|
|
3845
|
+
"src": "435:1072:98",
|
|
3846
3846
|
"usedErrors": []
|
|
3847
3847
|
}
|
|
3848
3848
|
],
|
|
3849
|
-
"src": "35:1473:
|
|
3849
|
+
"src": "35:1473:98"
|
|
3850
3850
|
},
|
|
3851
3851
|
"compiler": {
|
|
3852
3852
|
"name": "solc",
|
|
@@ -3854,7 +3854,7 @@
|
|
|
3854
3854
|
},
|
|
3855
3855
|
"networks": {},
|
|
3856
3856
|
"schemaVersion": "3.4.7",
|
|
3857
|
-
"updatedAt": "2022-05-
|
|
3857
|
+
"updatedAt": "2022-05-09T18:30:12.029Z",
|
|
3858
3858
|
"devdoc": {
|
|
3859
3859
|
"author": "Superfluid It is also called a Native-Asset Super Token.",
|
|
3860
3860
|
"details": "Super ETH (SETH) custom super token implementation",
|