@superfluid-finance/ethereum-contracts 1.4.4-dev.bb1ba68.0 → 1.4.4-dev.c2b2de3.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/artifacts/contracts/utils/TOGA.sol/ITOGAv3.json +194 -0
- package/artifacts/contracts/utils/TOGA.sol/TOGA.json +2 -33
- 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 +1 -1
- package/build/contracts/AgreementLibrary.json +1 -1
- package/build/contracts/BaseRelayRecipient.json +1 -1
- package/build/contracts/BatchLiquidator.json +723 -723
- package/build/contracts/BatchOperation.json +1 -1
- package/build/contracts/CFAv1Forwarder.json +2050 -2050
- package/build/contracts/CFAv1Library.json +1 -1
- package/build/contracts/CallUtils.json +1 -1
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +1566 -1566
- package/build/contracts/ConstantFlowAgreementV1.json +4582 -4582
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.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 +1 -1
- package/build/contracts/ERC20.json +1289 -1289
- package/build/contracts/ERC20WithTokenInfo.json +1 -1
- package/build/contracts/ERC777Helper.json +1 -1
- package/build/contracts/ERC777RecipientDrainingGas.json +350 -350
- package/build/contracts/ERC777RecipientReverting.json +373 -373
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/EventsEmitter.json +1 -1
- package/build/contracts/ExclusiveInflowTestApp.json +1594 -1594
- package/build/contracts/FixedSizeData.json +1 -1
- package/build/contracts/FlowExchangeTestApp.json +1704 -1704
- package/build/contracts/FlowOperatorDefinitions.json +1 -1
- package/build/contracts/FullUpgradableSuperTokenProxy.json +74 -74
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementHook.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/IERC20Permit.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/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 +2099 -2898
- package/build/contracts/ITOGAv2.json +2098 -2897
- package/build/contracts/ITOGAv3.json +10990 -0
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +5077 -5077
- package/build/contracts/NonClosableOutflowTestApp.json +1469 -1469
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/Proxy.json +1 -1
- package/build/contracts/PureSuperToken.json +534 -534
- package/build/contracts/Resolver.json +885 -885
- package/build/contracts/SETHProxy.json +293 -293
- 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 +1566 -1566
- package/build/contracts/SlotsBitmapLibrary.json +971 -971
- package/build/contracts/StreamRedirector.json +1956 -1956
- 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 +4575 -4575
- package/build/contracts/SuperTokenFactory.json +1753 -1753
- package/build/contracts/SuperTokenFactoryBase.json +1 -1
- package/build/contracts/SuperTokenFactoryHelper.json +104 -104
- package/build/contracts/SuperUpgrader.json +1718 -1718
- package/build/contracts/Superfluid.json +4566 -4566
- package/build/contracts/SuperfluidFrameworkDeployer.json +2400 -2400
- package/build/contracts/SuperfluidGovernanceBase.json +1 -1
- package/build/contracts/SuperfluidGovernanceConfigs.json +1 -1
- package/build/contracts/SuperfluidGovernanceII.json +2438 -2438
- package/build/contracts/SuperfluidGovernanceIIProxy.json +211 -211
- package/build/contracts/SuperfluidLoader.json +500 -500
- package/build/contracts/SuperfluidToken.json +1 -1
- package/build/contracts/TOGA.json +4255 -6226
- package/build/contracts/TestGovernance.json +2494 -2494
- package/build/contracts/TestResolver.json +964 -964
- package/build/contracts/TestToken.json +1478 -1478
- package/build/contracts/TokenInfo.json +1 -1
- package/build/contracts/UUPSProxiable.json +1 -1
- package/build/contracts/UUPSProxy.json +116 -116
- package/build/contracts/UUPSUtils.json +1 -1
- package/build/typechain/contracts/utils/TOGA.sol/ITOGAv3.d.ts +158 -0
- package/build/typechain/contracts/utils/TOGA.sol/ITOGAv3.d.ts.map +1 -0
- package/build/typechain/contracts/utils/{TokenCustodian.js → TOGA.sol/ITOGAv3.js} +1 -1
- package/build/typechain/contracts/utils/TOGA.sol/ITOGAv3.js.map +1 -0
- package/build/typechain/contracts/utils/TOGA.sol/TOGA.d.ts +1 -25
- package/build/typechain/contracts/utils/TOGA.sol/TOGA.d.ts.map +1 -1
- package/build/typechain/contracts/utils/TOGA.sol/index.d.ts +1 -0
- package/build/typechain/contracts/utils/TOGA.sol/index.d.ts.map +1 -1
- package/build/typechain/contracts/utils/index.d.ts +0 -1
- package/build/typechain/contracts/utils/index.d.ts.map +1 -1
- package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.d.ts +36 -0
- package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.d.ts.map +1 -0
- package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.js +203 -0
- package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.js.map +1 -0
- package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.d.ts +3 -3
- package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.d.ts.map +1 -1
- package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.js +5 -36
- package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.js.map +1 -1
- package/build/typechain/factories/contracts/utils/TOGA.sol/index.d.ts +1 -0
- package/build/typechain/factories/contracts/utils/TOGA.sol/index.d.ts.map +1 -1
- package/build/typechain/factories/contracts/utils/TOGA.sol/index.js +3 -1
- package/build/typechain/factories/contracts/utils/TOGA.sol/index.js.map +1 -1
- package/build/typechain/factories/contracts/utils/index.d.ts +0 -1
- package/build/typechain/factories/contracts/utils/index.d.ts.map +1 -1
- package/build/typechain/factories/contracts/utils/index.js +1 -3
- package/build/typechain/factories/contracts/utils/index.js.map +1 -1
- package/build/typechain/index.d.ts +2 -2
- package/build/typechain/index.d.ts.map +1 -1
- package/build/typechain/index.js +3 -3
- package/build/typechain/index.js.map +1 -1
- package/contracts/utils/TOGA.sol +16 -28
- package/package.json +2 -2
- package/scripts/deploy-aux-contracts.js +1 -5
- package/artifacts/contracts/utils/TokenCustodian.sol/TokenCustodian.json +0 -146
- package/build/contracts/TokenCustodian.json +0 -5052
- package/build/typechain/contracts/utils/TokenCustodian.d.ts +0 -114
- package/build/typechain/contracts/utils/TokenCustodian.d.ts.map +0 -1
- package/build/typechain/contracts/utils/TokenCustodian.js.map +0 -1
- package/build/typechain/factories/contracts/utils/TokenCustodian__factory.d.ts +0 -56
- package/build/typechain/factories/contracts/utils/TokenCustodian__factory.d.ts.map +0 -1
- package/build/typechain/factories/contracts/utils/TokenCustodian__factory.js +0 -178
- package/build/typechain/factories/contracts/utils/TokenCustodian__factory.js.map +0 -1
- package/contracts/utils/TokenCustodian.sol +0 -55
|
@@ -103,17 +103,17 @@
|
|
|
103
103
|
{
|
|
104
104
|
"ast": {
|
|
105
105
|
"nodeType": "YulBlock",
|
|
106
|
-
"src": "0:2234:
|
|
106
|
+
"src": "0:2234:103",
|
|
107
107
|
"statements": [
|
|
108
108
|
{
|
|
109
109
|
"nodeType": "YulBlock",
|
|
110
|
-
"src": "6:3:
|
|
110
|
+
"src": "6:3:103",
|
|
111
111
|
"statements": []
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
114
|
"body": {
|
|
115
115
|
"nodeType": "YulBlock",
|
|
116
|
-
"src": "46:95:
|
|
116
|
+
"src": "46:95:103",
|
|
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:103",
|
|
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:103",
|
|
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:103",
|
|
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:103"
|
|
149
149
|
},
|
|
150
150
|
"nodeType": "YulFunctionCall",
|
|
151
|
-
"src": "66:20:
|
|
151
|
+
"src": "66:20:103"
|
|
152
152
|
}
|
|
153
153
|
],
|
|
154
154
|
"functionName": {
|
|
155
155
|
"name": "mstore",
|
|
156
156
|
"nodeType": "YulIdentifier",
|
|
157
|
-
"src": "56:6:
|
|
157
|
+
"src": "56:6:103"
|
|
158
158
|
},
|
|
159
159
|
"nodeType": "YulFunctionCall",
|
|
160
|
-
"src": "56:31:
|
|
160
|
+
"src": "56:31:103"
|
|
161
161
|
},
|
|
162
162
|
"nodeType": "YulExpressionStatement",
|
|
163
|
-
"src": "56:31:
|
|
163
|
+
"src": "56:31:103"
|
|
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:103",
|
|
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:103",
|
|
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:103"
|
|
187
187
|
},
|
|
188
188
|
"nodeType": "YulFunctionCall",
|
|
189
|
-
"src": "96:15:
|
|
189
|
+
"src": "96:15:103"
|
|
190
190
|
},
|
|
191
191
|
"nodeType": "YulExpressionStatement",
|
|
192
|
-
"src": "96:15:
|
|
192
|
+
"src": "96:15:103"
|
|
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:103",
|
|
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:103",
|
|
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:103"
|
|
216
216
|
},
|
|
217
217
|
"nodeType": "YulFunctionCall",
|
|
218
|
-
"src": "120:15:
|
|
218
|
+
"src": "120:15:103"
|
|
219
219
|
},
|
|
220
220
|
"nodeType": "YulExpressionStatement",
|
|
221
|
-
"src": "120:15:
|
|
221
|
+
"src": "120:15:103"
|
|
222
222
|
}
|
|
223
223
|
]
|
|
224
224
|
},
|
|
225
225
|
"name": "panic_error_0x41",
|
|
226
226
|
"nodeType": "YulFunctionDefinition",
|
|
227
|
-
"src": "14:127:
|
|
227
|
+
"src": "14:127:103"
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
"body": {
|
|
231
231
|
"nodeType": "YulBlock",
|
|
232
|
-
"src": "321:542:
|
|
232
|
+
"src": "321:542:103",
|
|
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:103"
|
|
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:103"
|
|
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:103",
|
|
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:103",
|
|
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:103"
|
|
272
272
|
},
|
|
273
273
|
"nodeType": "YulFunctionCall",
|
|
274
|
-
"src": "365:11:
|
|
274
|
+
"src": "365:11:103"
|
|
275
275
|
},
|
|
276
276
|
{
|
|
277
277
|
"kind": "number",
|
|
278
278
|
"nodeType": "YulLiteral",
|
|
279
|
-
"src": "378:1:
|
|
279
|
+
"src": "378:1:103",
|
|
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:103"
|
|
288
288
|
},
|
|
289
289
|
"nodeType": "YulFunctionCall",
|
|
290
|
-
"src": "361:19:
|
|
290
|
+
"src": "361:19:103"
|
|
291
291
|
}
|
|
292
292
|
],
|
|
293
293
|
"functionName": {
|
|
294
294
|
"name": "and",
|
|
295
295
|
"nodeType": "YulIdentifier",
|
|
296
|
-
"src": "349:3:
|
|
296
|
+
"src": "349:3:103"
|
|
297
297
|
},
|
|
298
298
|
"nodeType": "YulFunctionCall",
|
|
299
|
-
"src": "349:32:
|
|
299
|
+
"src": "349:32:103"
|
|
300
300
|
}
|
|
301
301
|
],
|
|
302
302
|
"functionName": {
|
|
303
303
|
"name": "mstore",
|
|
304
304
|
"nodeType": "YulIdentifier",
|
|
305
|
-
"src": "331:6:
|
|
305
|
+
"src": "331:6:103"
|
|
306
306
|
},
|
|
307
307
|
"nodeType": "YulFunctionCall",
|
|
308
|
-
"src": "331:51:
|
|
308
|
+
"src": "331:51:103"
|
|
309
309
|
},
|
|
310
310
|
"nodeType": "YulExpressionStatement",
|
|
311
|
-
"src": "331:51:
|
|
311
|
+
"src": "331:51:103"
|
|
312
312
|
},
|
|
313
313
|
{
|
|
314
314
|
"nodeType": "YulVariableDeclaration",
|
|
315
|
-
"src": "391:12:
|
|
315
|
+
"src": "391:12:103",
|
|
316
316
|
"value": {
|
|
317
317
|
"kind": "number",
|
|
318
318
|
"nodeType": "YulLiteral",
|
|
319
|
-
"src": "401:2:
|
|
319
|
+
"src": "401:2:103",
|
|
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:103",
|
|
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:103"
|
|
341
341
|
},
|
|
342
342
|
{
|
|
343
343
|
"name": "_1",
|
|
344
344
|
"nodeType": "YulIdentifier",
|
|
345
|
-
"src": "434:2:
|
|
345
|
+
"src": "434:2:103"
|
|
346
346
|
}
|
|
347
347
|
],
|
|
348
348
|
"functionName": {
|
|
349
349
|
"name": "add",
|
|
350
350
|
"nodeType": "YulIdentifier",
|
|
351
|
-
"src": "419:3:
|
|
351
|
+
"src": "419:3:103"
|
|
352
352
|
},
|
|
353
353
|
"nodeType": "YulFunctionCall",
|
|
354
|
-
"src": "419:18:
|
|
354
|
+
"src": "419:18:103"
|
|
355
355
|
},
|
|
356
356
|
{
|
|
357
357
|
"name": "value1",
|
|
358
358
|
"nodeType": "YulIdentifier",
|
|
359
|
-
"src": "439:6:
|
|
359
|
+
"src": "439:6:103"
|
|
360
360
|
}
|
|
361
361
|
],
|
|
362
362
|
"functionName": {
|
|
363
363
|
"name": "mstore",
|
|
364
364
|
"nodeType": "YulIdentifier",
|
|
365
|
-
"src": "412:6:
|
|
365
|
+
"src": "412:6:103"
|
|
366
366
|
},
|
|
367
367
|
"nodeType": "YulFunctionCall",
|
|
368
|
-
"src": "412:34:
|
|
368
|
+
"src": "412:34:103"
|
|
369
369
|
},
|
|
370
370
|
"nodeType": "YulExpressionStatement",
|
|
371
|
-
"src": "412:34:
|
|
371
|
+
"src": "412:34:103"
|
|
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:103"
|
|
382
382
|
},
|
|
383
383
|
{
|
|
384
384
|
"kind": "number",
|
|
385
385
|
"nodeType": "YulLiteral",
|
|
386
|
-
"src": "477:2:
|
|
386
|
+
"src": "477:2:103",
|
|
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:103"
|
|
395
395
|
},
|
|
396
396
|
"nodeType": "YulFunctionCall",
|
|
397
|
-
"src": "462:18:
|
|
397
|
+
"src": "462:18:103"
|
|
398
398
|
},
|
|
399
399
|
{
|
|
400
400
|
"kind": "number",
|
|
401
401
|
"nodeType": "YulLiteral",
|
|
402
|
-
"src": "482:2:
|
|
402
|
+
"src": "482:2:103",
|
|
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:103"
|
|
411
411
|
},
|
|
412
412
|
"nodeType": "YulFunctionCall",
|
|
413
|
-
"src": "455:30:
|
|
413
|
+
"src": "455:30:103"
|
|
414
414
|
},
|
|
415
415
|
"nodeType": "YulExpressionStatement",
|
|
416
|
-
"src": "455:30:
|
|
416
|
+
"src": "455:30:103"
|
|
417
417
|
},
|
|
418
418
|
{
|
|
419
419
|
"nodeType": "YulVariableDeclaration",
|
|
420
|
-
"src": "494:27:
|
|
420
|
+
"src": "494:27:103",
|
|
421
421
|
"value": {
|
|
422
422
|
"arguments": [
|
|
423
423
|
{
|
|
424
424
|
"name": "value2",
|
|
425
425
|
"nodeType": "YulIdentifier",
|
|
426
|
-
"src": "514:6:
|
|
426
|
+
"src": "514:6:103"
|
|
427
427
|
}
|
|
428
428
|
],
|
|
429
429
|
"functionName": {
|
|
430
430
|
"name": "mload",
|
|
431
431
|
"nodeType": "YulIdentifier",
|
|
432
|
-
"src": "508:5:
|
|
432
|
+
"src": "508:5:103"
|
|
433
433
|
},
|
|
434
434
|
"nodeType": "YulFunctionCall",
|
|
435
|
-
"src": "508:13:
|
|
435
|
+
"src": "508:13:103"
|
|
436
436
|
},
|
|
437
437
|
"variables": [
|
|
438
438
|
{
|
|
439
439
|
"name": "length",
|
|
440
440
|
"nodeType": "YulTypedName",
|
|
441
|
-
"src": "498:6:
|
|
441
|
+
"src": "498:6:103",
|
|
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:103"
|
|
455
455
|
},
|
|
456
456
|
{
|
|
457
457
|
"kind": "number",
|
|
458
458
|
"nodeType": "YulLiteral",
|
|
459
|
-
"src": "552:2:
|
|
459
|
+
"src": "552:2:103",
|
|
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:103"
|
|
468
468
|
},
|
|
469
469
|
"nodeType": "YulFunctionCall",
|
|
470
|
-
"src": "537:18:
|
|
470
|
+
"src": "537:18:103"
|
|
471
471
|
},
|
|
472
472
|
{
|
|
473
473
|
"name": "length",
|
|
474
474
|
"nodeType": "YulIdentifier",
|
|
475
|
-
"src": "557:6:
|
|
475
|
+
"src": "557:6:103"
|
|
476
476
|
}
|
|
477
477
|
],
|
|
478
478
|
"functionName": {
|
|
479
479
|
"name": "mstore",
|
|
480
480
|
"nodeType": "YulIdentifier",
|
|
481
|
-
"src": "530:6:
|
|
481
|
+
"src": "530:6:103"
|
|
482
482
|
},
|
|
483
483
|
"nodeType": "YulFunctionCall",
|
|
484
|
-
"src": "530:34:
|
|
484
|
+
"src": "530:34:103"
|
|
485
485
|
},
|
|
486
486
|
"nodeType": "YulExpressionStatement",
|
|
487
|
-
"src": "530:34:
|
|
487
|
+
"src": "530:34:103"
|
|
488
488
|
},
|
|
489
489
|
{
|
|
490
490
|
"nodeType": "YulVariableDeclaration",
|
|
491
|
-
"src": "573:10:
|
|
491
|
+
"src": "573:10:103",
|
|
492
492
|
"value": {
|
|
493
493
|
"kind": "number",
|
|
494
494
|
"nodeType": "YulLiteral",
|
|
495
|
-
"src": "582:1:
|
|
495
|
+
"src": "582:1:103",
|
|
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:103",
|
|
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:103",
|
|
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:103"
|
|
524
524
|
},
|
|
525
525
|
{
|
|
526
526
|
"name": "i",
|
|
527
527
|
"nodeType": "YulIdentifier",
|
|
528
|
-
"src": "682:1:
|
|
528
|
+
"src": "682:1:103"
|
|
529
529
|
}
|
|
530
530
|
],
|
|
531
531
|
"functionName": {
|
|
532
532
|
"name": "add",
|
|
533
533
|
"nodeType": "YulIdentifier",
|
|
534
|
-
"src": "667:3:
|
|
534
|
+
"src": "667:3:103"
|
|
535
535
|
},
|
|
536
536
|
"nodeType": "YulFunctionCall",
|
|
537
|
-
"src": "667:17:
|
|
537
|
+
"src": "667:17:103"
|
|
538
538
|
},
|
|
539
539
|
{
|
|
540
540
|
"kind": "number",
|
|
541
541
|
"nodeType": "YulLiteral",
|
|
542
|
-
"src": "686:3:
|
|
542
|
+
"src": "686:3:103",
|
|
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:103"
|
|
551
551
|
},
|
|
552
552
|
"nodeType": "YulFunctionCall",
|
|
553
|
-
"src": "663:27:
|
|
553
|
+
"src": "663:27:103"
|
|
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:103"
|
|
565
565
|
},
|
|
566
566
|
{
|
|
567
567
|
"name": "i",
|
|
568
568
|
"nodeType": "YulIdentifier",
|
|
569
|
-
"src": "714:1:
|
|
569
|
+
"src": "714:1:103"
|
|
570
570
|
}
|
|
571
571
|
],
|
|
572
572
|
"functionName": {
|
|
573
573
|
"name": "add",
|
|
574
574
|
"nodeType": "YulIdentifier",
|
|
575
|
-
"src": "702:3:
|
|
575
|
+
"src": "702:3:103"
|
|
576
576
|
},
|
|
577
577
|
"nodeType": "YulFunctionCall",
|
|
578
|
-
"src": "702:14:
|
|
578
|
+
"src": "702:14:103"
|
|
579
579
|
},
|
|
580
580
|
{
|
|
581
581
|
"name": "_1",
|
|
582
582
|
"nodeType": "YulIdentifier",
|
|
583
|
-
"src": "718:2:
|
|
583
|
+
"src": "718:2:103"
|
|
584
584
|
}
|
|
585
585
|
],
|
|
586
586
|
"functionName": {
|
|
587
587
|
"name": "add",
|
|
588
588
|
"nodeType": "YulIdentifier",
|
|
589
|
-
"src": "698:3:
|
|
589
|
+
"src": "698:3:103"
|
|
590
590
|
},
|
|
591
591
|
"nodeType": "YulFunctionCall",
|
|
592
|
-
"src": "698:23:
|
|
592
|
+
"src": "698:23:103"
|
|
593
593
|
}
|
|
594
594
|
],
|
|
595
595
|
"functionName": {
|
|
596
596
|
"name": "mload",
|
|
597
597
|
"nodeType": "YulIdentifier",
|
|
598
|
-
"src": "692:5:
|
|
598
|
+
"src": "692:5:103"
|
|
599
599
|
},
|
|
600
600
|
"nodeType": "YulFunctionCall",
|
|
601
|
-
"src": "692:30:
|
|
601
|
+
"src": "692:30:103"
|
|
602
602
|
}
|
|
603
603
|
],
|
|
604
604
|
"functionName": {
|
|
605
605
|
"name": "mstore",
|
|
606
606
|
"nodeType": "YulIdentifier",
|
|
607
|
-
"src": "656:6:
|
|
607
|
+
"src": "656:6:103"
|
|
608
608
|
},
|
|
609
609
|
"nodeType": "YulFunctionCall",
|
|
610
|
-
"src": "656:67:
|
|
610
|
+
"src": "656:67:103"
|
|
611
611
|
},
|
|
612
612
|
"nodeType": "YulExpressionStatement",
|
|
613
|
-
"src": "656:67:
|
|
613
|
+
"src": "656:67:103"
|
|
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:103"
|
|
623
623
|
},
|
|
624
624
|
{
|
|
625
625
|
"name": "length",
|
|
626
626
|
"nodeType": "YulIdentifier",
|
|
627
|
-
"src": "606:6:
|
|
627
|
+
"src": "606:6:103"
|
|
628
628
|
}
|
|
629
629
|
],
|
|
630
630
|
"functionName": {
|
|
631
631
|
"name": "lt",
|
|
632
632
|
"nodeType": "YulIdentifier",
|
|
633
|
-
"src": "600:2:
|
|
633
|
+
"src": "600:2:103"
|
|
634
634
|
},
|
|
635
635
|
"nodeType": "YulFunctionCall",
|
|
636
|
-
"src": "600:13:
|
|
636
|
+
"src": "600:13:103"
|
|
637
637
|
},
|
|
638
638
|
"nodeType": "YulForLoop",
|
|
639
639
|
"post": {
|
|
640
640
|
"nodeType": "YulBlock",
|
|
641
|
-
"src": "614:19:
|
|
641
|
+
"src": "614:19:103",
|
|
642
642
|
"statements": [
|
|
643
643
|
{
|
|
644
644
|
"nodeType": "YulAssignment",
|
|
645
|
-
"src": "616:15:
|
|
645
|
+
"src": "616:15:103",
|
|
646
646
|
"value": {
|
|
647
647
|
"arguments": [
|
|
648
648
|
{
|
|
649
649
|
"name": "i",
|
|
650
650
|
"nodeType": "YulIdentifier",
|
|
651
|
-
"src": "625:1:
|
|
651
|
+
"src": "625:1:103"
|
|
652
652
|
},
|
|
653
653
|
{
|
|
654
654
|
"name": "_1",
|
|
655
655
|
"nodeType": "YulIdentifier",
|
|
656
|
-
"src": "628:2:
|
|
656
|
+
"src": "628:2:103"
|
|
657
657
|
}
|
|
658
658
|
],
|
|
659
659
|
"functionName": {
|
|
660
660
|
"name": "add",
|
|
661
661
|
"nodeType": "YulIdentifier",
|
|
662
|
-
"src": "621:3:
|
|
662
|
+
"src": "621:3:103"
|
|
663
663
|
},
|
|
664
664
|
"nodeType": "YulFunctionCall",
|
|
665
|
-
"src": "621:10:
|
|
665
|
+
"src": "621:10:103"
|
|
666
666
|
},
|
|
667
667
|
"variableNames": [
|
|
668
668
|
{
|
|
669
669
|
"name": "i",
|
|
670
670
|
"nodeType": "YulIdentifier",
|
|
671
|
-
"src": "616:1:
|
|
671
|
+
"src": "616:1:103"
|
|
672
672
|
}
|
|
673
673
|
]
|
|
674
674
|
}
|
|
@@ -676,10 +676,10 @@
|
|
|
676
676
|
},
|
|
677
677
|
"pre": {
|
|
678
678
|
"nodeType": "YulBlock",
|
|
679
|
-
"src": "596:3:
|
|
679
|
+
"src": "596:3:103",
|
|
680
680
|
"statements": []
|
|
681
681
|
},
|
|
682
|
-
"src": "592:141:
|
|
682
|
+
"src": "592:141:103"
|
|
683
683
|
},
|
|
684
684
|
{
|
|
685
685
|
"expression": {
|
|
@@ -691,26 +691,26 @@
|
|
|
691
691
|
{
|
|
692
692
|
"name": "headStart",
|
|
693
693
|
"nodeType": "YulIdentifier",
|
|
694
|
-
"src": "757:9:
|
|
694
|
+
"src": "757:9:103"
|
|
695
695
|
},
|
|
696
696
|
{
|
|
697
697
|
"name": "length",
|
|
698
698
|
"nodeType": "YulIdentifier",
|
|
699
|
-
"src": "768:6:
|
|
699
|
+
"src": "768:6:103"
|
|
700
700
|
}
|
|
701
701
|
],
|
|
702
702
|
"functionName": {
|
|
703
703
|
"name": "add",
|
|
704
704
|
"nodeType": "YulIdentifier",
|
|
705
|
-
"src": "753:3:
|
|
705
|
+
"src": "753:3:103"
|
|
706
706
|
},
|
|
707
707
|
"nodeType": "YulFunctionCall",
|
|
708
|
-
"src": "753:22:
|
|
708
|
+
"src": "753:22:103"
|
|
709
709
|
},
|
|
710
710
|
{
|
|
711
711
|
"kind": "number",
|
|
712
712
|
"nodeType": "YulLiteral",
|
|
713
|
-
"src": "777:3:
|
|
713
|
+
"src": "777:3:103",
|
|
714
714
|
"type": "",
|
|
715
715
|
"value": "128"
|
|
716
716
|
}
|
|
@@ -718,15 +718,15 @@
|
|
|
718
718
|
"functionName": {
|
|
719
719
|
"name": "add",
|
|
720
720
|
"nodeType": "YulIdentifier",
|
|
721
|
-
"src": "749:3:
|
|
721
|
+
"src": "749:3:103"
|
|
722
722
|
},
|
|
723
723
|
"nodeType": "YulFunctionCall",
|
|
724
|
-
"src": "749:32:
|
|
724
|
+
"src": "749:32:103"
|
|
725
725
|
},
|
|
726
726
|
{
|
|
727
727
|
"kind": "number",
|
|
728
728
|
"nodeType": "YulLiteral",
|
|
729
|
-
"src": "783:1:
|
|
729
|
+
"src": "783:1:103",
|
|
730
730
|
"type": "",
|
|
731
731
|
"value": "0"
|
|
732
732
|
}
|
|
@@ -734,17 +734,17 @@
|
|
|
734
734
|
"functionName": {
|
|
735
735
|
"name": "mstore",
|
|
736
736
|
"nodeType": "YulIdentifier",
|
|
737
|
-
"src": "742:6:
|
|
737
|
+
"src": "742:6:103"
|
|
738
738
|
},
|
|
739
739
|
"nodeType": "YulFunctionCall",
|
|
740
|
-
"src": "742:43:
|
|
740
|
+
"src": "742:43:103"
|
|
741
741
|
},
|
|
742
742
|
"nodeType": "YulExpressionStatement",
|
|
743
|
-
"src": "742:43:
|
|
743
|
+
"src": "742:43:103"
|
|
744
744
|
},
|
|
745
745
|
{
|
|
746
746
|
"nodeType": "YulAssignment",
|
|
747
|
-
"src": "794:63:
|
|
747
|
+
"src": "794:63:103",
|
|
748
748
|
"value": {
|
|
749
749
|
"arguments": [
|
|
750
750
|
{
|
|
@@ -752,7 +752,7 @@
|
|
|
752
752
|
{
|
|
753
753
|
"name": "headStart",
|
|
754
754
|
"nodeType": "YulIdentifier",
|
|
755
|
-
"src": "810:9:
|
|
755
|
+
"src": "810:9:103"
|
|
756
756
|
},
|
|
757
757
|
{
|
|
758
758
|
"arguments": [
|
|
@@ -761,12 +761,12 @@
|
|
|
761
761
|
{
|
|
762
762
|
"name": "length",
|
|
763
763
|
"nodeType": "YulIdentifier",
|
|
764
|
-
"src": "829:6:
|
|
764
|
+
"src": "829:6:103"
|
|
765
765
|
},
|
|
766
766
|
{
|
|
767
767
|
"kind": "number",
|
|
768
768
|
"nodeType": "YulLiteral",
|
|
769
|
-
"src": "837:2:
|
|
769
|
+
"src": "837:2:103",
|
|
770
770
|
"type": "",
|
|
771
771
|
"value": "31"
|
|
772
772
|
}
|
|
@@ -774,17 +774,17 @@
|
|
|
774
774
|
"functionName": {
|
|
775
775
|
"name": "add",
|
|
776
776
|
"nodeType": "YulIdentifier",
|
|
777
|
-
"src": "825:3:
|
|
777
|
+
"src": "825:3:103"
|
|
778
778
|
},
|
|
779
779
|
"nodeType": "YulFunctionCall",
|
|
780
|
-
"src": "825:15:
|
|
780
|
+
"src": "825:15:103"
|
|
781
781
|
},
|
|
782
782
|
{
|
|
783
783
|
"arguments": [
|
|
784
784
|
{
|
|
785
785
|
"kind": "number",
|
|
786
786
|
"nodeType": "YulLiteral",
|
|
787
|
-
"src": "846:2:
|
|
787
|
+
"src": "846:2:103",
|
|
788
788
|
"type": "",
|
|
789
789
|
"value": "31"
|
|
790
790
|
}
|
|
@@ -792,33 +792,33 @@
|
|
|
792
792
|
"functionName": {
|
|
793
793
|
"name": "not",
|
|
794
794
|
"nodeType": "YulIdentifier",
|
|
795
|
-
"src": "842:3:
|
|
795
|
+
"src": "842:3:103"
|
|
796
796
|
},
|
|
797
797
|
"nodeType": "YulFunctionCall",
|
|
798
|
-
"src": "842:7:
|
|
798
|
+
"src": "842:7:103"
|
|
799
799
|
}
|
|
800
800
|
],
|
|
801
801
|
"functionName": {
|
|
802
802
|
"name": "and",
|
|
803
803
|
"nodeType": "YulIdentifier",
|
|
804
|
-
"src": "821:3:
|
|
804
|
+
"src": "821:3:103"
|
|
805
805
|
},
|
|
806
806
|
"nodeType": "YulFunctionCall",
|
|
807
|
-
"src": "821:29:
|
|
807
|
+
"src": "821:29:103"
|
|
808
808
|
}
|
|
809
809
|
],
|
|
810
810
|
"functionName": {
|
|
811
811
|
"name": "add",
|
|
812
812
|
"nodeType": "YulIdentifier",
|
|
813
|
-
"src": "806:3:
|
|
813
|
+
"src": "806:3:103"
|
|
814
814
|
},
|
|
815
815
|
"nodeType": "YulFunctionCall",
|
|
816
|
-
"src": "806:45:
|
|
816
|
+
"src": "806:45:103"
|
|
817
817
|
},
|
|
818
818
|
{
|
|
819
819
|
"kind": "number",
|
|
820
820
|
"nodeType": "YulLiteral",
|
|
821
|
-
"src": "853:3:
|
|
821
|
+
"src": "853:3:103",
|
|
822
822
|
"type": "",
|
|
823
823
|
"value": "128"
|
|
824
824
|
}
|
|
@@ -826,16 +826,16 @@
|
|
|
826
826
|
"functionName": {
|
|
827
827
|
"name": "add",
|
|
828
828
|
"nodeType": "YulIdentifier",
|
|
829
|
-
"src": "802:3:
|
|
829
|
+
"src": "802:3:103"
|
|
830
830
|
},
|
|
831
831
|
"nodeType": "YulFunctionCall",
|
|
832
|
-
"src": "802:55:
|
|
832
|
+
"src": "802:55:103"
|
|
833
833
|
},
|
|
834
834
|
"variableNames": [
|
|
835
835
|
{
|
|
836
836
|
"name": "tail",
|
|
837
837
|
"nodeType": "YulIdentifier",
|
|
838
|
-
"src": "794:4:
|
|
838
|
+
"src": "794:4:103"
|
|
839
839
|
}
|
|
840
840
|
]
|
|
841
841
|
}
|
|
@@ -847,25 +847,25 @@
|
|
|
847
847
|
{
|
|
848
848
|
"name": "headStart",
|
|
849
849
|
"nodeType": "YulTypedName",
|
|
850
|
-
"src": "274:9:
|
|
850
|
+
"src": "274:9:103",
|
|
851
851
|
"type": ""
|
|
852
852
|
},
|
|
853
853
|
{
|
|
854
854
|
"name": "value2",
|
|
855
855
|
"nodeType": "YulTypedName",
|
|
856
|
-
"src": "285:6:
|
|
856
|
+
"src": "285:6:103",
|
|
857
857
|
"type": ""
|
|
858
858
|
},
|
|
859
859
|
{
|
|
860
860
|
"name": "value1",
|
|
861
861
|
"nodeType": "YulTypedName",
|
|
862
|
-
"src": "293:6:
|
|
862
|
+
"src": "293:6:103",
|
|
863
863
|
"type": ""
|
|
864
864
|
},
|
|
865
865
|
{
|
|
866
866
|
"name": "value0",
|
|
867
867
|
"nodeType": "YulTypedName",
|
|
868
|
-
"src": "301:6:
|
|
868
|
+
"src": "301:6:103",
|
|
869
869
|
"type": ""
|
|
870
870
|
}
|
|
871
871
|
],
|
|
@@ -873,31 +873,31 @@
|
|
|
873
873
|
{
|
|
874
874
|
"name": "tail",
|
|
875
875
|
"nodeType": "YulTypedName",
|
|
876
|
-
"src": "312:4:
|
|
876
|
+
"src": "312:4:103",
|
|
877
877
|
"type": ""
|
|
878
878
|
}
|
|
879
879
|
],
|
|
880
|
-
"src": "146:717:
|
|
880
|
+
"src": "146:717:103"
|
|
881
881
|
},
|
|
882
882
|
{
|
|
883
883
|
"body": {
|
|
884
884
|
"nodeType": "YulBlock",
|
|
885
|
-
"src": "969:76:
|
|
885
|
+
"src": "969:76:103",
|
|
886
886
|
"statements": [
|
|
887
887
|
{
|
|
888
888
|
"nodeType": "YulAssignment",
|
|
889
|
-
"src": "979:26:
|
|
889
|
+
"src": "979:26:103",
|
|
890
890
|
"value": {
|
|
891
891
|
"arguments": [
|
|
892
892
|
{
|
|
893
893
|
"name": "headStart",
|
|
894
894
|
"nodeType": "YulIdentifier",
|
|
895
|
-
"src": "991:9:
|
|
895
|
+
"src": "991:9:103"
|
|
896
896
|
},
|
|
897
897
|
{
|
|
898
898
|
"kind": "number",
|
|
899
899
|
"nodeType": "YulLiteral",
|
|
900
|
-
"src": "1002:2:
|
|
900
|
+
"src": "1002:2:103",
|
|
901
901
|
"type": "",
|
|
902
902
|
"value": "32"
|
|
903
903
|
}
|
|
@@ -905,16 +905,16 @@
|
|
|
905
905
|
"functionName": {
|
|
906
906
|
"name": "add",
|
|
907
907
|
"nodeType": "YulIdentifier",
|
|
908
|
-
"src": "987:3:
|
|
908
|
+
"src": "987:3:103"
|
|
909
909
|
},
|
|
910
910
|
"nodeType": "YulFunctionCall",
|
|
911
|
-
"src": "987:18:
|
|
911
|
+
"src": "987:18:103"
|
|
912
912
|
},
|
|
913
913
|
"variableNames": [
|
|
914
914
|
{
|
|
915
915
|
"name": "tail",
|
|
916
916
|
"nodeType": "YulIdentifier",
|
|
917
|
-
"src": "979:4:
|
|
917
|
+
"src": "979:4:103"
|
|
918
918
|
}
|
|
919
919
|
]
|
|
920
920
|
},
|
|
@@ -924,24 +924,24 @@
|
|
|
924
924
|
{
|
|
925
925
|
"name": "headStart",
|
|
926
926
|
"nodeType": "YulIdentifier",
|
|
927
|
-
"src": "1021:9:
|
|
927
|
+
"src": "1021:9:103"
|
|
928
928
|
},
|
|
929
929
|
{
|
|
930
930
|
"name": "value0",
|
|
931
931
|
"nodeType": "YulIdentifier",
|
|
932
|
-
"src": "1032:6:
|
|
932
|
+
"src": "1032:6:103"
|
|
933
933
|
}
|
|
934
934
|
],
|
|
935
935
|
"functionName": {
|
|
936
936
|
"name": "mstore",
|
|
937
937
|
"nodeType": "YulIdentifier",
|
|
938
|
-
"src": "1014:6:
|
|
938
|
+
"src": "1014:6:103"
|
|
939
939
|
},
|
|
940
940
|
"nodeType": "YulFunctionCall",
|
|
941
|
-
"src": "1014:25:
|
|
941
|
+
"src": "1014:25:103"
|
|
942
942
|
},
|
|
943
943
|
"nodeType": "YulExpressionStatement",
|
|
944
|
-
"src": "1014:25:
|
|
944
|
+
"src": "1014:25:103"
|
|
945
945
|
}
|
|
946
946
|
]
|
|
947
947
|
},
|
|
@@ -951,13 +951,13 @@
|
|
|
951
951
|
{
|
|
952
952
|
"name": "headStart",
|
|
953
953
|
"nodeType": "YulTypedName",
|
|
954
|
-
"src": "938:9:
|
|
954
|
+
"src": "938:9:103",
|
|
955
955
|
"type": ""
|
|
956
956
|
},
|
|
957
957
|
{
|
|
958
958
|
"name": "value0",
|
|
959
959
|
"nodeType": "YulTypedName",
|
|
960
|
-
"src": "949:6:
|
|
960
|
+
"src": "949:6:103",
|
|
961
961
|
"type": ""
|
|
962
962
|
}
|
|
963
963
|
],
|
|
@@ -965,21 +965,21 @@
|
|
|
965
965
|
{
|
|
966
966
|
"name": "tail",
|
|
967
967
|
"nodeType": "YulTypedName",
|
|
968
|
-
"src": "960:4:
|
|
968
|
+
"src": "960:4:103",
|
|
969
969
|
"type": ""
|
|
970
970
|
}
|
|
971
971
|
],
|
|
972
|
-
"src": "868:177:
|
|
972
|
+
"src": "868:177:103"
|
|
973
973
|
},
|
|
974
974
|
{
|
|
975
975
|
"body": {
|
|
976
976
|
"nodeType": "YulBlock",
|
|
977
|
-
"src": "1120:110:
|
|
977
|
+
"src": "1120:110:103",
|
|
978
978
|
"statements": [
|
|
979
979
|
{
|
|
980
980
|
"body": {
|
|
981
981
|
"nodeType": "YulBlock",
|
|
982
|
-
"src": "1166:16:
|
|
982
|
+
"src": "1166:16:103",
|
|
983
983
|
"statements": [
|
|
984
984
|
{
|
|
985
985
|
"expression": {
|
|
@@ -987,14 +987,14 @@
|
|
|
987
987
|
{
|
|
988
988
|
"kind": "number",
|
|
989
989
|
"nodeType": "YulLiteral",
|
|
990
|
-
"src": "1175:1:
|
|
990
|
+
"src": "1175:1:103",
|
|
991
991
|
"type": "",
|
|
992
992
|
"value": "0"
|
|
993
993
|
},
|
|
994
994
|
{
|
|
995
995
|
"kind": "number",
|
|
996
996
|
"nodeType": "YulLiteral",
|
|
997
|
-
"src": "1178:1:
|
|
997
|
+
"src": "1178:1:103",
|
|
998
998
|
"type": "",
|
|
999
999
|
"value": "0"
|
|
1000
1000
|
}
|
|
@@ -1002,13 +1002,13 @@
|
|
|
1002
1002
|
"functionName": {
|
|
1003
1003
|
"name": "revert",
|
|
1004
1004
|
"nodeType": "YulIdentifier",
|
|
1005
|
-
"src": "1168:6:
|
|
1005
|
+
"src": "1168:6:103"
|
|
1006
1006
|
},
|
|
1007
1007
|
"nodeType": "YulFunctionCall",
|
|
1008
|
-
"src": "1168:12:
|
|
1008
|
+
"src": "1168:12:103"
|
|
1009
1009
|
},
|
|
1010
1010
|
"nodeType": "YulExpressionStatement",
|
|
1011
|
-
"src": "1168:12:
|
|
1011
|
+
"src": "1168:12:103"
|
|
1012
1012
|
}
|
|
1013
1013
|
]
|
|
1014
1014
|
},
|
|
@@ -1019,26 +1019,26 @@
|
|
|
1019
1019
|
{
|
|
1020
1020
|
"name": "dataEnd",
|
|
1021
1021
|
"nodeType": "YulIdentifier",
|
|
1022
|
-
"src": "1141:7:
|
|
1022
|
+
"src": "1141:7:103"
|
|
1023
1023
|
},
|
|
1024
1024
|
{
|
|
1025
1025
|
"name": "headStart",
|
|
1026
1026
|
"nodeType": "YulIdentifier",
|
|
1027
|
-
"src": "1150:9:
|
|
1027
|
+
"src": "1150:9:103"
|
|
1028
1028
|
}
|
|
1029
1029
|
],
|
|
1030
1030
|
"functionName": {
|
|
1031
1031
|
"name": "sub",
|
|
1032
1032
|
"nodeType": "YulIdentifier",
|
|
1033
|
-
"src": "1137:3:
|
|
1033
|
+
"src": "1137:3:103"
|
|
1034
1034
|
},
|
|
1035
1035
|
"nodeType": "YulFunctionCall",
|
|
1036
|
-
"src": "1137:23:
|
|
1036
|
+
"src": "1137:23:103"
|
|
1037
1037
|
},
|
|
1038
1038
|
{
|
|
1039
1039
|
"kind": "number",
|
|
1040
1040
|
"nodeType": "YulLiteral",
|
|
1041
|
-
"src": "1162:2:
|
|
1041
|
+
"src": "1162:2:103",
|
|
1042
1042
|
"type": "",
|
|
1043
1043
|
"value": "32"
|
|
1044
1044
|
}
|
|
@@ -1046,38 +1046,38 @@
|
|
|
1046
1046
|
"functionName": {
|
|
1047
1047
|
"name": "slt",
|
|
1048
1048
|
"nodeType": "YulIdentifier",
|
|
1049
|
-
"src": "1133:3:
|
|
1049
|
+
"src": "1133:3:103"
|
|
1050
1050
|
},
|
|
1051
1051
|
"nodeType": "YulFunctionCall",
|
|
1052
|
-
"src": "1133:32:
|
|
1052
|
+
"src": "1133:32:103"
|
|
1053
1053
|
},
|
|
1054
1054
|
"nodeType": "YulIf",
|
|
1055
|
-
"src": "1130:52:
|
|
1055
|
+
"src": "1130:52:103"
|
|
1056
1056
|
},
|
|
1057
1057
|
{
|
|
1058
1058
|
"nodeType": "YulAssignment",
|
|
1059
|
-
"src": "1191:33:
|
|
1059
|
+
"src": "1191:33:103",
|
|
1060
1060
|
"value": {
|
|
1061
1061
|
"arguments": [
|
|
1062
1062
|
{
|
|
1063
1063
|
"name": "headStart",
|
|
1064
1064
|
"nodeType": "YulIdentifier",
|
|
1065
|
-
"src": "1214:9:
|
|
1065
|
+
"src": "1214:9:103"
|
|
1066
1066
|
}
|
|
1067
1067
|
],
|
|
1068
1068
|
"functionName": {
|
|
1069
1069
|
"name": "calldataload",
|
|
1070
1070
|
"nodeType": "YulIdentifier",
|
|
1071
|
-
"src": "1201:12:
|
|
1071
|
+
"src": "1201:12:103"
|
|
1072
1072
|
},
|
|
1073
1073
|
"nodeType": "YulFunctionCall",
|
|
1074
|
-
"src": "1201:23:
|
|
1074
|
+
"src": "1201:23:103"
|
|
1075
1075
|
},
|
|
1076
1076
|
"variableNames": [
|
|
1077
1077
|
{
|
|
1078
1078
|
"name": "value0",
|
|
1079
1079
|
"nodeType": "YulIdentifier",
|
|
1080
|
-
"src": "1191:6:
|
|
1080
|
+
"src": "1191:6:103"
|
|
1081
1081
|
}
|
|
1082
1082
|
]
|
|
1083
1083
|
}
|
|
@@ -1089,13 +1089,13 @@
|
|
|
1089
1089
|
{
|
|
1090
1090
|
"name": "headStart",
|
|
1091
1091
|
"nodeType": "YulTypedName",
|
|
1092
|
-
"src": "1086:9:
|
|
1092
|
+
"src": "1086:9:103",
|
|
1093
1093
|
"type": ""
|
|
1094
1094
|
},
|
|
1095
1095
|
{
|
|
1096
1096
|
"name": "dataEnd",
|
|
1097
1097
|
"nodeType": "YulTypedName",
|
|
1098
|
-
"src": "1097:7:
|
|
1098
|
+
"src": "1097:7:103",
|
|
1099
1099
|
"type": ""
|
|
1100
1100
|
}
|
|
1101
1101
|
],
|
|
@@ -1103,21 +1103,21 @@
|
|
|
1103
1103
|
{
|
|
1104
1104
|
"name": "value0",
|
|
1105
1105
|
"nodeType": "YulTypedName",
|
|
1106
|
-
"src": "1109:6:
|
|
1106
|
+
"src": "1109:6:103",
|
|
1107
1107
|
"type": ""
|
|
1108
1108
|
}
|
|
1109
1109
|
],
|
|
1110
|
-
"src": "1050:180:
|
|
1110
|
+
"src": "1050:180:103"
|
|
1111
1111
|
},
|
|
1112
1112
|
{
|
|
1113
1113
|
"body": {
|
|
1114
1114
|
"nodeType": "YulBlock",
|
|
1115
|
-
"src": "1305:216:
|
|
1115
|
+
"src": "1305:216:103",
|
|
1116
1116
|
"statements": [
|
|
1117
1117
|
{
|
|
1118
1118
|
"body": {
|
|
1119
1119
|
"nodeType": "YulBlock",
|
|
1120
|
-
"src": "1351:16:
|
|
1120
|
+
"src": "1351:16:103",
|
|
1121
1121
|
"statements": [
|
|
1122
1122
|
{
|
|
1123
1123
|
"expression": {
|
|
@@ -1125,14 +1125,14 @@
|
|
|
1125
1125
|
{
|
|
1126
1126
|
"kind": "number",
|
|
1127
1127
|
"nodeType": "YulLiteral",
|
|
1128
|
-
"src": "1360:1:
|
|
1128
|
+
"src": "1360:1:103",
|
|
1129
1129
|
"type": "",
|
|
1130
1130
|
"value": "0"
|
|
1131
1131
|
},
|
|
1132
1132
|
{
|
|
1133
1133
|
"kind": "number",
|
|
1134
1134
|
"nodeType": "YulLiteral",
|
|
1135
|
-
"src": "1363:1:
|
|
1135
|
+
"src": "1363:1:103",
|
|
1136
1136
|
"type": "",
|
|
1137
1137
|
"value": "0"
|
|
1138
1138
|
}
|
|
@@ -1140,13 +1140,13 @@
|
|
|
1140
1140
|
"functionName": {
|
|
1141
1141
|
"name": "revert",
|
|
1142
1142
|
"nodeType": "YulIdentifier",
|
|
1143
|
-
"src": "1353:6:
|
|
1143
|
+
"src": "1353:6:103"
|
|
1144
1144
|
},
|
|
1145
1145
|
"nodeType": "YulFunctionCall",
|
|
1146
|
-
"src": "1353:12:
|
|
1146
|
+
"src": "1353:12:103"
|
|
1147
1147
|
},
|
|
1148
1148
|
"nodeType": "YulExpressionStatement",
|
|
1149
|
-
"src": "1353:12:
|
|
1149
|
+
"src": "1353:12:103"
|
|
1150
1150
|
}
|
|
1151
1151
|
]
|
|
1152
1152
|
},
|
|
@@ -1157,26 +1157,26 @@
|
|
|
1157
1157
|
{
|
|
1158
1158
|
"name": "dataEnd",
|
|
1159
1159
|
"nodeType": "YulIdentifier",
|
|
1160
|
-
"src": "1326:7:
|
|
1160
|
+
"src": "1326:7:103"
|
|
1161
1161
|
},
|
|
1162
1162
|
{
|
|
1163
1163
|
"name": "headStart",
|
|
1164
1164
|
"nodeType": "YulIdentifier",
|
|
1165
|
-
"src": "1335:9:
|
|
1165
|
+
"src": "1335:9:103"
|
|
1166
1166
|
}
|
|
1167
1167
|
],
|
|
1168
1168
|
"functionName": {
|
|
1169
1169
|
"name": "sub",
|
|
1170
1170
|
"nodeType": "YulIdentifier",
|
|
1171
|
-
"src": "1322:3:
|
|
1171
|
+
"src": "1322:3:103"
|
|
1172
1172
|
},
|
|
1173
1173
|
"nodeType": "YulFunctionCall",
|
|
1174
|
-
"src": "1322:23:
|
|
1174
|
+
"src": "1322:23:103"
|
|
1175
1175
|
},
|
|
1176
1176
|
{
|
|
1177
1177
|
"kind": "number",
|
|
1178
1178
|
"nodeType": "YulLiteral",
|
|
1179
|
-
"src": "1347:2:
|
|
1179
|
+
"src": "1347:2:103",
|
|
1180
1180
|
"type": "",
|
|
1181
1181
|
"value": "32"
|
|
1182
1182
|
}
|
|
@@ -1184,38 +1184,38 @@
|
|
|
1184
1184
|
"functionName": {
|
|
1185
1185
|
"name": "slt",
|
|
1186
1186
|
"nodeType": "YulIdentifier",
|
|
1187
|
-
"src": "1318:3:
|
|
1187
|
+
"src": "1318:3:103"
|
|
1188
1188
|
},
|
|
1189
1189
|
"nodeType": "YulFunctionCall",
|
|
1190
|
-
"src": "1318:32:
|
|
1190
|
+
"src": "1318:32:103"
|
|
1191
1191
|
},
|
|
1192
1192
|
"nodeType": "YulIf",
|
|
1193
|
-
"src": "1315:52:
|
|
1193
|
+
"src": "1315:52:103"
|
|
1194
1194
|
},
|
|
1195
1195
|
{
|
|
1196
1196
|
"nodeType": "YulVariableDeclaration",
|
|
1197
|
-
"src": "1376:36:
|
|
1197
|
+
"src": "1376:36:103",
|
|
1198
1198
|
"value": {
|
|
1199
1199
|
"arguments": [
|
|
1200
1200
|
{
|
|
1201
1201
|
"name": "headStart",
|
|
1202
1202
|
"nodeType": "YulIdentifier",
|
|
1203
|
-
"src": "1402:9:
|
|
1203
|
+
"src": "1402:9:103"
|
|
1204
1204
|
}
|
|
1205
1205
|
],
|
|
1206
1206
|
"functionName": {
|
|
1207
1207
|
"name": "calldataload",
|
|
1208
1208
|
"nodeType": "YulIdentifier",
|
|
1209
|
-
"src": "1389:12:
|
|
1209
|
+
"src": "1389:12:103"
|
|
1210
1210
|
},
|
|
1211
1211
|
"nodeType": "YulFunctionCall",
|
|
1212
|
-
"src": "1389:23:
|
|
1212
|
+
"src": "1389:23:103"
|
|
1213
1213
|
},
|
|
1214
1214
|
"variables": [
|
|
1215
1215
|
{
|
|
1216
1216
|
"name": "value",
|
|
1217
1217
|
"nodeType": "YulTypedName",
|
|
1218
|
-
"src": "1380:5:
|
|
1218
|
+
"src": "1380:5:103",
|
|
1219
1219
|
"type": ""
|
|
1220
1220
|
}
|
|
1221
1221
|
]
|
|
@@ -1223,7 +1223,7 @@
|
|
|
1223
1223
|
{
|
|
1224
1224
|
"body": {
|
|
1225
1225
|
"nodeType": "YulBlock",
|
|
1226
|
-
"src": "1475:16:
|
|
1226
|
+
"src": "1475:16:103",
|
|
1227
1227
|
"statements": [
|
|
1228
1228
|
{
|
|
1229
1229
|
"expression": {
|
|
@@ -1231,14 +1231,14 @@
|
|
|
1231
1231
|
{
|
|
1232
1232
|
"kind": "number",
|
|
1233
1233
|
"nodeType": "YulLiteral",
|
|
1234
|
-
"src": "1484:1:
|
|
1234
|
+
"src": "1484:1:103",
|
|
1235
1235
|
"type": "",
|
|
1236
1236
|
"value": "0"
|
|
1237
1237
|
},
|
|
1238
1238
|
{
|
|
1239
1239
|
"kind": "number",
|
|
1240
1240
|
"nodeType": "YulLiteral",
|
|
1241
|
-
"src": "1487:1:
|
|
1241
|
+
"src": "1487:1:103",
|
|
1242
1242
|
"type": "",
|
|
1243
1243
|
"value": "0"
|
|
1244
1244
|
}
|
|
@@ -1246,13 +1246,13 @@
|
|
|
1246
1246
|
"functionName": {
|
|
1247
1247
|
"name": "revert",
|
|
1248
1248
|
"nodeType": "YulIdentifier",
|
|
1249
|
-
"src": "1477:6:
|
|
1249
|
+
"src": "1477:6:103"
|
|
1250
1250
|
},
|
|
1251
1251
|
"nodeType": "YulFunctionCall",
|
|
1252
|
-
"src": "1477:12:
|
|
1252
|
+
"src": "1477:12:103"
|
|
1253
1253
|
},
|
|
1254
1254
|
"nodeType": "YulExpressionStatement",
|
|
1255
|
-
"src": "1477:12:
|
|
1255
|
+
"src": "1477:12:103"
|
|
1256
1256
|
}
|
|
1257
1257
|
]
|
|
1258
1258
|
},
|
|
@@ -1263,14 +1263,14 @@
|
|
|
1263
1263
|
{
|
|
1264
1264
|
"name": "value",
|
|
1265
1265
|
"nodeType": "YulIdentifier",
|
|
1266
|
-
"src": "1434:5:
|
|
1266
|
+
"src": "1434:5:103"
|
|
1267
1267
|
},
|
|
1268
1268
|
{
|
|
1269
1269
|
"arguments": [
|
|
1270
1270
|
{
|
|
1271
1271
|
"name": "value",
|
|
1272
1272
|
"nodeType": "YulIdentifier",
|
|
1273
|
-
"src": "1445:5:
|
|
1273
|
+
"src": "1445:5:103"
|
|
1274
1274
|
},
|
|
1275
1275
|
{
|
|
1276
1276
|
"arguments": [
|
|
@@ -1279,14 +1279,14 @@
|
|
|
1279
1279
|
{
|
|
1280
1280
|
"kind": "number",
|
|
1281
1281
|
"nodeType": "YulLiteral",
|
|
1282
|
-
"src": "1460:3:
|
|
1282
|
+
"src": "1460:3:103",
|
|
1283
1283
|
"type": "",
|
|
1284
1284
|
"value": "160"
|
|
1285
1285
|
},
|
|
1286
1286
|
{
|
|
1287
1287
|
"kind": "number",
|
|
1288
1288
|
"nodeType": "YulLiteral",
|
|
1289
|
-
"src": "1465:1:
|
|
1289
|
+
"src": "1465:1:103",
|
|
1290
1290
|
"type": "",
|
|
1291
1291
|
"value": "1"
|
|
1292
1292
|
}
|
|
@@ -1294,15 +1294,15 @@
|
|
|
1294
1294
|
"functionName": {
|
|
1295
1295
|
"name": "shl",
|
|
1296
1296
|
"nodeType": "YulIdentifier",
|
|
1297
|
-
"src": "1456:3:
|
|
1297
|
+
"src": "1456:3:103"
|
|
1298
1298
|
},
|
|
1299
1299
|
"nodeType": "YulFunctionCall",
|
|
1300
|
-
"src": "1456:11:
|
|
1300
|
+
"src": "1456:11:103"
|
|
1301
1301
|
},
|
|
1302
1302
|
{
|
|
1303
1303
|
"kind": "number",
|
|
1304
1304
|
"nodeType": "YulLiteral",
|
|
1305
|
-
"src": "1469:1:
|
|
1305
|
+
"src": "1469:1:103",
|
|
1306
1306
|
"type": "",
|
|
1307
1307
|
"value": "1"
|
|
1308
1308
|
}
|
|
@@ -1310,54 +1310,54 @@
|
|
|
1310
1310
|
"functionName": {
|
|
1311
1311
|
"name": "sub",
|
|
1312
1312
|
"nodeType": "YulIdentifier",
|
|
1313
|
-
"src": "1452:3:
|
|
1313
|
+
"src": "1452:3:103"
|
|
1314
1314
|
},
|
|
1315
1315
|
"nodeType": "YulFunctionCall",
|
|
1316
|
-
"src": "1452:19:
|
|
1316
|
+
"src": "1452:19:103"
|
|
1317
1317
|
}
|
|
1318
1318
|
],
|
|
1319
1319
|
"functionName": {
|
|
1320
1320
|
"name": "and",
|
|
1321
1321
|
"nodeType": "YulIdentifier",
|
|
1322
|
-
"src": "1441:3:
|
|
1322
|
+
"src": "1441:3:103"
|
|
1323
1323
|
},
|
|
1324
1324
|
"nodeType": "YulFunctionCall",
|
|
1325
|
-
"src": "1441:31:
|
|
1325
|
+
"src": "1441:31:103"
|
|
1326
1326
|
}
|
|
1327
1327
|
],
|
|
1328
1328
|
"functionName": {
|
|
1329
1329
|
"name": "eq",
|
|
1330
1330
|
"nodeType": "YulIdentifier",
|
|
1331
|
-
"src": "1431:2:
|
|
1331
|
+
"src": "1431:2:103"
|
|
1332
1332
|
},
|
|
1333
1333
|
"nodeType": "YulFunctionCall",
|
|
1334
|
-
"src": "1431:42:
|
|
1334
|
+
"src": "1431:42:103"
|
|
1335
1335
|
}
|
|
1336
1336
|
],
|
|
1337
1337
|
"functionName": {
|
|
1338
1338
|
"name": "iszero",
|
|
1339
1339
|
"nodeType": "YulIdentifier",
|
|
1340
|
-
"src": "1424:6:
|
|
1340
|
+
"src": "1424:6:103"
|
|
1341
1341
|
},
|
|
1342
1342
|
"nodeType": "YulFunctionCall",
|
|
1343
|
-
"src": "1424:50:
|
|
1343
|
+
"src": "1424:50:103"
|
|
1344
1344
|
},
|
|
1345
1345
|
"nodeType": "YulIf",
|
|
1346
|
-
"src": "1421:70:
|
|
1346
|
+
"src": "1421:70:103"
|
|
1347
1347
|
},
|
|
1348
1348
|
{
|
|
1349
1349
|
"nodeType": "YulAssignment",
|
|
1350
|
-
"src": "1500:15:
|
|
1350
|
+
"src": "1500:15:103",
|
|
1351
1351
|
"value": {
|
|
1352
1352
|
"name": "value",
|
|
1353
1353
|
"nodeType": "YulIdentifier",
|
|
1354
|
-
"src": "1510:5:
|
|
1354
|
+
"src": "1510:5:103"
|
|
1355
1355
|
},
|
|
1356
1356
|
"variableNames": [
|
|
1357
1357
|
{
|
|
1358
1358
|
"name": "value0",
|
|
1359
1359
|
"nodeType": "YulIdentifier",
|
|
1360
|
-
"src": "1500:6:
|
|
1360
|
+
"src": "1500:6:103"
|
|
1361
1361
|
}
|
|
1362
1362
|
]
|
|
1363
1363
|
}
|
|
@@ -1369,13 +1369,13 @@
|
|
|
1369
1369
|
{
|
|
1370
1370
|
"name": "headStart",
|
|
1371
1371
|
"nodeType": "YulTypedName",
|
|
1372
|
-
"src": "1271:9:
|
|
1372
|
+
"src": "1271:9:103",
|
|
1373
1373
|
"type": ""
|
|
1374
1374
|
},
|
|
1375
1375
|
{
|
|
1376
1376
|
"name": "dataEnd",
|
|
1377
1377
|
"nodeType": "YulTypedName",
|
|
1378
|
-
"src": "1282:7:
|
|
1378
|
+
"src": "1282:7:103",
|
|
1379
1379
|
"type": ""
|
|
1380
1380
|
}
|
|
1381
1381
|
],
|
|
@@ -1383,16 +1383,16 @@
|
|
|
1383
1383
|
{
|
|
1384
1384
|
"name": "value0",
|
|
1385
1385
|
"nodeType": "YulTypedName",
|
|
1386
|
-
"src": "1294:6:
|
|
1386
|
+
"src": "1294:6:103",
|
|
1387
1387
|
"type": ""
|
|
1388
1388
|
}
|
|
1389
1389
|
],
|
|
1390
|
-
"src": "1235:286:
|
|
1390
|
+
"src": "1235:286:103"
|
|
1391
1391
|
},
|
|
1392
1392
|
{
|
|
1393
1393
|
"body": {
|
|
1394
1394
|
"nodeType": "YulBlock",
|
|
1395
|
-
"src": "1700:173:
|
|
1395
|
+
"src": "1700:173:103",
|
|
1396
1396
|
"statements": [
|
|
1397
1397
|
{
|
|
1398
1398
|
"expression": {
|
|
@@ -1400,12 +1400,12 @@
|
|
|
1400
1400
|
{
|
|
1401
1401
|
"name": "headStart",
|
|
1402
1402
|
"nodeType": "YulIdentifier",
|
|
1403
|
-
"src": "1717:9:
|
|
1403
|
+
"src": "1717:9:103"
|
|
1404
1404
|
},
|
|
1405
1405
|
{
|
|
1406
1406
|
"kind": "number",
|
|
1407
1407
|
"nodeType": "YulLiteral",
|
|
1408
|
-
"src": "1728:2:
|
|
1408
|
+
"src": "1728:2:103",
|
|
1409
1409
|
"type": "",
|
|
1410
1410
|
"value": "32"
|
|
1411
1411
|
}
|
|
@@ -1413,13 +1413,13 @@
|
|
|
1413
1413
|
"functionName": {
|
|
1414
1414
|
"name": "mstore",
|
|
1415
1415
|
"nodeType": "YulIdentifier",
|
|
1416
|
-
"src": "1710:6:
|
|
1416
|
+
"src": "1710:6:103"
|
|
1417
1417
|
},
|
|
1418
1418
|
"nodeType": "YulFunctionCall",
|
|
1419
|
-
"src": "1710:21:
|
|
1419
|
+
"src": "1710:21:103"
|
|
1420
1420
|
},
|
|
1421
1421
|
"nodeType": "YulExpressionStatement",
|
|
1422
|
-
"src": "1710:21:
|
|
1422
|
+
"src": "1710:21:103"
|
|
1423
1423
|
},
|
|
1424
1424
|
{
|
|
1425
1425
|
"expression": {
|
|
@@ -1429,12 +1429,12 @@
|
|
|
1429
1429
|
{
|
|
1430
1430
|
"name": "headStart",
|
|
1431
1431
|
"nodeType": "YulIdentifier",
|
|
1432
|
-
"src": "1751:9:
|
|
1432
|
+
"src": "1751:9:103"
|
|
1433
1433
|
},
|
|
1434
1434
|
{
|
|
1435
1435
|
"kind": "number",
|
|
1436
1436
|
"nodeType": "YulLiteral",
|
|
1437
|
-
"src": "1762:2:
|
|
1437
|
+
"src": "1762:2:103",
|
|
1438
1438
|
"type": "",
|
|
1439
1439
|
"value": "32"
|
|
1440
1440
|
}
|
|
@@ -1442,15 +1442,15 @@
|
|
|
1442
1442
|
"functionName": {
|
|
1443
1443
|
"name": "add",
|
|
1444
1444
|
"nodeType": "YulIdentifier",
|
|
1445
|
-
"src": "1747:3:
|
|
1445
|
+
"src": "1747:3:103"
|
|
1446
1446
|
},
|
|
1447
1447
|
"nodeType": "YulFunctionCall",
|
|
1448
|
-
"src": "1747:18:
|
|
1448
|
+
"src": "1747:18:103"
|
|
1449
1449
|
},
|
|
1450
1450
|
{
|
|
1451
1451
|
"kind": "number",
|
|
1452
1452
|
"nodeType": "YulLiteral",
|
|
1453
|
-
"src": "1767:2:
|
|
1453
|
+
"src": "1767:2:103",
|
|
1454
1454
|
"type": "",
|
|
1455
1455
|
"value": "23"
|
|
1456
1456
|
}
|
|
@@ -1458,13 +1458,13 @@
|
|
|
1458
1458
|
"functionName": {
|
|
1459
1459
|
"name": "mstore",
|
|
1460
1460
|
"nodeType": "YulIdentifier",
|
|
1461
|
-
"src": "1740:6:
|
|
1461
|
+
"src": "1740:6:103"
|
|
1462
1462
|
},
|
|
1463
1463
|
"nodeType": "YulFunctionCall",
|
|
1464
|
-
"src": "1740:30:
|
|
1464
|
+
"src": "1740:30:103"
|
|
1465
1465
|
},
|
|
1466
1466
|
"nodeType": "YulExpressionStatement",
|
|
1467
|
-
"src": "1740:30:
|
|
1467
|
+
"src": "1740:30:103"
|
|
1468
1468
|
},
|
|
1469
1469
|
{
|
|
1470
1470
|
"expression": {
|
|
@@ -1474,12 +1474,12 @@
|
|
|
1474
1474
|
{
|
|
1475
1475
|
"name": "headStart",
|
|
1476
1476
|
"nodeType": "YulIdentifier",
|
|
1477
|
-
"src": "1790:9:
|
|
1477
|
+
"src": "1790:9:103"
|
|
1478
1478
|
},
|
|
1479
1479
|
{
|
|
1480
1480
|
"kind": "number",
|
|
1481
1481
|
"nodeType": "YulLiteral",
|
|
1482
|
-
"src": "1801:2:
|
|
1482
|
+
"src": "1801:2:103",
|
|
1483
1483
|
"type": "",
|
|
1484
1484
|
"value": "64"
|
|
1485
1485
|
}
|
|
@@ -1487,16 +1487,16 @@
|
|
|
1487
1487
|
"functionName": {
|
|
1488
1488
|
"name": "add",
|
|
1489
1489
|
"nodeType": "YulIdentifier",
|
|
1490
|
-
"src": "1786:3:
|
|
1490
|
+
"src": "1786:3:103"
|
|
1491
1491
|
},
|
|
1492
1492
|
"nodeType": "YulFunctionCall",
|
|
1493
|
-
"src": "1786:18:
|
|
1493
|
+
"src": "1786:18:103"
|
|
1494
1494
|
},
|
|
1495
1495
|
{
|
|
1496
1496
|
"hexValue": "5555505350726f78793a207a65726f2061646472657373",
|
|
1497
1497
|
"kind": "string",
|
|
1498
1498
|
"nodeType": "YulLiteral",
|
|
1499
|
-
"src": "1806:25:
|
|
1499
|
+
"src": "1806:25:103",
|
|
1500
1500
|
"type": "",
|
|
1501
1501
|
"value": "UUPSProxy: zero address"
|
|
1502
1502
|
}
|
|
@@ -1504,28 +1504,28 @@
|
|
|
1504
1504
|
"functionName": {
|
|
1505
1505
|
"name": "mstore",
|
|
1506
1506
|
"nodeType": "YulIdentifier",
|
|
1507
|
-
"src": "1779:6:
|
|
1507
|
+
"src": "1779:6:103"
|
|
1508
1508
|
},
|
|
1509
1509
|
"nodeType": "YulFunctionCall",
|
|
1510
|
-
"src": "1779:53:
|
|
1510
|
+
"src": "1779:53:103"
|
|
1511
1511
|
},
|
|
1512
1512
|
"nodeType": "YulExpressionStatement",
|
|
1513
|
-
"src": "1779:53:
|
|
1513
|
+
"src": "1779:53:103"
|
|
1514
1514
|
},
|
|
1515
1515
|
{
|
|
1516
1516
|
"nodeType": "YulAssignment",
|
|
1517
|
-
"src": "1841:26:
|
|
1517
|
+
"src": "1841:26:103",
|
|
1518
1518
|
"value": {
|
|
1519
1519
|
"arguments": [
|
|
1520
1520
|
{
|
|
1521
1521
|
"name": "headStart",
|
|
1522
1522
|
"nodeType": "YulIdentifier",
|
|
1523
|
-
"src": "1853:9:
|
|
1523
|
+
"src": "1853:9:103"
|
|
1524
1524
|
},
|
|
1525
1525
|
{
|
|
1526
1526
|
"kind": "number",
|
|
1527
1527
|
"nodeType": "YulLiteral",
|
|
1528
|
-
"src": "1864:2:
|
|
1528
|
+
"src": "1864:2:103",
|
|
1529
1529
|
"type": "",
|
|
1530
1530
|
"value": "96"
|
|
1531
1531
|
}
|
|
@@ -1533,16 +1533,16 @@
|
|
|
1533
1533
|
"functionName": {
|
|
1534
1534
|
"name": "add",
|
|
1535
1535
|
"nodeType": "YulIdentifier",
|
|
1536
|
-
"src": "1849:3:
|
|
1536
|
+
"src": "1849:3:103"
|
|
1537
1537
|
},
|
|
1538
1538
|
"nodeType": "YulFunctionCall",
|
|
1539
|
-
"src": "1849:18:
|
|
1539
|
+
"src": "1849:18:103"
|
|
1540
1540
|
},
|
|
1541
1541
|
"variableNames": [
|
|
1542
1542
|
{
|
|
1543
1543
|
"name": "tail",
|
|
1544
1544
|
"nodeType": "YulIdentifier",
|
|
1545
|
-
"src": "1841:4:
|
|
1545
|
+
"src": "1841:4:103"
|
|
1546
1546
|
}
|
|
1547
1547
|
]
|
|
1548
1548
|
}
|
|
@@ -1554,7 +1554,7 @@
|
|
|
1554
1554
|
{
|
|
1555
1555
|
"name": "headStart",
|
|
1556
1556
|
"nodeType": "YulTypedName",
|
|
1557
|
-
"src": "1677:9:
|
|
1557
|
+
"src": "1677:9:103",
|
|
1558
1558
|
"type": ""
|
|
1559
1559
|
}
|
|
1560
1560
|
],
|
|
@@ -1562,16 +1562,16 @@
|
|
|
1562
1562
|
{
|
|
1563
1563
|
"name": "tail",
|
|
1564
1564
|
"nodeType": "YulTypedName",
|
|
1565
|
-
"src": "1691:4:
|
|
1565
|
+
"src": "1691:4:103",
|
|
1566
1566
|
"type": ""
|
|
1567
1567
|
}
|
|
1568
1568
|
],
|
|
1569
|
-
"src": "1526:347:
|
|
1569
|
+
"src": "1526:347:103"
|
|
1570
1570
|
},
|
|
1571
1571
|
{
|
|
1572
1572
|
"body": {
|
|
1573
1573
|
"nodeType": "YulBlock",
|
|
1574
|
-
"src": "2052:180:
|
|
1574
|
+
"src": "2052:180:103",
|
|
1575
1575
|
"statements": [
|
|
1576
1576
|
{
|
|
1577
1577
|
"expression": {
|
|
@@ -1579,12 +1579,12 @@
|
|
|
1579
1579
|
{
|
|
1580
1580
|
"name": "headStart",
|
|
1581
1581
|
"nodeType": "YulIdentifier",
|
|
1582
|
-
"src": "2069:9:
|
|
1582
|
+
"src": "2069:9:103"
|
|
1583
1583
|
},
|
|
1584
1584
|
{
|
|
1585
1585
|
"kind": "number",
|
|
1586
1586
|
"nodeType": "YulLiteral",
|
|
1587
|
-
"src": "2080:2:
|
|
1587
|
+
"src": "2080:2:103",
|
|
1588
1588
|
"type": "",
|
|
1589
1589
|
"value": "32"
|
|
1590
1590
|
}
|
|
@@ -1592,13 +1592,13 @@
|
|
|
1592
1592
|
"functionName": {
|
|
1593
1593
|
"name": "mstore",
|
|
1594
1594
|
"nodeType": "YulIdentifier",
|
|
1595
|
-
"src": "2062:6:
|
|
1595
|
+
"src": "2062:6:103"
|
|
1596
1596
|
},
|
|
1597
1597
|
"nodeType": "YulFunctionCall",
|
|
1598
|
-
"src": "2062:21:
|
|
1598
|
+
"src": "2062:21:103"
|
|
1599
1599
|
},
|
|
1600
1600
|
"nodeType": "YulExpressionStatement",
|
|
1601
|
-
"src": "2062:21:
|
|
1601
|
+
"src": "2062:21:103"
|
|
1602
1602
|
},
|
|
1603
1603
|
{
|
|
1604
1604
|
"expression": {
|
|
@@ -1608,12 +1608,12 @@
|
|
|
1608
1608
|
{
|
|
1609
1609
|
"name": "headStart",
|
|
1610
1610
|
"nodeType": "YulIdentifier",
|
|
1611
|
-
"src": "2103:9:
|
|
1611
|
+
"src": "2103:9:103"
|
|
1612
1612
|
},
|
|
1613
1613
|
{
|
|
1614
1614
|
"kind": "number",
|
|
1615
1615
|
"nodeType": "YulLiteral",
|
|
1616
|
-
"src": "2114:2:
|
|
1616
|
+
"src": "2114:2:103",
|
|
1617
1617
|
"type": "",
|
|
1618
1618
|
"value": "32"
|
|
1619
1619
|
}
|
|
@@ -1621,15 +1621,15 @@
|
|
|
1621
1621
|
"functionName": {
|
|
1622
1622
|
"name": "add",
|
|
1623
1623
|
"nodeType": "YulIdentifier",
|
|
1624
|
-
"src": "2099:3:
|
|
1624
|
+
"src": "2099:3:103"
|
|
1625
1625
|
},
|
|
1626
1626
|
"nodeType": "YulFunctionCall",
|
|
1627
|
-
"src": "2099:18:
|
|
1627
|
+
"src": "2099:18:103"
|
|
1628
1628
|
},
|
|
1629
1629
|
{
|
|
1630
1630
|
"kind": "number",
|
|
1631
1631
|
"nodeType": "YulLiteral",
|
|
1632
|
-
"src": "2119:2:
|
|
1632
|
+
"src": "2119:2:103",
|
|
1633
1633
|
"type": "",
|
|
1634
1634
|
"value": "30"
|
|
1635
1635
|
}
|
|
@@ -1637,13 +1637,13 @@
|
|
|
1637
1637
|
"functionName": {
|
|
1638
1638
|
"name": "mstore",
|
|
1639
1639
|
"nodeType": "YulIdentifier",
|
|
1640
|
-
"src": "2092:6:
|
|
1640
|
+
"src": "2092:6:103"
|
|
1641
1641
|
},
|
|
1642
1642
|
"nodeType": "YulFunctionCall",
|
|
1643
|
-
"src": "2092:30:
|
|
1643
|
+
"src": "2092:30:103"
|
|
1644
1644
|
},
|
|
1645
1645
|
"nodeType": "YulExpressionStatement",
|
|
1646
|
-
"src": "2092:30:
|
|
1646
|
+
"src": "2092:30:103"
|
|
1647
1647
|
},
|
|
1648
1648
|
{
|
|
1649
1649
|
"expression": {
|
|
@@ -1653,12 +1653,12 @@
|
|
|
1653
1653
|
{
|
|
1654
1654
|
"name": "headStart",
|
|
1655
1655
|
"nodeType": "YulIdentifier",
|
|
1656
|
-
"src": "2142:9:
|
|
1656
|
+
"src": "2142:9:103"
|
|
1657
1657
|
},
|
|
1658
1658
|
{
|
|
1659
1659
|
"kind": "number",
|
|
1660
1660
|
"nodeType": "YulLiteral",
|
|
1661
|
-
"src": "2153:2:
|
|
1661
|
+
"src": "2153:2:103",
|
|
1662
1662
|
"type": "",
|
|
1663
1663
|
"value": "64"
|
|
1664
1664
|
}
|
|
@@ -1666,16 +1666,16 @@
|
|
|
1666
1666
|
"functionName": {
|
|
1667
1667
|
"name": "add",
|
|
1668
1668
|
"nodeType": "YulIdentifier",
|
|
1669
|
-
"src": "2138:3:
|
|
1669
|
+
"src": "2138:3:103"
|
|
1670
1670
|
},
|
|
1671
1671
|
"nodeType": "YulFunctionCall",
|
|
1672
|
-
"src": "2138:18:
|
|
1672
|
+
"src": "2138:18:103"
|
|
1673
1673
|
},
|
|
1674
1674
|
{
|
|
1675
1675
|
"hexValue": "5555505350726f78793a20616c726561647920696e697469616c697a6564",
|
|
1676
1676
|
"kind": "string",
|
|
1677
1677
|
"nodeType": "YulLiteral",
|
|
1678
|
-
"src": "2158:32:
|
|
1678
|
+
"src": "2158:32:103",
|
|
1679
1679
|
"type": "",
|
|
1680
1680
|
"value": "UUPSProxy: already initialized"
|
|
1681
1681
|
}
|
|
@@ -1683,28 +1683,28 @@
|
|
|
1683
1683
|
"functionName": {
|
|
1684
1684
|
"name": "mstore",
|
|
1685
1685
|
"nodeType": "YulIdentifier",
|
|
1686
|
-
"src": "2131:6:
|
|
1686
|
+
"src": "2131:6:103"
|
|
1687
1687
|
},
|
|
1688
1688
|
"nodeType": "YulFunctionCall",
|
|
1689
|
-
"src": "2131:60:
|
|
1689
|
+
"src": "2131:60:103"
|
|
1690
1690
|
},
|
|
1691
1691
|
"nodeType": "YulExpressionStatement",
|
|
1692
|
-
"src": "2131:60:
|
|
1692
|
+
"src": "2131:60:103"
|
|
1693
1693
|
},
|
|
1694
1694
|
{
|
|
1695
1695
|
"nodeType": "YulAssignment",
|
|
1696
|
-
"src": "2200:26:
|
|
1696
|
+
"src": "2200:26:103",
|
|
1697
1697
|
"value": {
|
|
1698
1698
|
"arguments": [
|
|
1699
1699
|
{
|
|
1700
1700
|
"name": "headStart",
|
|
1701
1701
|
"nodeType": "YulIdentifier",
|
|
1702
|
-
"src": "2212:9:
|
|
1702
|
+
"src": "2212:9:103"
|
|
1703
1703
|
},
|
|
1704
1704
|
{
|
|
1705
1705
|
"kind": "number",
|
|
1706
1706
|
"nodeType": "YulLiteral",
|
|
1707
|
-
"src": "2223:2:
|
|
1707
|
+
"src": "2223:2:103",
|
|
1708
1708
|
"type": "",
|
|
1709
1709
|
"value": "96"
|
|
1710
1710
|
}
|
|
@@ -1712,16 +1712,16 @@
|
|
|
1712
1712
|
"functionName": {
|
|
1713
1713
|
"name": "add",
|
|
1714
1714
|
"nodeType": "YulIdentifier",
|
|
1715
|
-
"src": "2208:3:
|
|
1715
|
+
"src": "2208:3:103"
|
|
1716
1716
|
},
|
|
1717
1717
|
"nodeType": "YulFunctionCall",
|
|
1718
|
-
"src": "2208:18:
|
|
1718
|
+
"src": "2208:18:103"
|
|
1719
1719
|
},
|
|
1720
1720
|
"variableNames": [
|
|
1721
1721
|
{
|
|
1722
1722
|
"name": "tail",
|
|
1723
1723
|
"nodeType": "YulIdentifier",
|
|
1724
|
-
"src": "2200:4:
|
|
1724
|
+
"src": "2200:4:103"
|
|
1725
1725
|
}
|
|
1726
1726
|
]
|
|
1727
1727
|
}
|
|
@@ -1733,7 +1733,7 @@
|
|
|
1733
1733
|
{
|
|
1734
1734
|
"name": "headStart",
|
|
1735
1735
|
"nodeType": "YulTypedName",
|
|
1736
|
-
"src": "2029:9:
|
|
1736
|
+
"src": "2029:9:103",
|
|
1737
1737
|
"type": ""
|
|
1738
1738
|
}
|
|
1739
1739
|
],
|
|
@@ -1741,22 +1741,22 @@
|
|
|
1741
1741
|
{
|
|
1742
1742
|
"name": "tail",
|
|
1743
1743
|
"nodeType": "YulTypedName",
|
|
1744
|
-
"src": "2043:4:
|
|
1744
|
+
"src": "2043:4:103",
|
|
1745
1745
|
"type": ""
|
|
1746
1746
|
}
|
|
1747
1747
|
],
|
|
1748
|
-
"src": "1878:354:
|
|
1748
|
+
"src": "1878:354:103"
|
|
1749
1749
|
}
|
|
1750
1750
|
]
|
|
1751
1751
|
},
|
|
1752
1752
|
"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 mstore(add(add(headStart, length), 128), 0)\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}",
|
|
1753
|
-
"id":
|
|
1753
|
+
"id": 103,
|
|
1754
1754
|
"language": "Yul",
|
|
1755
1755
|
"name": "#utility.yul"
|
|
1756
1756
|
}
|
|
1757
1757
|
],
|
|
1758
1758
|
"sourceMap": "435:1072:89:-:0;;;;;;;;;;;;;;;;;;;",
|
|
1759
|
-
"deployedSourceMap": "435:1072:89:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;815:12;;;825:1;815:12;;;;;;;;;-1:-1:-1;;;756:72:89;;;776:4;;756:35;;:72;;792:10;;804:9;;756:72;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;843:36:89;;869:9;1014:25:
|
|
1759
|
+
"deployedSourceMap": "435:1072:89:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;815:12;;;825:1;815:12;;;;;;;;;-1:-1:-1;;;756:72:89;;;776:4;;756:35;;:72;;792:10;;804:9;;756:72;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;843:36:89;;869:9;1014:25:103;;857:10:89;;-1:-1:-1;843:36:89;;-1:-1:-1;1002:2:103;987:18;843:36:89;;;;;;;435:1072;;2675:11:5;:9;:11::i;:::-;435:1072:89;1280:225;;;;;;;;;;-1:-1:-1;1280:225:89;;;;;:::i;:::-;;:::i;897:285:91:-;;;;;;;;;;-1:-1:-1;897:285:91;;;;;:::i;:::-;;:::i;1088:186:89:-;;;;;;:::i;:::-;;:::i;892:190::-;;;:::i;2322:110:5:-;2397:28;2407:17;:15;:17::i;:::-;2397:9;:28::i;:::-;2322:110::o;1280:225:89:-;1395:12;;;1405:1;1395:12;;;;;;;;;-1:-1:-1;;;1342:66:89;;;1362:4;;1342:35;;:66;;1378:10;;1390:3;;1342:66;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1418:33:89;;1426:10;;-1:-1:-1;1418:33:89;;;;;-1:-1:-1;1447:3:89;;1418:33;;;;1447:3;1426:10;1418:33;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1466:32:89;;1014:25:103;;;1482:10:89;;1466:32;;1002:2:103;987:18;1466:32:89;;;;;;;;1280:225;:::o;897:285:91:-;-1:-1:-1;;;;;973:28:91;;965:64;;;;-1:-1:-1;;;965:64:91;;1728:2:103;965:64:91;;;1710:21:103;1767:2;1747:18;;;1740:30;1806:25;1786:18;;;1779:53;1849:18;;965:64:91;;;;;;;;;1085:1;1047:26;751:20:92;745:27;;618:170;1047:26:91;-1:-1:-1;;;;;1047:40:91;;1039:83;;;;-1:-1:-1;;;1039:83:91;;2080:2:103;1039:83:91;;;2062:21:103;2119:2;2099:18;;;2092:30;2158:32;2138:18;;;2131:60;2208:18;;1039:83:91;1878:354:103;1039:83:91;1132:43;1160:14;988:20:92;964:87;839:228;1132:43:91;897:285;:::o;1088:186:89:-;1211:12;;;1221:1;1211:12;;;;;;;;;-1:-1:-1;;;1160:64:89;;;1180:4;;1160:35;;:64;;1196:2;;1200:9;;1160:64;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1253:2;-1:-1:-1;;;;;1239:28:89;;1257:9;1239:28;;;;1014:25:103;;1002:2;987:18;;868:177;892:190:89;1011:12;;;1021:1;1011:12;;;;;;;;;-1:-1:-1;;;952:72:89;;;972:4;;952:35;;:72;;988:10;;1000:9;;952:72;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1039:36:89;;1065:9;1014:25:103;;1053:10:89;;-1:-1:-1;1039:36:89;;-1:-1:-1;1002:2:103;987:18;1039:36:89;;;;;;;892:190::o;1238:130:91:-;1305:7;1335:26;751:20:92;745:27;;618:170;1335:26:91;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:717:103;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;;;596:3;783:1;777:3;768:6;757:9;753:22;749:32;742:43;853:3;846:2;842:7;837:2;829:6;825:15;821:29;810:9;806:45;802:55;794:63;;;;146:717;;;;;;:::o;1050:180::-;1109:6;1162:2;1150:9;1141:7;1137:23;1133:32;1130:52;;;1178:1;1175;1168:12;1130:52;-1:-1:-1;1201:23:103;;1050:180;-1:-1:-1;1050:180:103:o;1235:286::-;1294:6;1347:2;1335:9;1326:7;1322:23;1318:32;1315:52;;;1363:1;1360;1353:12;1315:52;1389:23;;-1:-1:-1;;;;;1441:31:103;;1431:42;;1421:70;;1487:1;1484;1477:12;1421:70;1510:5;1235:286;-1:-1:-1;;;1235:286:103:o",
|
|
1760
1760
|
"source": "// SPDX-License-Identifier: AGPLv3\npragma solidity 0.8.16;\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",
|
|
1761
1761
|
"sourcePath": "/home/runner/work/protocol-monorepo/protocol-monorepo/packages/ethereum-contracts/contracts/tokens/SETH.sol",
|
|
1762
1762
|
"ast": {
|
|
@@ -3872,7 +3872,7 @@
|
|
|
3872
3872
|
},
|
|
3873
3873
|
"networks": {},
|
|
3874
3874
|
"schemaVersion": "3.4.9",
|
|
3875
|
-
"updatedAt": "2022-11-
|
|
3875
|
+
"updatedAt": "2022-11-16T13:27:50.699Z",
|
|
3876
3876
|
"devdoc": {
|
|
3877
3877
|
"author": "Superfluid It is also called a Native-Asset Super Token.",
|
|
3878
3878
|
"details": "Super ETH (SETH) custom super token implementation",
|