@latticexyz/world-modules 2.0.0-main-3086581a → 2.0.0-main-be5266dc
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/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +5 -5
- package/out/CallboundDelegations.sol/CallboundDelegations.json +4 -4
- package/out/DecodeSlice.sol/DecodeSlice.json +4 -4
- package/out/DelegationControl.sol/DelegationControl.json +4 -4
- package/out/EncodeArray.sol/EncodeArray.json +4 -4
- package/out/Hook.sol/HookInstance.json +4 -4
- package/out/Hook.sol/HookLib.json +4 -4
- package/out/Hooks.sol/Hooks.json +4 -4
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +4 -4
- package/out/KeysInTable.sol/KeysInTable.json +4 -4
- package/out/KeysInTableHook.sol/KeysInTableHook.json +5 -5
- package/out/KeysInTableModule.sol/KeysInTableModule.json +4 -4
- package/out/KeysWithValue.sol/KeysWithValue.json +4 -4
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +5 -5
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +4 -4
- package/out/Module.sol/Module.json +4 -4
- package/out/ResourceIds.sol/ResourceIds.json +4 -4
- package/out/Slice.sol/SliceInstance.json +4 -4
- package/out/Slice.sol/SliceLib.json +4 -4
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +5 -5
- package/out/StoreCore.sol/StoreCore.json +4 -4
- package/out/StoreCore.sol/StoreCoreInternal.json +4 -4
- package/out/StoreHooks.sol/StoreHooks.json +4 -4
- package/out/StoreSwitch.sol/StoreSwitch.json +4 -4
- package/out/System.sol/System.json +4 -4
- package/out/Tables.sol/Tables.json +4 -4
- package/out/TightCoder.sol/TightCoder.json +426 -426
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +5 -5
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +4 -4
- package/out/UniqueEntity.sol/UniqueEntity.json +4 -4
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +5 -5
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +5 -5
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4 -4
- package/out/WorldContext.sol/WorldContextConsumer.json +4 -4
- package/out/WorldContext.sol/WorldContextProvider.json +4 -4
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +4 -4
- package/out/src/Slice.sol/SliceInstance.json +4 -4
- package/out/src/Slice.sol/SliceLib.json +4 -4
- package/out/src/StoreCore.sol/StoreCore.json +4 -4
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4 -4
- package/out/src/StoreSwitch.sol/StoreSwitch.json +4 -4
- package/out/src/WorldContext.sol/WorldContextConsumer.json +4 -4
- package/out/src/WorldContext.sol/WorldContextProvider.json +4 -4
- package/out/tables/ResourceIds.sol/ResourceIds.json +4 -4
- package/out/tables/Tables.sol/Tables.json +4 -4
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +4 -4
- package/package.json +8 -8
@@ -2,16 +2,16 @@
|
|
2
2
|
"abi": [],
|
3
3
|
"bytecode": {
|
4
4
|
"object": "0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000815000a",
|
5
|
-
"sourceMap": "
|
5
|
+
"sourceMap": "320:3440:31:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;320:3440:31;;;;;;;;;;;;;;;;;",
|
6
6
|
"linkReferences": {}
|
7
7
|
},
|
8
8
|
"deployedBytecode": {
|
9
9
|
"object": "0x73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000815000a",
|
10
|
-
"sourceMap": "
|
10
|
+
"sourceMap": "320:3440:31:-:0;;;;;;;;",
|
11
11
|
"linkReferences": {}
|
12
12
|
},
|
13
13
|
"methodIdentifiers": {},
|
14
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"
|
14
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Provides low-level generic implementations of tight encoding and decoding for arrays. This is consistent with Solidity's internal tight encoding for array data in storage.\",\"kind\":\"dev\",\"methods\":{},\"title\":\"TightCoder\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/store/src/tightcoder/TightCoder.sol\":\"TightCoder\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"/home/runner/work/mud/mud/packages/store/src/Memory.sol\":{\"keccak256\":\"0xa1872adf18790f030ebe59cdc938a4639a1753fe487aeebe14d952d6e032ab31\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3a15f9046013ab5628b7d934e2c740cf84ae39cb57de136c284090bf106c31b6\",\"dweb:/ipfs/QmZPrpunYTfgi5gDtqAq12GkdQDmrAGaUG7sVr2jVWe1Ye\"]},\"/home/runner/work/mud/mud/packages/store/src/Slice.sol\":{\"keccak256\":\"0x3c06a067ca8de1ea75b986837ef97d5fdce0637ca43d1ef0cf5e63c01f4b9161\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f48e754ba5033db9ae64a04d191bd66cccc432dc30931a7d1327bd7b2b76fd37\",\"dweb:/ipfs/QmQsoEbcy4SMLTjwi5Eonge3mpWpoVieaxif8W4TqafoEz\"]},\"/home/runner/work/mud/mud/packages/store/src/leftMask.sol\":{\"keccak256\":\"0xd0360567e4d77c6a8e3d8a5f4bf3653ccde4d268674c50988d55695dc6193f6f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://53e6bcb53fcb08ee9426225fdab7c41df91e12cb4f80d92895a6117338627401\",\"dweb:/ipfs/QmeLcaPGeMBpNSTSsPYK3PHpzKuGMjuitCweAWcoXK2mXr\"]},\"/home/runner/work/mud/mud/packages/store/src/tightcoder/DecodeSlice.sol\":{\"keccak256\":\"0xd64eae381daba3788cce62cc209a4ae05817bda80a63fc356b1e1c5bd81e7024\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://922453b0896758bdbd8dfb68137c1893f9ee7099c0e4d591578a9a1b26f9f6ef\",\"dweb:/ipfs/QmQVGnVvkRcQSphaRZW4GMTbr8rLKuGiJ6JKGh9ZDfsEzx\"]},\"/home/runner/work/mud/mud/packages/store/src/tightcoder/TightCoder.sol\":{\"keccak256\":\"0x5cacd4cb371e0a79bc8d64f62349d568fd8b08093c11ae0c3db4f16480d8808b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12b64ddf2b5c19cf68ba93a8153ed79cbafe7a91e015d4b2f25eb1d42ab06256\",\"dweb:/ipfs/QmQz5WwztcuTbSGFv2pkhU3w5scUj1gmavoyUpduxk2v3A\"]}},\"version\":1}",
|
15
15
|
"metadata": {
|
16
16
|
"compiler": {
|
17
17
|
"version": "0.8.21+commit.d9974bed"
|
@@ -82,10 +82,10 @@
|
|
82
82
|
"license": "MIT"
|
83
83
|
},
|
84
84
|
"/home/runner/work/mud/mud/packages/store/src/tightcoder/TightCoder.sol": {
|
85
|
-
"keccak256": "
|
85
|
+
"keccak256": "0x5cacd4cb371e0a79bc8d64f62349d568fd8b08093c11ae0c3db4f16480d8808b",
|
86
86
|
"urls": [
|
87
|
-
"bzz-raw://
|
88
|
-
"dweb:/ipfs/
|
87
|
+
"bzz-raw://12b64ddf2b5c19cf68ba93a8153ed79cbafe7a91e015d4b2f25eb1d42ab06256",
|
88
|
+
"dweb:/ipfs/QmQz5WwztcuTbSGFv2pkhU3w5scUj1gmavoyUpduxk2v3A"
|
89
89
|
],
|
90
90
|
"license": "MIT"
|
91
91
|
}
|
@@ -107,7 +107,7 @@
|
|
107
107
|
]
|
108
108
|
},
|
109
109
|
"nodeType": "SourceUnit",
|
110
|
-
"src": "32:
|
110
|
+
"src": "32:3729:31",
|
111
111
|
"nodes": [
|
112
112
|
{
|
113
113
|
"id": 22836,
|
@@ -162,17 +162,17 @@
|
|
162
162
|
{
|
163
163
|
"id": 22906,
|
164
164
|
"nodeType": "ContractDefinition",
|
165
|
-
"src": "
|
165
|
+
"src": "320:3440:31",
|
166
166
|
"nodes": [
|
167
167
|
{
|
168
168
|
"id": 22867,
|
169
169
|
"nodeType": "FunctionDefinition",
|
170
|
-
"src": "
|
170
|
+
"src": "784:1339:31",
|
171
171
|
"nodes": [],
|
172
172
|
"body": {
|
173
173
|
"id": 22866,
|
174
174
|
"nodeType": "Block",
|
175
|
-
"src": "
|
175
|
+
"src": "928:1195:31",
|
176
176
|
"nodes": [],
|
177
177
|
"statements": [
|
178
178
|
{
|
@@ -185,10 +185,10 @@
|
|
185
185
|
"id": 22854,
|
186
186
|
"mutability": "mutable",
|
187
187
|
"name": "arrayLength",
|
188
|
-
"nameLocation": "
|
188
|
+
"nameLocation": "942:11:31",
|
189
189
|
"nodeType": "VariableDeclaration",
|
190
190
|
"scope": 22866,
|
191
|
-
"src": "
|
191
|
+
"src": "934:19:31",
|
192
192
|
"stateVariable": false,
|
193
193
|
"storageLocation": "default",
|
194
194
|
"typeDescriptions": {
|
@@ -199,7 +199,7 @@
|
|
199
199
|
"id": 22853,
|
200
200
|
"name": "uint256",
|
201
201
|
"nodeType": "ElementaryTypeName",
|
202
|
-
"src": "
|
202
|
+
"src": "934:7:31",
|
203
203
|
"typeDescriptions": {
|
204
204
|
"typeIdentifier": "t_uint256",
|
205
205
|
"typeString": "uint256"
|
@@ -216,7 +216,7 @@
|
|
216
216
|
"nodeType": "Identifier",
|
217
217
|
"overloadedDeclarations": [],
|
218
218
|
"referencedDeclaration": 22844,
|
219
|
-
"src": "
|
219
|
+
"src": "956:5:31",
|
220
220
|
"typeDescriptions": {
|
221
221
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
222
222
|
"typeString": "bytes32[] memory"
|
@@ -227,17 +227,17 @@
|
|
227
227
|
"isLValue": false,
|
228
228
|
"isPure": false,
|
229
229
|
"lValueRequested": false,
|
230
|
-
"memberLocation": "
|
230
|
+
"memberLocation": "962:6:31",
|
231
231
|
"memberName": "length",
|
232
232
|
"nodeType": "MemberAccess",
|
233
|
-
"src": "
|
233
|
+
"src": "956:12:31",
|
234
234
|
"typeDescriptions": {
|
235
235
|
"typeIdentifier": "t_uint256",
|
236
236
|
"typeString": "uint256"
|
237
237
|
}
|
238
238
|
},
|
239
239
|
"nodeType": "VariableDeclarationStatement",
|
240
|
-
"src": "
|
240
|
+
"src": "934:34:31"
|
241
241
|
},
|
242
242
|
{
|
243
243
|
"assignments": [
|
@@ -249,10 +249,10 @@
|
|
249
249
|
"id": 22859,
|
250
250
|
"mutability": "mutable",
|
251
251
|
"name": "packedLength",
|
252
|
-
"nameLocation": "
|
252
|
+
"nameLocation": "982:12:31",
|
253
253
|
"nodeType": "VariableDeclaration",
|
254
254
|
"scope": 22866,
|
255
|
-
"src": "
|
255
|
+
"src": "974:20:31",
|
256
256
|
"stateVariable": false,
|
257
257
|
"storageLocation": "default",
|
258
258
|
"typeDescriptions": {
|
@@ -263,7 +263,7 @@
|
|
263
263
|
"id": 22858,
|
264
264
|
"name": "uint256",
|
265
265
|
"nodeType": "ElementaryTypeName",
|
266
|
-
"src": "
|
266
|
+
"src": "974:7:31",
|
267
267
|
"typeDescriptions": {
|
268
268
|
"typeIdentifier": "t_uint256",
|
269
269
|
"typeString": "uint256"
|
@@ -290,7 +290,7 @@
|
|
290
290
|
"nodeType": "Identifier",
|
291
291
|
"overloadedDeclarations": [],
|
292
292
|
"referencedDeclaration": 22844,
|
293
|
-
"src": "
|
293
|
+
"src": "997:5:31",
|
294
294
|
"typeDescriptions": {
|
295
295
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
296
296
|
"typeString": "bytes32[] memory"
|
@@ -301,10 +301,10 @@
|
|
301
301
|
"isLValue": false,
|
302
302
|
"isPure": false,
|
303
303
|
"lValueRequested": false,
|
304
|
-
"memberLocation": "
|
304
|
+
"memberLocation": "1003:6:31",
|
305
305
|
"memberName": "length",
|
306
306
|
"nodeType": "MemberAccess",
|
307
|
-
"src": "
|
307
|
+
"src": "997:12:31",
|
308
308
|
"typeDescriptions": {
|
309
309
|
"typeIdentifier": "t_uint256",
|
310
310
|
"typeString": "uint256"
|
@@ -318,203 +318,203 @@
|
|
318
318
|
"nodeType": "Identifier",
|
319
319
|
"overloadedDeclarations": [],
|
320
320
|
"referencedDeclaration": 22846,
|
321
|
-
"src": "
|
321
|
+
"src": "1012:11:31",
|
322
322
|
"typeDescriptions": {
|
323
323
|
"typeIdentifier": "t_uint256",
|
324
324
|
"typeString": "uint256"
|
325
325
|
}
|
326
326
|
},
|
327
|
-
"src": "
|
327
|
+
"src": "997:26:31",
|
328
328
|
"typeDescriptions": {
|
329
329
|
"typeIdentifier": "t_uint256",
|
330
330
|
"typeString": "uint256"
|
331
331
|
}
|
332
332
|
},
|
333
333
|
"nodeType": "VariableDeclarationStatement",
|
334
|
-
"src": "
|
334
|
+
"src": "974:49:31"
|
335
335
|
},
|
336
336
|
{
|
337
337
|
"AST": {
|
338
|
-
"nativeSrc": "
|
338
|
+
"nativeSrc": "1176:943:31",
|
339
339
|
"nodeType": "YulBlock",
|
340
|
-
"src": "
|
340
|
+
"src": "1176:943:31",
|
341
341
|
"statements": [
|
342
342
|
{
|
343
343
|
"body": {
|
344
|
-
"nativeSrc": "
|
344
|
+
"nativeSrc": "1287:57:31",
|
345
345
|
"nodeType": "YulBlock",
|
346
|
-
"src": "
|
346
|
+
"src": "1287:57:31",
|
347
347
|
"statements": [
|
348
348
|
{
|
349
|
-
"nativeSrc": "
|
349
|
+
"nativeSrc": "1297:39:31",
|
350
350
|
"nodeType": "YulAssignment",
|
351
|
-
"src": "
|
351
|
+
"src": "1297:39:31",
|
352
352
|
"value": {
|
353
353
|
"arguments": [
|
354
354
|
{
|
355
355
|
"arguments": [
|
356
356
|
{
|
357
357
|
"name": "value",
|
358
|
-
"nativeSrc": "
|
358
|
+
"nativeSrc": "1316:5:31",
|
359
359
|
"nodeType": "YulIdentifier",
|
360
|
-
"src": "
|
360
|
+
"src": "1316:5:31"
|
361
361
|
},
|
362
362
|
{
|
363
363
|
"kind": "number",
|
364
|
-
"nativeSrc": "
|
364
|
+
"nativeSrc": "1323:2:31",
|
365
365
|
"nodeType": "YulLiteral",
|
366
|
-
"src": "
|
366
|
+
"src": "1323:2:31",
|
367
367
|
"type": "",
|
368
368
|
"value": "31"
|
369
369
|
}
|
370
370
|
],
|
371
371
|
"functionName": {
|
372
372
|
"name": "add",
|
373
|
-
"nativeSrc": "
|
373
|
+
"nativeSrc": "1312:3:31",
|
374
374
|
"nodeType": "YulIdentifier",
|
375
|
-
"src": "
|
375
|
+
"src": "1312:3:31"
|
376
376
|
},
|
377
|
-
"nativeSrc": "
|
377
|
+
"nativeSrc": "1312:14:31",
|
378
378
|
"nodeType": "YulFunctionCall",
|
379
|
-
"src": "
|
379
|
+
"src": "1312:14:31"
|
380
380
|
},
|
381
381
|
{
|
382
382
|
"arguments": [
|
383
383
|
{
|
384
384
|
"kind": "number",
|
385
|
-
"nativeSrc": "
|
385
|
+
"nativeSrc": "1332:2:31",
|
386
386
|
"nodeType": "YulLiteral",
|
387
|
-
"src": "
|
387
|
+
"src": "1332:2:31",
|
388
388
|
"type": "",
|
389
389
|
"value": "31"
|
390
390
|
}
|
391
391
|
],
|
392
392
|
"functionName": {
|
393
393
|
"name": "not",
|
394
|
-
"nativeSrc": "
|
394
|
+
"nativeSrc": "1328:3:31",
|
395
395
|
"nodeType": "YulIdentifier",
|
396
|
-
"src": "
|
396
|
+
"src": "1328:3:31"
|
397
397
|
},
|
398
|
-
"nativeSrc": "
|
398
|
+
"nativeSrc": "1328:7:31",
|
399
399
|
"nodeType": "YulFunctionCall",
|
400
|
-
"src": "
|
400
|
+
"src": "1328:7:31"
|
401
401
|
}
|
402
402
|
],
|
403
403
|
"functionName": {
|
404
404
|
"name": "and",
|
405
|
-
"nativeSrc": "
|
405
|
+
"nativeSrc": "1308:3:31",
|
406
406
|
"nodeType": "YulIdentifier",
|
407
|
-
"src": "
|
407
|
+
"src": "1308:3:31"
|
408
408
|
},
|
409
|
-
"nativeSrc": "
|
409
|
+
"nativeSrc": "1308:28:31",
|
410
410
|
"nodeType": "YulFunctionCall",
|
411
|
-
"src": "
|
411
|
+
"src": "1308:28:31"
|
412
412
|
},
|
413
413
|
"variableNames": [
|
414
414
|
{
|
415
415
|
"name": "_result",
|
416
|
-
"nativeSrc": "
|
416
|
+
"nativeSrc": "1297:7:31",
|
417
417
|
"nodeType": "YulIdentifier",
|
418
|
-
"src": "
|
418
|
+
"src": "1297:7:31"
|
419
419
|
}
|
420
420
|
]
|
421
421
|
}
|
422
422
|
]
|
423
423
|
},
|
424
424
|
"name": "round_up_to_mul_of_32",
|
425
|
-
"nativeSrc": "
|
425
|
+
"nativeSrc": "1238:106:31",
|
426
426
|
"nodeType": "YulFunctionDefinition",
|
427
427
|
"parameters": [
|
428
428
|
{
|
429
429
|
"name": "value",
|
430
|
-
"nativeSrc": "
|
430
|
+
"nativeSrc": "1269:5:31",
|
431
431
|
"nodeType": "YulTypedName",
|
432
|
-
"src": "
|
432
|
+
"src": "1269:5:31",
|
433
433
|
"type": ""
|
434
434
|
}
|
435
435
|
],
|
436
436
|
"returnVariables": [
|
437
437
|
{
|
438
438
|
"name": "_result",
|
439
|
-
"nativeSrc": "
|
439
|
+
"nativeSrc": "1279:7:31",
|
440
440
|
"nodeType": "YulTypedName",
|
441
|
-
"src": "
|
441
|
+
"src": "1279:7:31",
|
442
442
|
"type": ""
|
443
443
|
}
|
444
444
|
],
|
445
|
-
"src": "
|
445
|
+
"src": "1238:106:31"
|
446
446
|
},
|
447
447
|
{
|
448
|
-
"nativeSrc": "
|
448
|
+
"nativeSrc": "1377:19:31",
|
449
449
|
"nodeType": "YulAssignment",
|
450
|
-
"src": "
|
450
|
+
"src": "1377:19:31",
|
451
451
|
"value": {
|
452
452
|
"arguments": [
|
453
453
|
{
|
454
454
|
"kind": "number",
|
455
|
-
"nativeSrc": "
|
455
|
+
"nativeSrc": "1391:4:31",
|
456
456
|
"nodeType": "YulLiteral",
|
457
|
-
"src": "
|
457
|
+
"src": "1391:4:31",
|
458
458
|
"type": "",
|
459
459
|
"value": "0x40"
|
460
460
|
}
|
461
461
|
],
|
462
462
|
"functionName": {
|
463
463
|
"name": "mload",
|
464
|
-
"nativeSrc": "
|
464
|
+
"nativeSrc": "1385:5:31",
|
465
465
|
"nodeType": "YulIdentifier",
|
466
|
-
"src": "
|
466
|
+
"src": "1385:5:31"
|
467
467
|
},
|
468
|
-
"nativeSrc": "
|
468
|
+
"nativeSrc": "1385:11:31",
|
469
469
|
"nodeType": "YulFunctionCall",
|
470
|
-
"src": "
|
470
|
+
"src": "1385:11:31"
|
471
471
|
},
|
472
472
|
"variableNames": [
|
473
473
|
{
|
474
474
|
"name": "data",
|
475
|
-
"nativeSrc": "
|
475
|
+
"nativeSrc": "1377:4:31",
|
476
476
|
"nodeType": "YulIdentifier",
|
477
|
-
"src": "
|
477
|
+
"src": "1377:4:31"
|
478
478
|
}
|
479
479
|
]
|
480
480
|
},
|
481
481
|
{
|
482
|
-
"nativeSrc": "
|
482
|
+
"nativeSrc": "1403:36:31",
|
483
483
|
"nodeType": "YulVariableDeclaration",
|
484
|
-
"src": "
|
484
|
+
"src": "1403:36:31",
|
485
485
|
"value": {
|
486
486
|
"arguments": [
|
487
487
|
{
|
488
488
|
"name": "data",
|
489
|
-
"nativeSrc": "
|
489
|
+
"nativeSrc": "1428:4:31",
|
490
490
|
"nodeType": "YulIdentifier",
|
491
|
-
"src": "
|
491
|
+
"src": "1428:4:31"
|
492
492
|
},
|
493
493
|
{
|
494
494
|
"kind": "number",
|
495
|
-
"nativeSrc": "
|
495
|
+
"nativeSrc": "1434:4:31",
|
496
496
|
"nodeType": "YulLiteral",
|
497
|
-
"src": "
|
497
|
+
"src": "1434:4:31",
|
498
498
|
"type": "",
|
499
499
|
"value": "0x20"
|
500
500
|
}
|
501
501
|
],
|
502
502
|
"functionName": {
|
503
503
|
"name": "add",
|
504
|
-
"nativeSrc": "
|
504
|
+
"nativeSrc": "1424:3:31",
|
505
505
|
"nodeType": "YulIdentifier",
|
506
|
-
"src": "
|
506
|
+
"src": "1424:3:31"
|
507
507
|
},
|
508
|
-
"nativeSrc": "
|
508
|
+
"nativeSrc": "1424:15:31",
|
509
509
|
"nodeType": "YulFunctionCall",
|
510
|
-
"src": "
|
510
|
+
"src": "1424:15:31"
|
511
511
|
},
|
512
512
|
"variables": [
|
513
513
|
{
|
514
514
|
"name": "packedPointer",
|
515
|
-
"nativeSrc": "
|
515
|
+
"nativeSrc": "1407:13:31",
|
516
516
|
"nodeType": "YulTypedName",
|
517
|
-
"src": "
|
517
|
+
"src": "1407:13:31",
|
518
518
|
"type": ""
|
519
519
|
}
|
520
520
|
]
|
@@ -524,9 +524,9 @@
|
|
524
524
|
"arguments": [
|
525
525
|
{
|
526
526
|
"kind": "number",
|
527
|
-
"nativeSrc": "
|
527
|
+
"nativeSrc": "1453:4:31",
|
528
528
|
"nodeType": "YulLiteral",
|
529
|
-
"src": "
|
529
|
+
"src": "1453:4:31",
|
530
530
|
"type": "",
|
531
531
|
"value": "0x40"
|
532
532
|
},
|
@@ -536,150 +536,150 @@
|
|
536
536
|
"arguments": [
|
537
537
|
{
|
538
538
|
"name": "packedPointer",
|
539
|
-
"nativeSrc": "
|
539
|
+
"nativeSrc": "1485:13:31",
|
540
540
|
"nodeType": "YulIdentifier",
|
541
|
-
"src": "
|
541
|
+
"src": "1485:13:31"
|
542
542
|
},
|
543
543
|
{
|
544
544
|
"name": "packedLength",
|
545
|
-
"nativeSrc": "
|
545
|
+
"nativeSrc": "1500:12:31",
|
546
546
|
"nodeType": "YulIdentifier",
|
547
|
-
"src": "
|
547
|
+
"src": "1500:12:31"
|
548
548
|
}
|
549
549
|
],
|
550
550
|
"functionName": {
|
551
551
|
"name": "add",
|
552
|
-
"nativeSrc": "
|
552
|
+
"nativeSrc": "1481:3:31",
|
553
553
|
"nodeType": "YulIdentifier",
|
554
|
-
"src": "
|
554
|
+
"src": "1481:3:31"
|
555
555
|
},
|
556
|
-
"nativeSrc": "
|
556
|
+
"nativeSrc": "1481:32:31",
|
557
557
|
"nodeType": "YulFunctionCall",
|
558
|
-
"src": "
|
558
|
+
"src": "1481:32:31"
|
559
559
|
}
|
560
560
|
],
|
561
561
|
"functionName": {
|
562
562
|
"name": "round_up_to_mul_of_32",
|
563
|
-
"nativeSrc": "
|
563
|
+
"nativeSrc": "1459:21:31",
|
564
564
|
"nodeType": "YulIdentifier",
|
565
|
-
"src": "
|
565
|
+
"src": "1459:21:31"
|
566
566
|
},
|
567
|
-
"nativeSrc": "
|
567
|
+
"nativeSrc": "1459:55:31",
|
568
568
|
"nodeType": "YulFunctionCall",
|
569
|
-
"src": "
|
569
|
+
"src": "1459:55:31"
|
570
570
|
}
|
571
571
|
],
|
572
572
|
"functionName": {
|
573
573
|
"name": "mstore",
|
574
|
-
"nativeSrc": "
|
574
|
+
"nativeSrc": "1446:6:31",
|
575
575
|
"nodeType": "YulIdentifier",
|
576
|
-
"src": "
|
576
|
+
"src": "1446:6:31"
|
577
577
|
},
|
578
|
-
"nativeSrc": "
|
578
|
+
"nativeSrc": "1446:69:31",
|
579
579
|
"nodeType": "YulFunctionCall",
|
580
|
-
"src": "
|
580
|
+
"src": "1446:69:31"
|
581
581
|
},
|
582
|
-
"nativeSrc": "
|
582
|
+
"nativeSrc": "1446:69:31",
|
583
583
|
"nodeType": "YulExpressionStatement",
|
584
|
-
"src": "
|
584
|
+
"src": "1446:69:31"
|
585
585
|
},
|
586
586
|
{
|
587
587
|
"expression": {
|
588
588
|
"arguments": [
|
589
589
|
{
|
590
590
|
"name": "data",
|
591
|
-
"nativeSrc": "
|
591
|
+
"nativeSrc": "1551:4:31",
|
592
592
|
"nodeType": "YulIdentifier",
|
593
|
-
"src": "
|
593
|
+
"src": "1551:4:31"
|
594
594
|
},
|
595
595
|
{
|
596
596
|
"name": "packedLength",
|
597
|
-
"nativeSrc": "
|
597
|
+
"nativeSrc": "1557:12:31",
|
598
598
|
"nodeType": "YulIdentifier",
|
599
|
-
"src": "
|
599
|
+
"src": "1557:12:31"
|
600
600
|
}
|
601
601
|
],
|
602
602
|
"functionName": {
|
603
603
|
"name": "mstore",
|
604
|
-
"nativeSrc": "
|
604
|
+
"nativeSrc": "1544:6:31",
|
605
605
|
"nodeType": "YulIdentifier",
|
606
|
-
"src": "
|
606
|
+
"src": "1544:6:31"
|
607
607
|
},
|
608
|
-
"nativeSrc": "
|
608
|
+
"nativeSrc": "1544:26:31",
|
609
609
|
"nodeType": "YulFunctionCall",
|
610
|
-
"src": "
|
610
|
+
"src": "1544:26:31"
|
611
611
|
},
|
612
|
-
"nativeSrc": "
|
612
|
+
"nativeSrc": "1544:26:31",
|
613
613
|
"nodeType": "YulExpressionStatement",
|
614
|
-
"src": "
|
614
|
+
"src": "1544:26:31"
|
615
615
|
},
|
616
616
|
{
|
617
617
|
"body": {
|
618
|
-
"nativeSrc": "
|
618
|
+
"nativeSrc": "1997:116:31",
|
619
619
|
"nodeType": "YulBlock",
|
620
|
-
"src": "
|
620
|
+
"src": "1997:116:31",
|
621
621
|
"statements": [
|
622
622
|
{
|
623
623
|
"expression": {
|
624
624
|
"arguments": [
|
625
625
|
{
|
626
626
|
"name": "packedPointer",
|
627
|
-
"nativeSrc": "
|
627
|
+
"nativeSrc": "2048:13:31",
|
628
628
|
"nodeType": "YulIdentifier",
|
629
|
-
"src": "
|
629
|
+
"src": "2048:13:31"
|
630
630
|
},
|
631
631
|
{
|
632
632
|
"arguments": [
|
633
633
|
{
|
634
634
|
"name": "leftPaddingBits",
|
635
|
-
"nativeSrc": "
|
635
|
+
"nativeSrc": "2067:15:31",
|
636
636
|
"nodeType": "YulIdentifier",
|
637
|
-
"src": "
|
637
|
+
"src": "2067:15:31"
|
638
638
|
},
|
639
639
|
{
|
640
640
|
"arguments": [
|
641
641
|
{
|
642
642
|
"name": "arrayPointer",
|
643
|
-
"nativeSrc": "
|
643
|
+
"nativeSrc": "2090:12:31",
|
644
644
|
"nodeType": "YulIdentifier",
|
645
|
-
"src": "
|
645
|
+
"src": "2090:12:31"
|
646
646
|
}
|
647
647
|
],
|
648
648
|
"functionName": {
|
649
649
|
"name": "mload",
|
650
|
-
"nativeSrc": "
|
650
|
+
"nativeSrc": "2084:5:31",
|
651
651
|
"nodeType": "YulIdentifier",
|
652
|
-
"src": "
|
652
|
+
"src": "2084:5:31"
|
653
653
|
},
|
654
|
-
"nativeSrc": "
|
654
|
+
"nativeSrc": "2084:19:31",
|
655
655
|
"nodeType": "YulFunctionCall",
|
656
|
-
"src": "
|
656
|
+
"src": "2084:19:31"
|
657
657
|
}
|
658
658
|
],
|
659
659
|
"functionName": {
|
660
660
|
"name": "shl",
|
661
|
-
"nativeSrc": "
|
661
|
+
"nativeSrc": "2063:3:31",
|
662
662
|
"nodeType": "YulIdentifier",
|
663
|
-
"src": "
|
663
|
+
"src": "2063:3:31"
|
664
664
|
},
|
665
|
-
"nativeSrc": "
|
665
|
+
"nativeSrc": "2063:41:31",
|
666
666
|
"nodeType": "YulFunctionCall",
|
667
|
-
"src": "
|
667
|
+
"src": "2063:41:31"
|
668
668
|
}
|
669
669
|
],
|
670
670
|
"functionName": {
|
671
671
|
"name": "mstore",
|
672
|
-
"nativeSrc": "
|
672
|
+
"nativeSrc": "2041:6:31",
|
673
673
|
"nodeType": "YulIdentifier",
|
674
|
-
"src": "
|
674
|
+
"src": "2041:6:31"
|
675
675
|
},
|
676
|
-
"nativeSrc": "
|
676
|
+
"nativeSrc": "2041:64:31",
|
677
677
|
"nodeType": "YulFunctionCall",
|
678
|
-
"src": "
|
678
|
+
"src": "2041:64:31"
|
679
679
|
},
|
680
|
-
"nativeSrc": "
|
680
|
+
"nativeSrc": "2041:64:31",
|
681
681
|
"nodeType": "YulExpressionStatement",
|
682
|
-
"src": "
|
682
|
+
"src": "2041:64:31"
|
683
683
|
}
|
684
684
|
]
|
685
685
|
},
|
@@ -687,225 +687,225 @@
|
|
687
687
|
"arguments": [
|
688
688
|
{
|
689
689
|
"name": "i",
|
690
|
-
"nativeSrc": "
|
690
|
+
"nativeSrc": "1688:1:31",
|
691
691
|
"nodeType": "YulIdentifier",
|
692
|
-
"src": "
|
692
|
+
"src": "1688:1:31"
|
693
693
|
},
|
694
694
|
{
|
695
695
|
"name": "arrayLength",
|
696
|
-
"nativeSrc": "
|
696
|
+
"nativeSrc": "1691:11:31",
|
697
697
|
"nodeType": "YulIdentifier",
|
698
|
-
"src": "
|
698
|
+
"src": "1691:11:31"
|
699
699
|
}
|
700
700
|
],
|
701
701
|
"functionName": {
|
702
702
|
"name": "lt",
|
703
|
-
"nativeSrc": "
|
703
|
+
"nativeSrc": "1685:2:31",
|
704
704
|
"nodeType": "YulIdentifier",
|
705
|
-
"src": "
|
705
|
+
"src": "1685:2:31"
|
706
706
|
},
|
707
|
-
"nativeSrc": "
|
707
|
+
"nativeSrc": "1685:18:31",
|
708
708
|
"nodeType": "YulFunctionCall",
|
709
|
-
"src": "
|
709
|
+
"src": "1685:18:31"
|
710
710
|
},
|
711
|
-
"nativeSrc": "
|
711
|
+
"nativeSrc": "1578:535:31",
|
712
712
|
"nodeType": "YulForLoop",
|
713
713
|
"post": {
|
714
|
-
"nativeSrc": "
|
714
|
+
"nativeSrc": "1704:292:31",
|
715
715
|
"nodeType": "YulBlock",
|
716
|
-
"src": "
|
716
|
+
"src": "1704:292:31",
|
717
717
|
"statements": [
|
718
718
|
{
|
719
|
-
"nativeSrc": "
|
719
|
+
"nativeSrc": "1766:14:31",
|
720
720
|
"nodeType": "YulAssignment",
|
721
|
-
"src": "
|
721
|
+
"src": "1766:14:31",
|
722
722
|
"value": {
|
723
723
|
"arguments": [
|
724
724
|
{
|
725
725
|
"name": "i",
|
726
|
-
"nativeSrc": "
|
726
|
+
"nativeSrc": "1775:1:31",
|
727
727
|
"nodeType": "YulIdentifier",
|
728
|
-
"src": "
|
728
|
+
"src": "1775:1:31"
|
729
729
|
},
|
730
730
|
{
|
731
731
|
"kind": "number",
|
732
|
-
"nativeSrc": "
|
732
|
+
"nativeSrc": "1778:1:31",
|
733
733
|
"nodeType": "YulLiteral",
|
734
|
-
"src": "
|
734
|
+
"src": "1778:1:31",
|
735
735
|
"type": "",
|
736
736
|
"value": "1"
|
737
737
|
}
|
738
738
|
],
|
739
739
|
"functionName": {
|
740
740
|
"name": "add",
|
741
|
-
"nativeSrc": "
|
741
|
+
"nativeSrc": "1771:3:31",
|
742
742
|
"nodeType": "YulIdentifier",
|
743
|
-
"src": "
|
743
|
+
"src": "1771:3:31"
|
744
744
|
},
|
745
|
-
"nativeSrc": "
|
745
|
+
"nativeSrc": "1771:9:31",
|
746
746
|
"nodeType": "YulFunctionCall",
|
747
|
-
"src": "
|
747
|
+
"src": "1771:9:31"
|
748
748
|
},
|
749
749
|
"variableNames": [
|
750
750
|
{
|
751
751
|
"name": "i",
|
752
|
-
"nativeSrc": "
|
752
|
+
"nativeSrc": "1766:1:31",
|
753
753
|
"nodeType": "YulIdentifier",
|
754
|
-
"src": "
|
754
|
+
"src": "1766:1:31"
|
755
755
|
}
|
756
756
|
]
|
757
757
|
},
|
758
758
|
{
|
759
|
-
"nativeSrc": "
|
759
|
+
"nativeSrc": "1836:39:31",
|
760
760
|
"nodeType": "YulAssignment",
|
761
|
-
"src": "
|
761
|
+
"src": "1836:39:31",
|
762
762
|
"value": {
|
763
763
|
"arguments": [
|
764
764
|
{
|
765
765
|
"name": "arrayPointer",
|
766
|
-
"nativeSrc": "
|
766
|
+
"nativeSrc": "1856:12:31",
|
767
767
|
"nodeType": "YulIdentifier",
|
768
|
-
"src": "
|
768
|
+
"src": "1856:12:31"
|
769
769
|
},
|
770
770
|
{
|
771
771
|
"kind": "number",
|
772
|
-
"nativeSrc": "
|
772
|
+
"nativeSrc": "1870:4:31",
|
773
773
|
"nodeType": "YulLiteral",
|
774
|
-
"src": "
|
774
|
+
"src": "1870:4:31",
|
775
775
|
"type": "",
|
776
776
|
"value": "0x20"
|
777
777
|
}
|
778
778
|
],
|
779
779
|
"functionName": {
|
780
780
|
"name": "add",
|
781
|
-
"nativeSrc": "
|
781
|
+
"nativeSrc": "1852:3:31",
|
782
782
|
"nodeType": "YulIdentifier",
|
783
|
-
"src": "
|
783
|
+
"src": "1852:3:31"
|
784
784
|
},
|
785
|
-
"nativeSrc": "
|
785
|
+
"nativeSrc": "1852:23:31",
|
786
786
|
"nodeType": "YulFunctionCall",
|
787
|
-
"src": "
|
787
|
+
"src": "1852:23:31"
|
788
788
|
},
|
789
789
|
"variableNames": [
|
790
790
|
{
|
791
791
|
"name": "arrayPointer",
|
792
|
-
"nativeSrc": "
|
792
|
+
"nativeSrc": "1836:12:31",
|
793
793
|
"nodeType": "YulIdentifier",
|
794
|
-
"src": "
|
794
|
+
"src": "1836:12:31"
|
795
795
|
}
|
796
796
|
]
|
797
797
|
},
|
798
798
|
{
|
799
|
-
"nativeSrc": "
|
799
|
+
"nativeSrc": "1940:48:31",
|
800
800
|
"nodeType": "YulAssignment",
|
801
|
-
"src": "
|
801
|
+
"src": "1940:48:31",
|
802
802
|
"value": {
|
803
803
|
"arguments": [
|
804
804
|
{
|
805
805
|
"name": "packedPointer",
|
806
|
-
"nativeSrc": "
|
806
|
+
"nativeSrc": "1961:13:31",
|
807
807
|
"nodeType": "YulIdentifier",
|
808
|
-
"src": "
|
808
|
+
"src": "1961:13:31"
|
809
809
|
},
|
810
810
|
{
|
811
811
|
"name": "elementSize",
|
812
|
-
"nativeSrc": "
|
812
|
+
"nativeSrc": "1976:11:31",
|
813
813
|
"nodeType": "YulIdentifier",
|
814
|
-
"src": "
|
814
|
+
"src": "1976:11:31"
|
815
815
|
}
|
816
816
|
],
|
817
817
|
"functionName": {
|
818
818
|
"name": "add",
|
819
|
-
"nativeSrc": "
|
819
|
+
"nativeSrc": "1957:3:31",
|
820
820
|
"nodeType": "YulIdentifier",
|
821
|
-
"src": "
|
821
|
+
"src": "1957:3:31"
|
822
822
|
},
|
823
|
-
"nativeSrc": "
|
823
|
+
"nativeSrc": "1957:31:31",
|
824
824
|
"nodeType": "YulFunctionCall",
|
825
|
-
"src": "
|
825
|
+
"src": "1957:31:31"
|
826
826
|
},
|
827
827
|
"variableNames": [
|
828
828
|
{
|
829
829
|
"name": "packedPointer",
|
830
|
-
"nativeSrc": "
|
830
|
+
"nativeSrc": "1940:13:31",
|
831
831
|
"nodeType": "YulIdentifier",
|
832
|
-
"src": "
|
832
|
+
"src": "1940:13:31"
|
833
833
|
}
|
834
834
|
]
|
835
835
|
}
|
836
836
|
]
|
837
837
|
},
|
838
838
|
"pre": {
|
839
|
-
"nativeSrc": "
|
839
|
+
"nativeSrc": "1582:102:31",
|
840
840
|
"nodeType": "YulBlock",
|
841
|
-
"src": "
|
841
|
+
"src": "1582:102:31",
|
842
842
|
"statements": [
|
843
843
|
{
|
844
|
-
"nativeSrc": "
|
844
|
+
"nativeSrc": "1592:10:31",
|
845
845
|
"nodeType": "YulVariableDeclaration",
|
846
|
-
"src": "
|
846
|
+
"src": "1592:10:31",
|
847
847
|
"value": {
|
848
848
|
"kind": "number",
|
849
|
-
"nativeSrc": "
|
849
|
+
"nativeSrc": "1601:1:31",
|
850
850
|
"nodeType": "YulLiteral",
|
851
|
-
"src": "
|
851
|
+
"src": "1601:1:31",
|
852
852
|
"type": "",
|
853
853
|
"value": "0"
|
854
854
|
},
|
855
855
|
"variables": [
|
856
856
|
{
|
857
857
|
"name": "i",
|
858
|
-
"nativeSrc": "
|
858
|
+
"nativeSrc": "1596:1:31",
|
859
859
|
"nodeType": "YulTypedName",
|
860
|
-
"src": "
|
860
|
+
"src": "1596:1:31",
|
861
861
|
"type": ""
|
862
862
|
}
|
863
863
|
]
|
864
864
|
},
|
865
865
|
{
|
866
|
-
"nativeSrc": "
|
866
|
+
"nativeSrc": "1640:36:31",
|
867
867
|
"nodeType": "YulVariableDeclaration",
|
868
|
-
"src": "
|
868
|
+
"src": "1640:36:31",
|
869
869
|
"value": {
|
870
870
|
"arguments": [
|
871
871
|
{
|
872
872
|
"name": "array",
|
873
|
-
"nativeSrc": "
|
873
|
+
"nativeSrc": "1664:5:31",
|
874
874
|
"nodeType": "YulIdentifier",
|
875
|
-
"src": "
|
875
|
+
"src": "1664:5:31"
|
876
876
|
},
|
877
877
|
{
|
878
878
|
"kind": "number",
|
879
|
-
"nativeSrc": "
|
879
|
+
"nativeSrc": "1671:4:31",
|
880
880
|
"nodeType": "YulLiteral",
|
881
|
-
"src": "
|
881
|
+
"src": "1671:4:31",
|
882
882
|
"type": "",
|
883
883
|
"value": "0x20"
|
884
884
|
}
|
885
885
|
],
|
886
886
|
"functionName": {
|
887
887
|
"name": "add",
|
888
|
-
"nativeSrc": "
|
888
|
+
"nativeSrc": "1660:3:31",
|
889
889
|
"nodeType": "YulIdentifier",
|
890
|
-
"src": "
|
890
|
+
"src": "1660:3:31"
|
891
891
|
},
|
892
|
-
"nativeSrc": "
|
892
|
+
"nativeSrc": "1660:16:31",
|
893
893
|
"nodeType": "YulFunctionCall",
|
894
|
-
"src": "
|
894
|
+
"src": "1660:16:31"
|
895
895
|
},
|
896
896
|
"variables": [
|
897
897
|
{
|
898
898
|
"name": "arrayPointer",
|
899
|
-
"nativeSrc": "
|
899
|
+
"nativeSrc": "1644:12:31",
|
900
900
|
"nodeType": "YulTypedName",
|
901
|
-
"src": "
|
901
|
+
"src": "1644:12:31",
|
902
902
|
"type": ""
|
903
903
|
}
|
904
904
|
]
|
905
905
|
}
|
906
906
|
]
|
907
907
|
},
|
908
|
-
"src": "
|
908
|
+
"src": "1578:535:31"
|
909
909
|
}
|
910
910
|
]
|
911
911
|
},
|
@@ -916,83 +916,83 @@
|
|
916
916
|
"declaration": 22844,
|
917
917
|
"isOffset": false,
|
918
918
|
"isSlot": false,
|
919
|
-
"src": "
|
919
|
+
"src": "1664:5:31",
|
920
920
|
"valueSize": 1
|
921
921
|
},
|
922
922
|
{
|
923
923
|
"declaration": 22854,
|
924
924
|
"isOffset": false,
|
925
925
|
"isSlot": false,
|
926
|
-
"src": "
|
926
|
+
"src": "1691:11:31",
|
927
927
|
"valueSize": 1
|
928
928
|
},
|
929
929
|
{
|
930
930
|
"declaration": 22851,
|
931
931
|
"isOffset": false,
|
932
932
|
"isSlot": false,
|
933
|
-
"src": "
|
933
|
+
"src": "1377:4:31",
|
934
934
|
"valueSize": 1
|
935
935
|
},
|
936
936
|
{
|
937
937
|
"declaration": 22851,
|
938
938
|
"isOffset": false,
|
939
939
|
"isSlot": false,
|
940
|
-
"src": "
|
940
|
+
"src": "1428:4:31",
|
941
941
|
"valueSize": 1
|
942
942
|
},
|
943
943
|
{
|
944
944
|
"declaration": 22851,
|
945
945
|
"isOffset": false,
|
946
946
|
"isSlot": false,
|
947
|
-
"src": "
|
947
|
+
"src": "1551:4:31",
|
948
948
|
"valueSize": 1
|
949
949
|
},
|
950
950
|
{
|
951
951
|
"declaration": 22846,
|
952
952
|
"isOffset": false,
|
953
953
|
"isSlot": false,
|
954
|
-
"src": "
|
954
|
+
"src": "1976:11:31",
|
955
955
|
"valueSize": 1
|
956
956
|
},
|
957
957
|
{
|
958
958
|
"declaration": 22848,
|
959
959
|
"isOffset": false,
|
960
960
|
"isSlot": false,
|
961
|
-
"src": "
|
961
|
+
"src": "2067:15:31",
|
962
962
|
"valueSize": 1
|
963
963
|
},
|
964
964
|
{
|
965
965
|
"declaration": 22859,
|
966
966
|
"isOffset": false,
|
967
967
|
"isSlot": false,
|
968
|
-
"src": "
|
968
|
+
"src": "1500:12:31",
|
969
969
|
"valueSize": 1
|
970
970
|
},
|
971
971
|
{
|
972
972
|
"declaration": 22859,
|
973
973
|
"isOffset": false,
|
974
974
|
"isSlot": false,
|
975
|
-
"src": "
|
975
|
+
"src": "1557:12:31",
|
976
976
|
"valueSize": 1
|
977
977
|
}
|
978
978
|
],
|
979
979
|
"id": 22865,
|
980
980
|
"nodeType": "InlineAssembly",
|
981
|
-
"src": "
|
981
|
+
"src": "1167:952:31"
|
982
982
|
}
|
983
983
|
]
|
984
984
|
},
|
985
985
|
"documentation": {
|
986
986
|
"id": 22841,
|
987
987
|
"nodeType": "StructuredDocumentation",
|
988
|
-
"src": "
|
989
|
-
"text": " Copies the array to a new bytes array, tightly packing
|
988
|
+
"src": "343:438:31",
|
989
|
+
"text": " @dev Copies the array to a new bytes array, tightly packing its elements.\n @param array The array to encode.\n @param elementSize The size of each element in bytes.\n @param leftPaddingBits The number of bits to pad on the left for each element.\n @return data A tightly packed byte array.\n @notice elementSize and leftPaddingBits must be correctly provided by the caller based on the array's element type."
|
990
990
|
},
|
991
991
|
"implemented": true,
|
992
992
|
"kind": "function",
|
993
993
|
"modifiers": [],
|
994
994
|
"name": "encode",
|
995
|
-
"nameLocation": "
|
995
|
+
"nameLocation": "793:6:31",
|
996
996
|
"parameters": {
|
997
997
|
"id": 22849,
|
998
998
|
"nodeType": "ParameterList",
|
@@ -1002,10 +1002,10 @@
|
|
1002
1002
|
"id": 22844,
|
1003
1003
|
"mutability": "mutable",
|
1004
1004
|
"name": "array",
|
1005
|
-
"nameLocation": "
|
1005
|
+
"nameLocation": "822:5:31",
|
1006
1006
|
"nodeType": "VariableDeclaration",
|
1007
1007
|
"scope": 22867,
|
1008
|
-
"src": "
|
1008
|
+
"src": "805:22:31",
|
1009
1009
|
"stateVariable": false,
|
1010
1010
|
"storageLocation": "memory",
|
1011
1011
|
"typeDescriptions": {
|
@@ -1017,7 +1017,7 @@
|
|
1017
1017
|
"id": 22842,
|
1018
1018
|
"name": "bytes32",
|
1019
1019
|
"nodeType": "ElementaryTypeName",
|
1020
|
-
"src": "
|
1020
|
+
"src": "805:7:31",
|
1021
1021
|
"typeDescriptions": {
|
1022
1022
|
"typeIdentifier": "t_bytes32",
|
1023
1023
|
"typeString": "bytes32"
|
@@ -1025,7 +1025,7 @@
|
|
1025
1025
|
},
|
1026
1026
|
"id": 22843,
|
1027
1027
|
"nodeType": "ArrayTypeName",
|
1028
|
-
"src": "
|
1028
|
+
"src": "805:9:31",
|
1029
1029
|
"typeDescriptions": {
|
1030
1030
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
1031
1031
|
"typeString": "bytes32[]"
|
@@ -1038,10 +1038,10 @@
|
|
1038
1038
|
"id": 22846,
|
1039
1039
|
"mutability": "mutable",
|
1040
1040
|
"name": "elementSize",
|
1041
|
-
"nameLocation": "
|
1041
|
+
"nameLocation": "841:11:31",
|
1042
1042
|
"nodeType": "VariableDeclaration",
|
1043
1043
|
"scope": 22867,
|
1044
|
-
"src": "
|
1044
|
+
"src": "833:19:31",
|
1045
1045
|
"stateVariable": false,
|
1046
1046
|
"storageLocation": "default",
|
1047
1047
|
"typeDescriptions": {
|
@@ -1052,7 +1052,7 @@
|
|
1052
1052
|
"id": 22845,
|
1053
1053
|
"name": "uint256",
|
1054
1054
|
"nodeType": "ElementaryTypeName",
|
1055
|
-
"src": "
|
1055
|
+
"src": "833:7:31",
|
1056
1056
|
"typeDescriptions": {
|
1057
1057
|
"typeIdentifier": "t_uint256",
|
1058
1058
|
"typeString": "uint256"
|
@@ -1065,10 +1065,10 @@
|
|
1065
1065
|
"id": 22848,
|
1066
1066
|
"mutability": "mutable",
|
1067
1067
|
"name": "leftPaddingBits",
|
1068
|
-
"nameLocation": "
|
1068
|
+
"nameLocation": "866:15:31",
|
1069
1069
|
"nodeType": "VariableDeclaration",
|
1070
1070
|
"scope": 22867,
|
1071
|
-
"src": "
|
1071
|
+
"src": "858:23:31",
|
1072
1072
|
"stateVariable": false,
|
1073
1073
|
"storageLocation": "default",
|
1074
1074
|
"typeDescriptions": {
|
@@ -1079,7 +1079,7 @@
|
|
1079
1079
|
"id": 22847,
|
1080
1080
|
"name": "uint256",
|
1081
1081
|
"nodeType": "ElementaryTypeName",
|
1082
|
-
"src": "
|
1082
|
+
"src": "858:7:31",
|
1083
1083
|
"typeDescriptions": {
|
1084
1084
|
"typeIdentifier": "t_uint256",
|
1085
1085
|
"typeString": "uint256"
|
@@ -1088,7 +1088,7 @@
|
|
1088
1088
|
"visibility": "internal"
|
1089
1089
|
}
|
1090
1090
|
],
|
1091
|
-
"src": "
|
1091
|
+
"src": "799:86:31"
|
1092
1092
|
},
|
1093
1093
|
"returnParameters": {
|
1094
1094
|
"id": 22852,
|
@@ -1099,10 +1099,10 @@
|
|
1099
1099
|
"id": 22851,
|
1100
1100
|
"mutability": "mutable",
|
1101
1101
|
"name": "data",
|
1102
|
-
"nameLocation": "
|
1102
|
+
"nameLocation": "922:4:31",
|
1103
1103
|
"nodeType": "VariableDeclaration",
|
1104
1104
|
"scope": 22867,
|
1105
|
-
"src": "
|
1105
|
+
"src": "909:17:31",
|
1106
1106
|
"stateVariable": false,
|
1107
1107
|
"storageLocation": "memory",
|
1108
1108
|
"typeDescriptions": {
|
@@ -1113,7 +1113,7 @@
|
|
1113
1113
|
"id": 22850,
|
1114
1114
|
"name": "bytes",
|
1115
1115
|
"nodeType": "ElementaryTypeName",
|
1116
|
-
"src": "
|
1116
|
+
"src": "909:5:31",
|
1117
1117
|
"typeDescriptions": {
|
1118
1118
|
"typeIdentifier": "t_bytes_storage_ptr",
|
1119
1119
|
"typeString": "bytes"
|
@@ -1122,7 +1122,7 @@
|
|
1122
1122
|
"visibility": "internal"
|
1123
1123
|
}
|
1124
1124
|
],
|
1125
|
-
"src": "
|
1125
|
+
"src": "908:19:31"
|
1126
1126
|
},
|
1127
1127
|
"scope": 22906,
|
1128
1128
|
"stateMutability": "pure",
|
@@ -1132,12 +1132,12 @@
|
|
1132
1132
|
{
|
1133
1133
|
"id": 22905,
|
1134
1134
|
"nodeType": "FunctionDefinition",
|
1135
|
-
"src": "
|
1135
|
+
"src": "2631:1127:31",
|
1136
1136
|
"nodes": [],
|
1137
1137
|
"body": {
|
1138
1138
|
"id": 22904,
|
1139
1139
|
"nodeType": "Block",
|
1140
|
-
"src": "
|
1140
|
+
"src": "2775:983:31",
|
1141
1141
|
"nodes": [],
|
1142
1142
|
"statements": [
|
1143
1143
|
{
|
@@ -1150,10 +1150,10 @@
|
|
1150
1150
|
"id": 22882,
|
1151
1151
|
"mutability": "mutable",
|
1152
1152
|
"name": "packedPointer",
|
1153
|
-
"nameLocation": "
|
1153
|
+
"nameLocation": "2789:13:31",
|
1154
1154
|
"nodeType": "VariableDeclaration",
|
1155
1155
|
"scope": 22904,
|
1156
|
-
"src": "
|
1156
|
+
"src": "2781:21:31",
|
1157
1157
|
"stateVariable": false,
|
1158
1158
|
"storageLocation": "default",
|
1159
1159
|
"typeDescriptions": {
|
@@ -1164,7 +1164,7 @@
|
|
1164
1164
|
"id": 22881,
|
1165
1165
|
"name": "uint256",
|
1166
1166
|
"nodeType": "ElementaryTypeName",
|
1167
|
-
"src": "
|
1167
|
+
"src": "2781:7:31",
|
1168
1168
|
"typeDescriptions": {
|
1169
1169
|
"typeIdentifier": "t_uint256",
|
1170
1170
|
"typeString": "uint256"
|
@@ -1184,7 +1184,7 @@
|
|
1184
1184
|
"nodeType": "Identifier",
|
1185
1185
|
"overloadedDeclarations": [],
|
1186
1186
|
"referencedDeclaration": 22871,
|
1187
|
-
"src": "
|
1187
|
+
"src": "2805:11:31",
|
1188
1188
|
"typeDescriptions": {
|
1189
1189
|
"typeIdentifier": "t_userDefinedValueType$_Slice_$3412",
|
1190
1190
|
"typeString": "Slice"
|
@@ -1195,11 +1195,11 @@
|
|
1195
1195
|
"isLValue": false,
|
1196
1196
|
"isPure": false,
|
1197
1197
|
"lValueRequested": false,
|
1198
|
-
"memberLocation": "
|
1198
|
+
"memberLocation": "2817:7:31",
|
1199
1199
|
"memberName": "pointer",
|
1200
1200
|
"nodeType": "MemberAccess",
|
1201
1201
|
"referencedDeclaration": 3575,
|
1202
|
-
"src": "
|
1202
|
+
"src": "2805:19:31",
|
1203
1203
|
"typeDescriptions": {
|
1204
1204
|
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$3412_$returns$_t_uint256_$attached_to$_t_userDefinedValueType$_Slice_$3412_$",
|
1205
1205
|
"typeString": "function (Slice) pure returns (uint256)"
|
@@ -1214,7 +1214,7 @@
|
|
1214
1214
|
"nameLocations": [],
|
1215
1215
|
"names": [],
|
1216
1216
|
"nodeType": "FunctionCall",
|
1217
|
-
"src": "
|
1217
|
+
"src": "2805:21:31",
|
1218
1218
|
"tryCall": false,
|
1219
1219
|
"typeDescriptions": {
|
1220
1220
|
"typeIdentifier": "t_uint256",
|
@@ -1222,7 +1222,7 @@
|
|
1222
1222
|
}
|
1223
1223
|
},
|
1224
1224
|
"nodeType": "VariableDeclarationStatement",
|
1225
|
-
"src": "
|
1225
|
+
"src": "2781:45:31"
|
1226
1226
|
},
|
1227
1227
|
{
|
1228
1228
|
"assignments": [
|
@@ -1234,10 +1234,10 @@
|
|
1234
1234
|
"id": 22888,
|
1235
1235
|
"mutability": "mutable",
|
1236
1236
|
"name": "packedLength",
|
1237
|
-
"nameLocation": "
|
1237
|
+
"nameLocation": "2840:12:31",
|
1238
1238
|
"nodeType": "VariableDeclaration",
|
1239
1239
|
"scope": 22904,
|
1240
|
-
"src": "
|
1240
|
+
"src": "2832:20:31",
|
1241
1241
|
"stateVariable": false,
|
1242
1242
|
"storageLocation": "default",
|
1243
1243
|
"typeDescriptions": {
|
@@ -1248,7 +1248,7 @@
|
|
1248
1248
|
"id": 22887,
|
1249
1249
|
"name": "uint256",
|
1250
1250
|
"nodeType": "ElementaryTypeName",
|
1251
|
-
"src": "
|
1251
|
+
"src": "2832:7:31",
|
1252
1252
|
"typeDescriptions": {
|
1253
1253
|
"typeIdentifier": "t_uint256",
|
1254
1254
|
"typeString": "uint256"
|
@@ -1268,7 +1268,7 @@
|
|
1268
1268
|
"nodeType": "Identifier",
|
1269
1269
|
"overloadedDeclarations": [],
|
1270
1270
|
"referencedDeclaration": 22871,
|
1271
|
-
"src": "
|
1271
|
+
"src": "2855:11:31",
|
1272
1272
|
"typeDescriptions": {
|
1273
1273
|
"typeIdentifier": "t_userDefinedValueType$_Slice_$3412",
|
1274
1274
|
"typeString": "Slice"
|
@@ -1279,11 +1279,11 @@
|
|
1279
1279
|
"isLValue": false,
|
1280
1280
|
"isPure": false,
|
1281
1281
|
"lValueRequested": false,
|
1282
|
-
"memberLocation": "
|
1282
|
+
"memberLocation": "2867:6:31",
|
1283
1283
|
"memberName": "length",
|
1284
1284
|
"nodeType": "MemberAccess",
|
1285
1285
|
"referencedDeclaration": 3593,
|
1286
|
-
"src": "
|
1286
|
+
"src": "2855:18:31",
|
1287
1287
|
"typeDescriptions": {
|
1288
1288
|
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$3412_$returns$_t_uint256_$attached_to$_t_userDefinedValueType$_Slice_$3412_$",
|
1289
1289
|
"typeString": "function (Slice) pure returns (uint256)"
|
@@ -1298,7 +1298,7 @@
|
|
1298
1298
|
"nameLocations": [],
|
1299
1299
|
"names": [],
|
1300
1300
|
"nodeType": "FunctionCall",
|
1301
|
-
"src": "
|
1301
|
+
"src": "2855:20:31",
|
1302
1302
|
"tryCall": false,
|
1303
1303
|
"typeDescriptions": {
|
1304
1304
|
"typeIdentifier": "t_uint256",
|
@@ -1306,7 +1306,7 @@
|
|
1306
1306
|
}
|
1307
1307
|
},
|
1308
1308
|
"nodeType": "VariableDeclarationStatement",
|
1309
|
-
"src": "
|
1309
|
+
"src": "2832:43:31"
|
1310
1310
|
},
|
1311
1311
|
{
|
1312
1312
|
"assignments": [
|
@@ -1318,10 +1318,10 @@
|
|
1318
1318
|
"id": 22894,
|
1319
1319
|
"mutability": "mutable",
|
1320
1320
|
"name": "arrayLength",
|
1321
|
-
"nameLocation": "
|
1321
|
+
"nameLocation": "2930:11:31",
|
1322
1322
|
"nodeType": "VariableDeclaration",
|
1323
1323
|
"scope": 22904,
|
1324
|
-
"src": "
|
1324
|
+
"src": "2922:19:31",
|
1325
1325
|
"stateVariable": false,
|
1326
1326
|
"storageLocation": "default",
|
1327
1327
|
"typeDescriptions": {
|
@@ -1332,7 +1332,7 @@
|
|
1332
1332
|
"id": 22893,
|
1333
1333
|
"name": "uint256",
|
1334
1334
|
"nodeType": "ElementaryTypeName",
|
1335
|
-
"src": "
|
1335
|
+
"src": "2922:7:31",
|
1336
1336
|
"typeDescriptions": {
|
1337
1337
|
"typeIdentifier": "t_uint256",
|
1338
1338
|
"typeString": "uint256"
|
@@ -1343,12 +1343,12 @@
|
|
1343
1343
|
],
|
1344
1344
|
"id": 22895,
|
1345
1345
|
"nodeType": "VariableDeclarationStatement",
|
1346
|
-
"src": "
|
1346
|
+
"src": "2922:19:31"
|
1347
1347
|
},
|
1348
1348
|
{
|
1349
1349
|
"id": 22902,
|
1350
1350
|
"nodeType": "UncheckedBlock",
|
1351
|
-
"src": "
|
1351
|
+
"src": "2947:65:31",
|
1352
1352
|
"statements": [
|
1353
1353
|
{
|
1354
1354
|
"expression": {
|
@@ -1363,7 +1363,7 @@
|
|
1363
1363
|
"nodeType": "Identifier",
|
1364
1364
|
"overloadedDeclarations": [],
|
1365
1365
|
"referencedDeclaration": 22894,
|
1366
|
-
"src": "
|
1366
|
+
"src": "2965:11:31",
|
1367
1367
|
"typeDescriptions": {
|
1368
1368
|
"typeIdentifier": "t_uint256",
|
1369
1369
|
"typeString": "uint256"
|
@@ -1387,7 +1387,7 @@
|
|
1387
1387
|
"nodeType": "Identifier",
|
1388
1388
|
"overloadedDeclarations": [],
|
1389
1389
|
"referencedDeclaration": 22888,
|
1390
|
-
"src": "
|
1390
|
+
"src": "2979:12:31",
|
1391
1391
|
"typeDescriptions": {
|
1392
1392
|
"typeIdentifier": "t_uint256",
|
1393
1393
|
"typeString": "uint256"
|
@@ -1401,19 +1401,19 @@
|
|
1401
1401
|
"nodeType": "Identifier",
|
1402
1402
|
"overloadedDeclarations": [],
|
1403
1403
|
"referencedDeclaration": 22873,
|
1404
|
-
"src": "
|
1404
|
+
"src": "2994:11:31",
|
1405
1405
|
"typeDescriptions": {
|
1406
1406
|
"typeIdentifier": "t_uint256",
|
1407
1407
|
"typeString": "uint256"
|
1408
1408
|
}
|
1409
1409
|
},
|
1410
|
-
"src": "
|
1410
|
+
"src": "2979:26:31",
|
1411
1411
|
"typeDescriptions": {
|
1412
1412
|
"typeIdentifier": "t_uint256",
|
1413
1413
|
"typeString": "uint256"
|
1414
1414
|
}
|
1415
1415
|
},
|
1416
|
-
"src": "
|
1416
|
+
"src": "2965:40:31",
|
1417
1417
|
"typeDescriptions": {
|
1418
1418
|
"typeIdentifier": "t_uint256",
|
1419
1419
|
"typeString": "uint256"
|
@@ -1421,87 +1421,87 @@
|
|
1421
1421
|
},
|
1422
1422
|
"id": 22901,
|
1423
1423
|
"nodeType": "ExpressionStatement",
|
1424
|
-
"src": "
|
1424
|
+
"src": "2965:40:31"
|
1425
1425
|
}
|
1426
1426
|
]
|
1427
1427
|
},
|
1428
1428
|
{
|
1429
1429
|
"AST": {
|
1430
|
-
"nativeSrc": "
|
1430
|
+
"nativeSrc": "3066:688:31",
|
1431
1431
|
"nodeType": "YulBlock",
|
1432
|
-
"src": "
|
1432
|
+
"src": "3066:688:31",
|
1433
1433
|
"statements": [
|
1434
1434
|
{
|
1435
|
-
"nativeSrc": "
|
1435
|
+
"nativeSrc": "3099:20:31",
|
1436
1436
|
"nodeType": "YulAssignment",
|
1437
|
-
"src": "
|
1437
|
+
"src": "3099:20:31",
|
1438
1438
|
"value": {
|
1439
1439
|
"arguments": [
|
1440
1440
|
{
|
1441
1441
|
"kind": "number",
|
1442
|
-
"nativeSrc": "
|
1442
|
+
"nativeSrc": "3114:4:31",
|
1443
1443
|
"nodeType": "YulLiteral",
|
1444
|
-
"src": "
|
1444
|
+
"src": "3114:4:31",
|
1445
1445
|
"type": "",
|
1446
1446
|
"value": "0x40"
|
1447
1447
|
}
|
1448
1448
|
],
|
1449
1449
|
"functionName": {
|
1450
1450
|
"name": "mload",
|
1451
|
-
"nativeSrc": "
|
1451
|
+
"nativeSrc": "3108:5:31",
|
1452
1452
|
"nodeType": "YulIdentifier",
|
1453
|
-
"src": "
|
1453
|
+
"src": "3108:5:31"
|
1454
1454
|
},
|
1455
|
-
"nativeSrc": "
|
1455
|
+
"nativeSrc": "3108:11:31",
|
1456
1456
|
"nodeType": "YulFunctionCall",
|
1457
|
-
"src": "
|
1457
|
+
"src": "3108:11:31"
|
1458
1458
|
},
|
1459
1459
|
"variableNames": [
|
1460
1460
|
{
|
1461
1461
|
"name": "array",
|
1462
|
-
"nativeSrc": "
|
1462
|
+
"nativeSrc": "3099:5:31",
|
1463
1463
|
"nodeType": "YulIdentifier",
|
1464
|
-
"src": "
|
1464
|
+
"src": "3099:5:31"
|
1465
1465
|
}
|
1466
1466
|
]
|
1467
1467
|
},
|
1468
1468
|
{
|
1469
|
-
"nativeSrc": "
|
1469
|
+
"nativeSrc": "3126:36:31",
|
1470
1470
|
"nodeType": "YulVariableDeclaration",
|
1471
|
-
"src": "
|
1471
|
+
"src": "3126:36:31",
|
1472
1472
|
"value": {
|
1473
1473
|
"arguments": [
|
1474
1474
|
{
|
1475
1475
|
"name": "array",
|
1476
|
-
"nativeSrc": "
|
1476
|
+
"nativeSrc": "3150:5:31",
|
1477
1477
|
"nodeType": "YulIdentifier",
|
1478
|
-
"src": "
|
1478
|
+
"src": "3150:5:31"
|
1479
1479
|
},
|
1480
1480
|
{
|
1481
1481
|
"kind": "number",
|
1482
|
-
"nativeSrc": "
|
1482
|
+
"nativeSrc": "3157:4:31",
|
1483
1483
|
"nodeType": "YulLiteral",
|
1484
|
-
"src": "
|
1484
|
+
"src": "3157:4:31",
|
1485
1485
|
"type": "",
|
1486
1486
|
"value": "0x20"
|
1487
1487
|
}
|
1488
1488
|
],
|
1489
1489
|
"functionName": {
|
1490
1490
|
"name": "add",
|
1491
|
-
"nativeSrc": "
|
1491
|
+
"nativeSrc": "3146:3:31",
|
1492
1492
|
"nodeType": "YulIdentifier",
|
1493
|
-
"src": "
|
1493
|
+
"src": "3146:3:31"
|
1494
1494
|
},
|
1495
|
-
"nativeSrc": "
|
1495
|
+
"nativeSrc": "3146:16:31",
|
1496
1496
|
"nodeType": "YulFunctionCall",
|
1497
|
-
"src": "
|
1497
|
+
"src": "3146:16:31"
|
1498
1498
|
},
|
1499
1499
|
"variables": [
|
1500
1500
|
{
|
1501
1501
|
"name": "arrayPointer",
|
1502
|
-
"nativeSrc": "
|
1502
|
+
"nativeSrc": "3130:12:31",
|
1503
1503
|
"nodeType": "YulTypedName",
|
1504
|
-
"src": "
|
1504
|
+
"src": "3130:12:31",
|
1505
1505
|
"type": ""
|
1506
1506
|
}
|
1507
1507
|
]
|
@@ -1511,9 +1511,9 @@
|
|
1511
1511
|
"arguments": [
|
1512
1512
|
{
|
1513
1513
|
"kind": "number",
|
1514
|
-
"nativeSrc": "
|
1514
|
+
"nativeSrc": "3176:4:31",
|
1515
1515
|
"nodeType": "YulLiteral",
|
1516
|
-
"src": "
|
1516
|
+
"src": "3176:4:31",
|
1517
1517
|
"type": "",
|
1518
1518
|
"value": "0x40"
|
1519
1519
|
},
|
@@ -1521,160 +1521,160 @@
|
|
1521
1521
|
"arguments": [
|
1522
1522
|
{
|
1523
1523
|
"name": "arrayPointer",
|
1524
|
-
"nativeSrc": "
|
1524
|
+
"nativeSrc": "3186:12:31",
|
1525
1525
|
"nodeType": "YulIdentifier",
|
1526
|
-
"src": "
|
1526
|
+
"src": "3186:12:31"
|
1527
1527
|
},
|
1528
1528
|
{
|
1529
1529
|
"arguments": [
|
1530
1530
|
{
|
1531
1531
|
"name": "arrayLength",
|
1532
|
-
"nativeSrc": "
|
1532
|
+
"nativeSrc": "3204:11:31",
|
1533
1533
|
"nodeType": "YulIdentifier",
|
1534
|
-
"src": "
|
1534
|
+
"src": "3204:11:31"
|
1535
1535
|
},
|
1536
1536
|
{
|
1537
1537
|
"kind": "number",
|
1538
|
-
"nativeSrc": "
|
1538
|
+
"nativeSrc": "3217:2:31",
|
1539
1539
|
"nodeType": "YulLiteral",
|
1540
|
-
"src": "
|
1540
|
+
"src": "3217:2:31",
|
1541
1541
|
"type": "",
|
1542
1542
|
"value": "32"
|
1543
1543
|
}
|
1544
1544
|
],
|
1545
1545
|
"functionName": {
|
1546
1546
|
"name": "mul",
|
1547
|
-
"nativeSrc": "
|
1547
|
+
"nativeSrc": "3200:3:31",
|
1548
1548
|
"nodeType": "YulIdentifier",
|
1549
|
-
"src": "
|
1549
|
+
"src": "3200:3:31"
|
1550
1550
|
},
|
1551
|
-
"nativeSrc": "
|
1551
|
+
"nativeSrc": "3200:20:31",
|
1552
1552
|
"nodeType": "YulFunctionCall",
|
1553
|
-
"src": "
|
1553
|
+
"src": "3200:20:31"
|
1554
1554
|
}
|
1555
1555
|
],
|
1556
1556
|
"functionName": {
|
1557
1557
|
"name": "add",
|
1558
|
-
"nativeSrc": "
|
1558
|
+
"nativeSrc": "3182:3:31",
|
1559
1559
|
"nodeType": "YulIdentifier",
|
1560
|
-
"src": "
|
1560
|
+
"src": "3182:3:31"
|
1561
1561
|
},
|
1562
|
-
"nativeSrc": "
|
1562
|
+
"nativeSrc": "3182:39:31",
|
1563
1563
|
"nodeType": "YulFunctionCall",
|
1564
|
-
"src": "
|
1564
|
+
"src": "3182:39:31"
|
1565
1565
|
}
|
1566
1566
|
],
|
1567
1567
|
"functionName": {
|
1568
1568
|
"name": "mstore",
|
1569
|
-
"nativeSrc": "
|
1569
|
+
"nativeSrc": "3169:6:31",
|
1570
1570
|
"nodeType": "YulIdentifier",
|
1571
|
-
"src": "
|
1571
|
+
"src": "3169:6:31"
|
1572
1572
|
},
|
1573
|
-
"nativeSrc": "
|
1573
|
+
"nativeSrc": "3169:53:31",
|
1574
1574
|
"nodeType": "YulFunctionCall",
|
1575
|
-
"src": "
|
1575
|
+
"src": "3169:53:31"
|
1576
1576
|
},
|
1577
|
-
"nativeSrc": "
|
1577
|
+
"nativeSrc": "3169:53:31",
|
1578
1578
|
"nodeType": "YulExpressionStatement",
|
1579
|
-
"src": "
|
1579
|
+
"src": "3169:53:31"
|
1580
1580
|
},
|
1581
1581
|
{
|
1582
1582
|
"expression": {
|
1583
1583
|
"arguments": [
|
1584
1584
|
{
|
1585
1585
|
"name": "array",
|
1586
|
-
"nativeSrc": "
|
1586
|
+
"nativeSrc": "3258:5:31",
|
1587
1587
|
"nodeType": "YulIdentifier",
|
1588
|
-
"src": "
|
1588
|
+
"src": "3258:5:31"
|
1589
1589
|
},
|
1590
1590
|
{
|
1591
1591
|
"name": "arrayLength",
|
1592
|
-
"nativeSrc": "
|
1592
|
+
"nativeSrc": "3265:11:31",
|
1593
1593
|
"nodeType": "YulIdentifier",
|
1594
|
-
"src": "
|
1594
|
+
"src": "3265:11:31"
|
1595
1595
|
}
|
1596
1596
|
],
|
1597
1597
|
"functionName": {
|
1598
1598
|
"name": "mstore",
|
1599
|
-
"nativeSrc": "
|
1599
|
+
"nativeSrc": "3251:6:31",
|
1600
1600
|
"nodeType": "YulIdentifier",
|
1601
|
-
"src": "
|
1601
|
+
"src": "3251:6:31"
|
1602
1602
|
},
|
1603
|
-
"nativeSrc": "
|
1603
|
+
"nativeSrc": "3251:26:31",
|
1604
1604
|
"nodeType": "YulFunctionCall",
|
1605
|
-
"src": "
|
1605
|
+
"src": "3251:26:31"
|
1606
1606
|
},
|
1607
|
-
"nativeSrc": "
|
1607
|
+
"nativeSrc": "3251:26:31",
|
1608
1608
|
"nodeType": "YulExpressionStatement",
|
1609
|
-
"src": "
|
1609
|
+
"src": "3251:26:31"
|
1610
1610
|
},
|
1611
1611
|
{
|
1612
1612
|
"body": {
|
1613
|
-
"nativeSrc": "
|
1613
|
+
"nativeSrc": "3630:118:31",
|
1614
1614
|
"nodeType": "YulBlock",
|
1615
|
-
"src": "
|
1615
|
+
"src": "3630:118:31",
|
1616
1616
|
"statements": [
|
1617
1617
|
{
|
1618
1618
|
"expression": {
|
1619
1619
|
"arguments": [
|
1620
1620
|
{
|
1621
1621
|
"name": "arrayPointer",
|
1622
|
-
"nativeSrc": "
|
1622
|
+
"nativeSrc": "3683:12:31",
|
1623
1623
|
"nodeType": "YulIdentifier",
|
1624
|
-
"src": "
|
1624
|
+
"src": "3683:12:31"
|
1625
1625
|
},
|
1626
1626
|
{
|
1627
1627
|
"arguments": [
|
1628
1628
|
{
|
1629
1629
|
"name": "leftPaddingBits",
|
1630
|
-
"nativeSrc": "
|
1630
|
+
"nativeSrc": "3701:15:31",
|
1631
1631
|
"nodeType": "YulIdentifier",
|
1632
|
-
"src": "
|
1632
|
+
"src": "3701:15:31"
|
1633
1633
|
},
|
1634
1634
|
{
|
1635
1635
|
"arguments": [
|
1636
1636
|
{
|
1637
1637
|
"name": "packedPointer",
|
1638
|
-
"nativeSrc": "
|
1638
|
+
"nativeSrc": "3724:13:31",
|
1639
1639
|
"nodeType": "YulIdentifier",
|
1640
|
-
"src": "
|
1640
|
+
"src": "3724:13:31"
|
1641
1641
|
}
|
1642
1642
|
],
|
1643
1643
|
"functionName": {
|
1644
1644
|
"name": "mload",
|
1645
|
-
"nativeSrc": "
|
1645
|
+
"nativeSrc": "3718:5:31",
|
1646
1646
|
"nodeType": "YulIdentifier",
|
1647
|
-
"src": "
|
1647
|
+
"src": "3718:5:31"
|
1648
1648
|
},
|
1649
|
-
"nativeSrc": "
|
1649
|
+
"nativeSrc": "3718:20:31",
|
1650
1650
|
"nodeType": "YulFunctionCall",
|
1651
|
-
"src": "
|
1651
|
+
"src": "3718:20:31"
|
1652
1652
|
}
|
1653
1653
|
],
|
1654
1654
|
"functionName": {
|
1655
1655
|
"name": "shr",
|
1656
|
-
"nativeSrc": "
|
1656
|
+
"nativeSrc": "3697:3:31",
|
1657
1657
|
"nodeType": "YulIdentifier",
|
1658
|
-
"src": "
|
1658
|
+
"src": "3697:3:31"
|
1659
1659
|
},
|
1660
|
-
"nativeSrc": "
|
1660
|
+
"nativeSrc": "3697:42:31",
|
1661
1661
|
"nodeType": "YulFunctionCall",
|
1662
|
-
"src": "
|
1662
|
+
"src": "3697:42:31"
|
1663
1663
|
}
|
1664
1664
|
],
|
1665
1665
|
"functionName": {
|
1666
1666
|
"name": "mstore",
|
1667
|
-
"nativeSrc": "
|
1667
|
+
"nativeSrc": "3676:6:31",
|
1668
1668
|
"nodeType": "YulIdentifier",
|
1669
|
-
"src": "
|
1669
|
+
"src": "3676:6:31"
|
1670
1670
|
},
|
1671
|
-
"nativeSrc": "
|
1671
|
+
"nativeSrc": "3676:64:31",
|
1672
1672
|
"nodeType": "YulFunctionCall",
|
1673
|
-
"src": "
|
1673
|
+
"src": "3676:64:31"
|
1674
1674
|
},
|
1675
|
-
"nativeSrc": "
|
1675
|
+
"nativeSrc": "3676:64:31",
|
1676
1676
|
"nodeType": "YulExpressionStatement",
|
1677
|
-
"src": "
|
1677
|
+
"src": "3676:64:31"
|
1678
1678
|
}
|
1679
1679
|
]
|
1680
1680
|
},
|
@@ -1682,184 +1682,184 @@
|
|
1682
1682
|
"arguments": [
|
1683
1683
|
{
|
1684
1684
|
"name": "i",
|
1685
|
-
"nativeSrc": "
|
1685
|
+
"nativeSrc": "3321:1:31",
|
1686
1686
|
"nodeType": "YulIdentifier",
|
1687
|
-
"src": "
|
1687
|
+
"src": "3321:1:31"
|
1688
1688
|
},
|
1689
1689
|
{
|
1690
1690
|
"name": "arrayLength",
|
1691
|
-
"nativeSrc": "
|
1691
|
+
"nativeSrc": "3324:11:31",
|
1692
1692
|
"nodeType": "YulIdentifier",
|
1693
|
-
"src": "
|
1693
|
+
"src": "3324:11:31"
|
1694
1694
|
}
|
1695
1695
|
],
|
1696
1696
|
"functionName": {
|
1697
1697
|
"name": "lt",
|
1698
|
-
"nativeSrc": "
|
1698
|
+
"nativeSrc": "3318:2:31",
|
1699
1699
|
"nodeType": "YulIdentifier",
|
1700
|
-
"src": "
|
1700
|
+
"src": "3318:2:31"
|
1701
1701
|
},
|
1702
|
-
"nativeSrc": "
|
1702
|
+
"nativeSrc": "3318:18:31",
|
1703
1703
|
"nodeType": "YulFunctionCall",
|
1704
|
-
"src": "
|
1704
|
+
"src": "3318:18:31"
|
1705
1705
|
},
|
1706
|
-
"nativeSrc": "
|
1706
|
+
"nativeSrc": "3285:463:31",
|
1707
1707
|
"nodeType": "YulForLoop",
|
1708
1708
|
"post": {
|
1709
|
-
"nativeSrc": "
|
1709
|
+
"nativeSrc": "3337:292:31",
|
1710
1710
|
"nodeType": "YulBlock",
|
1711
|
-
"src": "
|
1711
|
+
"src": "3337:292:31",
|
1712
1712
|
"statements": [
|
1713
1713
|
{
|
1714
|
-
"nativeSrc": "
|
1714
|
+
"nativeSrc": "3399:14:31",
|
1715
1715
|
"nodeType": "YulAssignment",
|
1716
|
-
"src": "
|
1716
|
+
"src": "3399:14:31",
|
1717
1717
|
"value": {
|
1718
1718
|
"arguments": [
|
1719
1719
|
{
|
1720
1720
|
"name": "i",
|
1721
|
-
"nativeSrc": "
|
1721
|
+
"nativeSrc": "3408:1:31",
|
1722
1722
|
"nodeType": "YulIdentifier",
|
1723
|
-
"src": "
|
1723
|
+
"src": "3408:1:31"
|
1724
1724
|
},
|
1725
1725
|
{
|
1726
1726
|
"kind": "number",
|
1727
|
-
"nativeSrc": "
|
1727
|
+
"nativeSrc": "3411:1:31",
|
1728
1728
|
"nodeType": "YulLiteral",
|
1729
|
-
"src": "
|
1729
|
+
"src": "3411:1:31",
|
1730
1730
|
"type": "",
|
1731
1731
|
"value": "1"
|
1732
1732
|
}
|
1733
1733
|
],
|
1734
1734
|
"functionName": {
|
1735
1735
|
"name": "add",
|
1736
|
-
"nativeSrc": "
|
1736
|
+
"nativeSrc": "3404:3:31",
|
1737
1737
|
"nodeType": "YulIdentifier",
|
1738
|
-
"src": "
|
1738
|
+
"src": "3404:3:31"
|
1739
1739
|
},
|
1740
|
-
"nativeSrc": "
|
1740
|
+
"nativeSrc": "3404:9:31",
|
1741
1741
|
"nodeType": "YulFunctionCall",
|
1742
|
-
"src": "
|
1742
|
+
"src": "3404:9:31"
|
1743
1743
|
},
|
1744
1744
|
"variableNames": [
|
1745
1745
|
{
|
1746
1746
|
"name": "i",
|
1747
|
-
"nativeSrc": "
|
1747
|
+
"nativeSrc": "3399:1:31",
|
1748
1748
|
"nodeType": "YulIdentifier",
|
1749
|
-
"src": "
|
1749
|
+
"src": "3399:1:31"
|
1750
1750
|
}
|
1751
1751
|
]
|
1752
1752
|
},
|
1753
1753
|
{
|
1754
|
-
"nativeSrc": "
|
1754
|
+
"nativeSrc": "3469:39:31",
|
1755
1755
|
"nodeType": "YulAssignment",
|
1756
|
-
"src": "
|
1756
|
+
"src": "3469:39:31",
|
1757
1757
|
"value": {
|
1758
1758
|
"arguments": [
|
1759
1759
|
{
|
1760
1760
|
"name": "arrayPointer",
|
1761
|
-
"nativeSrc": "
|
1761
|
+
"nativeSrc": "3489:12:31",
|
1762
1762
|
"nodeType": "YulIdentifier",
|
1763
|
-
"src": "
|
1763
|
+
"src": "3489:12:31"
|
1764
1764
|
},
|
1765
1765
|
{
|
1766
1766
|
"kind": "number",
|
1767
|
-
"nativeSrc": "
|
1767
|
+
"nativeSrc": "3503:4:31",
|
1768
1768
|
"nodeType": "YulLiteral",
|
1769
|
-
"src": "
|
1769
|
+
"src": "3503:4:31",
|
1770
1770
|
"type": "",
|
1771
1771
|
"value": "0x20"
|
1772
1772
|
}
|
1773
1773
|
],
|
1774
1774
|
"functionName": {
|
1775
1775
|
"name": "add",
|
1776
|
-
"nativeSrc": "
|
1776
|
+
"nativeSrc": "3485:3:31",
|
1777
1777
|
"nodeType": "YulIdentifier",
|
1778
|
-
"src": "
|
1778
|
+
"src": "3485:3:31"
|
1779
1779
|
},
|
1780
|
-
"nativeSrc": "
|
1780
|
+
"nativeSrc": "3485:23:31",
|
1781
1781
|
"nodeType": "YulFunctionCall",
|
1782
|
-
"src": "
|
1782
|
+
"src": "3485:23:31"
|
1783
1783
|
},
|
1784
1784
|
"variableNames": [
|
1785
1785
|
{
|
1786
1786
|
"name": "arrayPointer",
|
1787
|
-
"nativeSrc": "
|
1787
|
+
"nativeSrc": "3469:12:31",
|
1788
1788
|
"nodeType": "YulIdentifier",
|
1789
|
-
"src": "
|
1789
|
+
"src": "3469:12:31"
|
1790
1790
|
}
|
1791
1791
|
]
|
1792
1792
|
},
|
1793
1793
|
{
|
1794
|
-
"nativeSrc": "
|
1794
|
+
"nativeSrc": "3573:48:31",
|
1795
1795
|
"nodeType": "YulAssignment",
|
1796
|
-
"src": "
|
1796
|
+
"src": "3573:48:31",
|
1797
1797
|
"value": {
|
1798
1798
|
"arguments": [
|
1799
1799
|
{
|
1800
1800
|
"name": "packedPointer",
|
1801
|
-
"nativeSrc": "
|
1801
|
+
"nativeSrc": "3594:13:31",
|
1802
1802
|
"nodeType": "YulIdentifier",
|
1803
|
-
"src": "
|
1803
|
+
"src": "3594:13:31"
|
1804
1804
|
},
|
1805
1805
|
{
|
1806
1806
|
"name": "elementSize",
|
1807
|
-
"nativeSrc": "
|
1807
|
+
"nativeSrc": "3609:11:31",
|
1808
1808
|
"nodeType": "YulIdentifier",
|
1809
|
-
"src": "
|
1809
|
+
"src": "3609:11:31"
|
1810
1810
|
}
|
1811
1811
|
],
|
1812
1812
|
"functionName": {
|
1813
1813
|
"name": "add",
|
1814
|
-
"nativeSrc": "
|
1814
|
+
"nativeSrc": "3590:3:31",
|
1815
1815
|
"nodeType": "YulIdentifier",
|
1816
|
-
"src": "
|
1816
|
+
"src": "3590:3:31"
|
1817
1817
|
},
|
1818
|
-
"nativeSrc": "
|
1818
|
+
"nativeSrc": "3590:31:31",
|
1819
1819
|
"nodeType": "YulFunctionCall",
|
1820
|
-
"src": "
|
1820
|
+
"src": "3590:31:31"
|
1821
1821
|
},
|
1822
1822
|
"variableNames": [
|
1823
1823
|
{
|
1824
1824
|
"name": "packedPointer",
|
1825
|
-
"nativeSrc": "
|
1825
|
+
"nativeSrc": "3573:13:31",
|
1826
1826
|
"nodeType": "YulIdentifier",
|
1827
|
-
"src": "
|
1827
|
+
"src": "3573:13:31"
|
1828
1828
|
}
|
1829
1829
|
]
|
1830
1830
|
}
|
1831
1831
|
]
|
1832
1832
|
},
|
1833
1833
|
"pre": {
|
1834
|
-
"nativeSrc": "
|
1834
|
+
"nativeSrc": "3289:28:31",
|
1835
1835
|
"nodeType": "YulBlock",
|
1836
|
-
"src": "
|
1836
|
+
"src": "3289:28:31",
|
1837
1837
|
"statements": [
|
1838
1838
|
{
|
1839
|
-
"nativeSrc": "
|
1839
|
+
"nativeSrc": "3299:10:31",
|
1840
1840
|
"nodeType": "YulVariableDeclaration",
|
1841
|
-
"src": "
|
1841
|
+
"src": "3299:10:31",
|
1842
1842
|
"value": {
|
1843
1843
|
"kind": "number",
|
1844
|
-
"nativeSrc": "
|
1844
|
+
"nativeSrc": "3308:1:31",
|
1845
1845
|
"nodeType": "YulLiteral",
|
1846
|
-
"src": "
|
1846
|
+
"src": "3308:1:31",
|
1847
1847
|
"type": "",
|
1848
1848
|
"value": "0"
|
1849
1849
|
},
|
1850
1850
|
"variables": [
|
1851
1851
|
{
|
1852
1852
|
"name": "i",
|
1853
|
-
"nativeSrc": "
|
1853
|
+
"nativeSrc": "3303:1:31",
|
1854
1854
|
"nodeType": "YulTypedName",
|
1855
|
-
"src": "
|
1855
|
+
"src": "3303:1:31",
|
1856
1856
|
"type": ""
|
1857
1857
|
}
|
1858
1858
|
]
|
1859
1859
|
}
|
1860
1860
|
]
|
1861
1861
|
},
|
1862
|
-
"src": "
|
1862
|
+
"src": "3285:463:31"
|
1863
1863
|
}
|
1864
1864
|
]
|
1865
1865
|
},
|
@@ -1870,97 +1870,97 @@
|
|
1870
1870
|
"declaration": 22879,
|
1871
1871
|
"isOffset": false,
|
1872
1872
|
"isSlot": false,
|
1873
|
-
"src": "
|
1873
|
+
"src": "3099:5:31",
|
1874
1874
|
"valueSize": 1
|
1875
1875
|
},
|
1876
1876
|
{
|
1877
1877
|
"declaration": 22879,
|
1878
1878
|
"isOffset": false,
|
1879
1879
|
"isSlot": false,
|
1880
|
-
"src": "
|
1880
|
+
"src": "3150:5:31",
|
1881
1881
|
"valueSize": 1
|
1882
1882
|
},
|
1883
1883
|
{
|
1884
1884
|
"declaration": 22879,
|
1885
1885
|
"isOffset": false,
|
1886
1886
|
"isSlot": false,
|
1887
|
-
"src": "
|
1887
|
+
"src": "3258:5:31",
|
1888
1888
|
"valueSize": 1
|
1889
1889
|
},
|
1890
1890
|
{
|
1891
1891
|
"declaration": 22894,
|
1892
1892
|
"isOffset": false,
|
1893
1893
|
"isSlot": false,
|
1894
|
-
"src": "
|
1894
|
+
"src": "3204:11:31",
|
1895
1895
|
"valueSize": 1
|
1896
1896
|
},
|
1897
1897
|
{
|
1898
1898
|
"declaration": 22894,
|
1899
1899
|
"isOffset": false,
|
1900
1900
|
"isSlot": false,
|
1901
|
-
"src": "
|
1901
|
+
"src": "3265:11:31",
|
1902
1902
|
"valueSize": 1
|
1903
1903
|
},
|
1904
1904
|
{
|
1905
1905
|
"declaration": 22894,
|
1906
1906
|
"isOffset": false,
|
1907
1907
|
"isSlot": false,
|
1908
|
-
"src": "
|
1908
|
+
"src": "3324:11:31",
|
1909
1909
|
"valueSize": 1
|
1910
1910
|
},
|
1911
1911
|
{
|
1912
1912
|
"declaration": 22873,
|
1913
1913
|
"isOffset": false,
|
1914
1914
|
"isSlot": false,
|
1915
|
-
"src": "
|
1915
|
+
"src": "3609:11:31",
|
1916
1916
|
"valueSize": 1
|
1917
1917
|
},
|
1918
1918
|
{
|
1919
1919
|
"declaration": 22875,
|
1920
1920
|
"isOffset": false,
|
1921
1921
|
"isSlot": false,
|
1922
|
-
"src": "
|
1922
|
+
"src": "3701:15:31",
|
1923
1923
|
"valueSize": 1
|
1924
1924
|
},
|
1925
1925
|
{
|
1926
1926
|
"declaration": 22882,
|
1927
1927
|
"isOffset": false,
|
1928
1928
|
"isSlot": false,
|
1929
|
-
"src": "
|
1929
|
+
"src": "3573:13:31",
|
1930
1930
|
"valueSize": 1
|
1931
1931
|
},
|
1932
1932
|
{
|
1933
1933
|
"declaration": 22882,
|
1934
1934
|
"isOffset": false,
|
1935
1935
|
"isSlot": false,
|
1936
|
-
"src": "
|
1936
|
+
"src": "3594:13:31",
|
1937
1937
|
"valueSize": 1
|
1938
1938
|
},
|
1939
1939
|
{
|
1940
1940
|
"declaration": 22882,
|
1941
1941
|
"isOffset": false,
|
1942
1942
|
"isSlot": false,
|
1943
|
-
"src": "
|
1943
|
+
"src": "3724:13:31",
|
1944
1944
|
"valueSize": 1
|
1945
1945
|
}
|
1946
1946
|
],
|
1947
1947
|
"id": 22903,
|
1948
1948
|
"nodeType": "InlineAssembly",
|
1949
|
-
"src": "
|
1949
|
+
"src": "3057:697:31"
|
1950
1950
|
}
|
1951
1951
|
]
|
1952
1952
|
},
|
1953
1953
|
"documentation": {
|
1954
1954
|
"id": 22868,
|
1955
1955
|
"nodeType": "StructuredDocumentation",
|
1956
|
-
"src": "
|
1957
|
-
"text": "
|
1956
|
+
"src": "2127:501:31",
|
1957
|
+
"text": " @notice Decodes a tightly packed byte slice into a bytes32 array.\n @param packedSlice The tightly packed data to be decoded.\n @param elementSize The size of each element in bytes.\n @param leftPaddingBits The number of padding bits on the left side of each element.\n @dev elementSize and leftPaddingBits must be correctly provided based on the desired output array's element type.\n @return array The resulting array of bytes32 elements from decoding the packed slice."
|
1958
1958
|
},
|
1959
1959
|
"implemented": true,
|
1960
1960
|
"kind": "function",
|
1961
1961
|
"modifiers": [],
|
1962
1962
|
"name": "decode",
|
1963
|
-
"nameLocation": "
|
1963
|
+
"nameLocation": "2640:6:31",
|
1964
1964
|
"parameters": {
|
1965
1965
|
"id": 22876,
|
1966
1966
|
"nodeType": "ParameterList",
|
@@ -1970,10 +1970,10 @@
|
|
1970
1970
|
"id": 22871,
|
1971
1971
|
"mutability": "mutable",
|
1972
1972
|
"name": "packedSlice",
|
1973
|
-
"nameLocation": "
|
1973
|
+
"nameLocation": "2658:11:31",
|
1974
1974
|
"nodeType": "VariableDeclaration",
|
1975
1975
|
"scope": 22905,
|
1976
|
-
"src": "
|
1976
|
+
"src": "2652:17:31",
|
1977
1977
|
"stateVariable": false,
|
1978
1978
|
"storageLocation": "default",
|
1979
1979
|
"typeDescriptions": {
|
@@ -1987,14 +1987,14 @@
|
|
1987
1987
|
"id": 22869,
|
1988
1988
|
"name": "Slice",
|
1989
1989
|
"nameLocations": [
|
1990
|
-
"
|
1990
|
+
"2652:5:31"
|
1991
1991
|
],
|
1992
1992
|
"nodeType": "IdentifierPath",
|
1993
1993
|
"referencedDeclaration": 3412,
|
1994
|
-
"src": "
|
1994
|
+
"src": "2652:5:31"
|
1995
1995
|
},
|
1996
1996
|
"referencedDeclaration": 3412,
|
1997
|
-
"src": "
|
1997
|
+
"src": "2652:5:31",
|
1998
1998
|
"typeDescriptions": {
|
1999
1999
|
"typeIdentifier": "t_userDefinedValueType$_Slice_$3412",
|
2000
2000
|
"typeString": "Slice"
|
@@ -2007,10 +2007,10 @@
|
|
2007
2007
|
"id": 22873,
|
2008
2008
|
"mutability": "mutable",
|
2009
2009
|
"name": "elementSize",
|
2010
|
-
"nameLocation": "
|
2010
|
+
"nameLocation": "2683:11:31",
|
2011
2011
|
"nodeType": "VariableDeclaration",
|
2012
2012
|
"scope": 22905,
|
2013
|
-
"src": "
|
2013
|
+
"src": "2675:19:31",
|
2014
2014
|
"stateVariable": false,
|
2015
2015
|
"storageLocation": "default",
|
2016
2016
|
"typeDescriptions": {
|
@@ -2021,7 +2021,7 @@
|
|
2021
2021
|
"id": 22872,
|
2022
2022
|
"name": "uint256",
|
2023
2023
|
"nodeType": "ElementaryTypeName",
|
2024
|
-
"src": "
|
2024
|
+
"src": "2675:7:31",
|
2025
2025
|
"typeDescriptions": {
|
2026
2026
|
"typeIdentifier": "t_uint256",
|
2027
2027
|
"typeString": "uint256"
|
@@ -2034,10 +2034,10 @@
|
|
2034
2034
|
"id": 22875,
|
2035
2035
|
"mutability": "mutable",
|
2036
2036
|
"name": "leftPaddingBits",
|
2037
|
-
"nameLocation": "
|
2037
|
+
"nameLocation": "2708:15:31",
|
2038
2038
|
"nodeType": "VariableDeclaration",
|
2039
2039
|
"scope": 22905,
|
2040
|
-
"src": "
|
2040
|
+
"src": "2700:23:31",
|
2041
2041
|
"stateVariable": false,
|
2042
2042
|
"storageLocation": "default",
|
2043
2043
|
"typeDescriptions": {
|
@@ -2048,7 +2048,7 @@
|
|
2048
2048
|
"id": 22874,
|
2049
2049
|
"name": "uint256",
|
2050
2050
|
"nodeType": "ElementaryTypeName",
|
2051
|
-
"src": "
|
2051
|
+
"src": "2700:7:31",
|
2052
2052
|
"typeDescriptions": {
|
2053
2053
|
"typeIdentifier": "t_uint256",
|
2054
2054
|
"typeString": "uint256"
|
@@ -2057,7 +2057,7 @@
|
|
2057
2057
|
"visibility": "internal"
|
2058
2058
|
}
|
2059
2059
|
],
|
2060
|
-
"src": "
|
2060
|
+
"src": "2646:81:31"
|
2061
2061
|
},
|
2062
2062
|
"returnParameters": {
|
2063
2063
|
"id": 22880,
|
@@ -2068,10 +2068,10 @@
|
|
2068
2068
|
"id": 22879,
|
2069
2069
|
"mutability": "mutable",
|
2070
2070
|
"name": "array",
|
2071
|
-
"nameLocation": "
|
2071
|
+
"nameLocation": "2768:5:31",
|
2072
2072
|
"nodeType": "VariableDeclaration",
|
2073
2073
|
"scope": 22905,
|
2074
|
-
"src": "
|
2074
|
+
"src": "2751:22:31",
|
2075
2075
|
"stateVariable": false,
|
2076
2076
|
"storageLocation": "memory",
|
2077
2077
|
"typeDescriptions": {
|
@@ -2083,7 +2083,7 @@
|
|
2083
2083
|
"id": 22877,
|
2084
2084
|
"name": "bytes32",
|
2085
2085
|
"nodeType": "ElementaryTypeName",
|
2086
|
-
"src": "
|
2086
|
+
"src": "2751:7:31",
|
2087
2087
|
"typeDescriptions": {
|
2088
2088
|
"typeIdentifier": "t_bytes32",
|
2089
2089
|
"typeString": "bytes32"
|
@@ -2091,7 +2091,7 @@
|
|
2091
2091
|
},
|
2092
2092
|
"id": 22878,
|
2093
2093
|
"nodeType": "ArrayTypeName",
|
2094
|
-
"src": "
|
2094
|
+
"src": "2751:9:31",
|
2095
2095
|
"typeDescriptions": {
|
2096
2096
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
2097
2097
|
"typeString": "bytes32[]"
|
@@ -2100,7 +2100,7 @@
|
|
2100
2100
|
"visibility": "internal"
|
2101
2101
|
}
|
2102
2102
|
],
|
2103
|
-
"src": "
|
2103
|
+
"src": "2750:24:31"
|
2104
2104
|
},
|
2105
2105
|
"scope": 22906,
|
2106
2106
|
"stateMutability": "pure",
|
@@ -2116,15 +2116,15 @@
|
|
2116
2116
|
"documentation": {
|
2117
2117
|
"id": 22840,
|
2118
2118
|
"nodeType": "StructuredDocumentation",
|
2119
|
-
"src": "108:
|
2120
|
-
"text": "
|
2119
|
+
"src": "108:211:31",
|
2120
|
+
"text": " @title TightCoder\n @dev Provides low-level generic implementations of tight encoding and decoding for arrays.\n This is consistent with Solidity's internal tight encoding for array data in storage."
|
2121
2121
|
},
|
2122
2122
|
"fullyImplemented": true,
|
2123
2123
|
"linearizedBaseContracts": [
|
2124
2124
|
22906
|
2125
2125
|
],
|
2126
2126
|
"name": "TightCoder",
|
2127
|
-
"nameLocation": "
|
2127
|
+
"nameLocation": "328:10:31",
|
2128
2128
|
"scope": 22907,
|
2129
2129
|
"usedErrors": [],
|
2130
2130
|
"usedEvents": []
|