@latticexyz/world 1.40.0 → 1.41.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/LICENSE +21 -0
- package/abi/AddressArraySchemaLib.json +718 -869
- package/abi/BoolSchemaLib.json +401 -401
- package/abi/Bytes.json +1162 -1162
- package/abi/CommonBase.json +125 -125
- package/abi/DSTest.json +2630 -2630
- package/abi/DecodeSlice.json +3883 -3883
- package/abi/EncodeArray.json +3336 -3336
- package/abi/Hooks.json +1491 -785
- package/abi/IMulticall3.json +283 -283
- package/abi/IStore.json +623 -421
- package/abi/IStoreHook.json +567 -421
- package/abi/ISystemHook.json +19 -19
- package/abi/Memory.json +131 -131
- package/abi/PackedCounterLib.json +683 -683
- package/abi/RouteAccess.json +2209 -1159
- package/abi/RouteOwnerSchemaLib.json +349 -349
- package/abi/RouteOwnerTable.json +297 -297
- package/abi/RouteSchemaLib.json +433 -433
- package/abi/RouteTable.json +336 -336
- package/abi/SchemaLib.json +1211 -1211
- package/abi/ScriptBase.json +125 -125
- package/abi/SliceInstance.json +429 -429
- package/abi/SliceLib.json +429 -429
- package/abi/StdAssertions.json +2135 -2135
- package/abi/StdChains.json +1051 -1051
- package/abi/StdCheats.json +3257 -3257
- package/abi/StdCheatsSafe.json +3257 -3257
- package/abi/StdInvariant.json +337 -337
- package/abi/StdUtils.json +1122 -1122
- package/abi/Storage.json +491 -491
- package/abi/Store.json +374 -209
- package/abi/StoreCore.json +10665 -7865
- package/abi/StoreCoreExtended.json +10443 -7722
- package/abi/StoreCoreInternal.json +10482 -7638
- package/abi/StoreMetadata.json +3719 -2417
- package/abi/StoreSwitch.json +1692 -783
- package/abi/System.json +16 -16
- package/abi/SystemRouteSchemaLib.json +402 -402
- package/abi/SystemRouteTable.json +336 -336
- package/abi/SystemTable.json +8544 -651
- package/abi/SystemTest.json +287 -303
- package/abi/Test.json +124 -124
- package/abi/TestBase.json +125 -125
- package/abi/TestSystem.json +287 -303
- package/abi/TightCoder.json +272 -272
- package/abi/Utils.json +67 -67
- package/abi/Vm.json +1850 -1850
- package/abi/VmSafe.json +1850 -1850
- package/abi/World.json +5183 -3374
- package/abi/WorldTest.json +9983 -10520
- package/abi/WorldTestSystem.json +9992 -10503
- package/abi/WorldTestTableHook.json +9978 -10511
- package/abi/console.json +11417 -11417
- package/abi/console2.json +11459 -11459
- package/abi/stdError.json +79 -79
- package/abi/stdJson.json +1016 -1016
- package/abi/stdMath.json +218 -218
- package/abi/stdStorage.json +2400 -2400
- package/abi/stdStorageSafe.json +2400 -2400
- package/package.json +8 -8
- package/src/World.sol +78 -32
- package/src/schemas/AddressArray.sol +5 -19
- package/src/tables/RouteAccess.sol +35 -30
- package/src/tables/SystemTable.sol +142 -23
- package/types/ethers-contracts/IStore.ts +49 -0
- package/types/ethers-contracts/Store.ts +49 -0
- package/types/ethers-contracts/World.ts +94 -0
- package/types/ethers-contracts/WorldTest.ts +27 -0
- package/types/ethers-contracts/factories/IStore__factory.ts +28 -0
- package/types/ethers-contracts/factories/StoreCore__factory.ts +2 -23
- package/types/ethers-contracts/factories/StoreSwitch__factory.ts +1 -1
- package/types/ethers-contracts/factories/Store__factory.ts +81 -0
- package/types/ethers-contracts/factories/SystemTest__factory.ts +1 -1
- package/types/ethers-contracts/factories/TestSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTestSystem__factory.ts +12 -1
- package/types/ethers-contracts/factories/WorldTestTableHook__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTest__factory.ts +11 -34
- package/types/ethers-contracts/factories/World__factory.ts +70 -30
- package/types/ethers-contracts/index.ts +0 -2
- package/abi/SystemSchemaLib.json +0 -3704
- package/src/schemas/SystemSchema.sol +0 -78
- package/types/ethers-contracts/StoreCoreExtended.ts +0 -141
- package/types/ethers-contracts/factories/StoreCoreExtended__factory.ts +0 -123
package/abi/CommonBase.json
CHANGED
|
@@ -88,32 +88,32 @@
|
|
|
88
88
|
},
|
|
89
89
|
"ast": {
|
|
90
90
|
"absolutePath": "../../node_modules/forge-std/src/Base.sol",
|
|
91
|
-
"id":
|
|
91
|
+
"id": 63419,
|
|
92
92
|
"exportedSymbols": {
|
|
93
93
|
"CommonBase": [
|
|
94
|
-
|
|
94
|
+
63403
|
|
95
95
|
],
|
|
96
96
|
"ScriptBase": [
|
|
97
|
-
|
|
97
|
+
63418
|
|
98
98
|
],
|
|
99
99
|
"StdStorage": [
|
|
100
|
-
|
|
100
|
+
68408
|
|
101
101
|
],
|
|
102
102
|
"TestBase": [
|
|
103
|
-
|
|
103
|
+
63406
|
|
104
104
|
],
|
|
105
105
|
"Vm": [
|
|
106
|
-
|
|
106
|
+
71938
|
|
107
107
|
],
|
|
108
108
|
"VmSafe": [
|
|
109
|
-
|
|
109
|
+
71613
|
|
110
110
|
]
|
|
111
111
|
},
|
|
112
112
|
"nodeType": "SourceUnit",
|
|
113
113
|
"src": "32:1585:18",
|
|
114
114
|
"nodes": [
|
|
115
115
|
{
|
|
116
|
-
"id":
|
|
116
|
+
"id": 63348,
|
|
117
117
|
"nodeType": "PragmaDirective",
|
|
118
118
|
"src": "32:31:18",
|
|
119
119
|
"nodes": [],
|
|
@@ -128,23 +128,23 @@
|
|
|
128
128
|
]
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
|
-
"id":
|
|
131
|
+
"id": 63350,
|
|
132
132
|
"nodeType": "ImportDirective",
|
|
133
133
|
"src": "65:44:18",
|
|
134
134
|
"nodes": [],
|
|
135
135
|
"absolutePath": "../../node_modules/forge-std/src/StdStorage.sol",
|
|
136
136
|
"file": "./StdStorage.sol",
|
|
137
137
|
"nameLocation": "-1:-1:-1",
|
|
138
|
-
"scope":
|
|
139
|
-
"sourceUnit":
|
|
138
|
+
"scope": 63419,
|
|
139
|
+
"sourceUnit": 69842,
|
|
140
140
|
"symbolAliases": [
|
|
141
141
|
{
|
|
142
142
|
"foreign": {
|
|
143
|
-
"id":
|
|
143
|
+
"id": 63349,
|
|
144
144
|
"name": "StdStorage",
|
|
145
145
|
"nodeType": "Identifier",
|
|
146
146
|
"overloadedDeclarations": [],
|
|
147
|
-
"referencedDeclaration":
|
|
147
|
+
"referencedDeclaration": 68408,
|
|
148
148
|
"src": "73:10:18",
|
|
149
149
|
"typeDescriptions": {}
|
|
150
150
|
},
|
|
@@ -154,23 +154,23 @@
|
|
|
154
154
|
"unitAlias": ""
|
|
155
155
|
},
|
|
156
156
|
{
|
|
157
|
-
"id":
|
|
157
|
+
"id": 63353,
|
|
158
158
|
"nodeType": "ImportDirective",
|
|
159
159
|
"src": "110:36:18",
|
|
160
160
|
"nodes": [],
|
|
161
161
|
"absolutePath": "../../node_modules/forge-std/src/Vm.sol",
|
|
162
162
|
"file": "./Vm.sol",
|
|
163
163
|
"nameLocation": "-1:-1:-1",
|
|
164
|
-
"scope":
|
|
165
|
-
"sourceUnit":
|
|
164
|
+
"scope": 63419,
|
|
165
|
+
"sourceUnit": 71939,
|
|
166
166
|
"symbolAliases": [
|
|
167
167
|
{
|
|
168
168
|
"foreign": {
|
|
169
|
-
"id":
|
|
169
|
+
"id": 63351,
|
|
170
170
|
"name": "Vm",
|
|
171
171
|
"nodeType": "Identifier",
|
|
172
172
|
"overloadedDeclarations": [],
|
|
173
|
-
"referencedDeclaration":
|
|
173
|
+
"referencedDeclaration": 71938,
|
|
174
174
|
"src": "118:2:18",
|
|
175
175
|
"typeDescriptions": {}
|
|
176
176
|
},
|
|
@@ -178,11 +178,11 @@
|
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
"foreign": {
|
|
181
|
-
"id":
|
|
181
|
+
"id": 63352,
|
|
182
182
|
"name": "VmSafe",
|
|
183
183
|
"nodeType": "Identifier",
|
|
184
184
|
"overloadedDeclarations": [],
|
|
185
|
-
"referencedDeclaration":
|
|
185
|
+
"referencedDeclaration": 71613,
|
|
186
186
|
"src": "122:6:18",
|
|
187
187
|
"typeDescriptions": {}
|
|
188
188
|
},
|
|
@@ -192,12 +192,12 @@
|
|
|
192
192
|
"unitAlias": ""
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
|
-
"id":
|
|
195
|
+
"id": 63403,
|
|
196
196
|
"nodeType": "ContractDefinition",
|
|
197
197
|
"src": "148:1123:18",
|
|
198
198
|
"nodes": [
|
|
199
199
|
{
|
|
200
|
-
"id":
|
|
200
|
+
"id": 63367,
|
|
201
201
|
"nodeType": "VariableDeclaration",
|
|
202
202
|
"src": "254:94:18",
|
|
203
203
|
"nodes": [],
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
"mutability": "constant",
|
|
206
206
|
"name": "VM_ADDRESS",
|
|
207
207
|
"nameLocation": "280:10:18",
|
|
208
|
-
"scope":
|
|
208
|
+
"scope": 63403,
|
|
209
209
|
"stateVariable": true,
|
|
210
210
|
"storageLocation": "default",
|
|
211
211
|
"typeDescriptions": {
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
"typeString": "address"
|
|
214
214
|
},
|
|
215
215
|
"typeName": {
|
|
216
|
-
"id":
|
|
216
|
+
"id": 63354,
|
|
217
217
|
"name": "address",
|
|
218
218
|
"nodeType": "ElementaryTypeName",
|
|
219
219
|
"src": "254:7:18",
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
"arguments": [
|
|
234
234
|
{
|
|
235
235
|
"hexValue": "6865766d20636865617420636f6465",
|
|
236
|
-
"id":
|
|
236
|
+
"id": 63362,
|
|
237
237
|
"isConstant": false,
|
|
238
238
|
"isLValue": false,
|
|
239
239
|
"isPure": true,
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
"typeString": "literal_string \"hevm cheat code\""
|
|
256
256
|
}
|
|
257
257
|
],
|
|
258
|
-
"id":
|
|
258
|
+
"id": 63361,
|
|
259
259
|
"name": "keccak256",
|
|
260
260
|
"nodeType": "Identifier",
|
|
261
261
|
"overloadedDeclarations": [],
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
"typeString": "function (bytes memory) pure returns (bytes32)"
|
|
267
267
|
}
|
|
268
268
|
},
|
|
269
|
-
"id":
|
|
269
|
+
"id": 63363,
|
|
270
270
|
"isConstant": false,
|
|
271
271
|
"isLValue": false,
|
|
272
272
|
"isPure": true,
|
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
"typeString": "bytes32"
|
|
290
290
|
}
|
|
291
291
|
],
|
|
292
|
-
"id":
|
|
292
|
+
"id": 63360,
|
|
293
293
|
"isConstant": false,
|
|
294
294
|
"isLValue": false,
|
|
295
295
|
"isPure": true,
|
|
@@ -301,14 +301,14 @@
|
|
|
301
301
|
"typeString": "type(uint256)"
|
|
302
302
|
},
|
|
303
303
|
"typeName": {
|
|
304
|
-
"id":
|
|
304
|
+
"id": 63359,
|
|
305
305
|
"name": "uint256",
|
|
306
306
|
"nodeType": "ElementaryTypeName",
|
|
307
307
|
"src": "309:7:18",
|
|
308
308
|
"typeDescriptions": {}
|
|
309
309
|
}
|
|
310
310
|
},
|
|
311
|
-
"id":
|
|
311
|
+
"id": 63364,
|
|
312
312
|
"isConstant": false,
|
|
313
313
|
"isLValue": false,
|
|
314
314
|
"isPure": true,
|
|
@@ -331,7 +331,7 @@
|
|
|
331
331
|
"typeString": "uint256"
|
|
332
332
|
}
|
|
333
333
|
],
|
|
334
|
-
"id":
|
|
334
|
+
"id": 63358,
|
|
335
335
|
"isConstant": false,
|
|
336
336
|
"isLValue": false,
|
|
337
337
|
"isPure": true,
|
|
@@ -343,14 +343,14 @@
|
|
|
343
343
|
"typeString": "type(uint160)"
|
|
344
344
|
},
|
|
345
345
|
"typeName": {
|
|
346
|
-
"id":
|
|
346
|
+
"id": 63357,
|
|
347
347
|
"name": "uint160",
|
|
348
348
|
"nodeType": "ElementaryTypeName",
|
|
349
349
|
"src": "301:7:18",
|
|
350
350
|
"typeDescriptions": {}
|
|
351
351
|
}
|
|
352
352
|
},
|
|
353
|
-
"id":
|
|
353
|
+
"id": 63365,
|
|
354
354
|
"isConstant": false,
|
|
355
355
|
"isLValue": false,
|
|
356
356
|
"isPure": true,
|
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
"typeString": "uint160"
|
|
374
374
|
}
|
|
375
375
|
],
|
|
376
|
-
"id":
|
|
376
|
+
"id": 63356,
|
|
377
377
|
"isConstant": false,
|
|
378
378
|
"isLValue": false,
|
|
379
379
|
"isPure": true,
|
|
@@ -385,14 +385,14 @@
|
|
|
385
385
|
"typeString": "type(address)"
|
|
386
386
|
},
|
|
387
387
|
"typeName": {
|
|
388
|
-
"id":
|
|
388
|
+
"id": 63355,
|
|
389
389
|
"name": "address",
|
|
390
390
|
"nodeType": "ElementaryTypeName",
|
|
391
391
|
"src": "293:7:18",
|
|
392
392
|
"typeDescriptions": {}
|
|
393
393
|
}
|
|
394
394
|
},
|
|
395
|
-
"id":
|
|
395
|
+
"id": 63366,
|
|
396
396
|
"isConstant": false,
|
|
397
397
|
"isLValue": false,
|
|
398
398
|
"isPure": true,
|
|
@@ -410,7 +410,7 @@
|
|
|
410
410
|
"visibility": "internal"
|
|
411
411
|
},
|
|
412
412
|
{
|
|
413
|
-
"id":
|
|
413
|
+
"id": 63370,
|
|
414
414
|
"nodeType": "VariableDeclaration",
|
|
415
415
|
"src": "438:78:18",
|
|
416
416
|
"nodes": [],
|
|
@@ -418,7 +418,7 @@
|
|
|
418
418
|
"mutability": "constant",
|
|
419
419
|
"name": "CONSOLE",
|
|
420
420
|
"nameLocation": "464:7:18",
|
|
421
|
-
"scope":
|
|
421
|
+
"scope": 63403,
|
|
422
422
|
"stateVariable": true,
|
|
423
423
|
"storageLocation": "default",
|
|
424
424
|
"typeDescriptions": {
|
|
@@ -426,7 +426,7 @@
|
|
|
426
426
|
"typeString": "address"
|
|
427
427
|
},
|
|
428
428
|
"typeName": {
|
|
429
|
-
"id":
|
|
429
|
+
"id": 63368,
|
|
430
430
|
"name": "address",
|
|
431
431
|
"nodeType": "ElementaryTypeName",
|
|
432
432
|
"src": "438:7:18",
|
|
@@ -438,7 +438,7 @@
|
|
|
438
438
|
},
|
|
439
439
|
"value": {
|
|
440
440
|
"hexValue": "307830303030303030303030303030303030303036333646366537333646366336353265366336663637",
|
|
441
|
-
"id":
|
|
441
|
+
"id": 63369,
|
|
442
442
|
"isConstant": false,
|
|
443
443
|
"isLValue": false,
|
|
444
444
|
"isPure": true,
|
|
@@ -455,7 +455,7 @@
|
|
|
455
455
|
"visibility": "internal"
|
|
456
456
|
},
|
|
457
457
|
{
|
|
458
|
-
"id":
|
|
458
|
+
"id": 63384,
|
|
459
459
|
"nodeType": "VariableDeclaration",
|
|
460
460
|
"src": "619:105:18",
|
|
461
461
|
"nodes": [],
|
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
"mutability": "constant",
|
|
464
464
|
"name": "DEFAULT_SENDER",
|
|
465
465
|
"nameLocation": "645:14:18",
|
|
466
|
-
"scope":
|
|
466
|
+
"scope": 63403,
|
|
467
467
|
"stateVariable": true,
|
|
468
468
|
"storageLocation": "default",
|
|
469
469
|
"typeDescriptions": {
|
|
@@ -471,7 +471,7 @@
|
|
|
471
471
|
"typeString": "address"
|
|
472
472
|
},
|
|
473
473
|
"typeName": {
|
|
474
|
-
"id":
|
|
474
|
+
"id": 63371,
|
|
475
475
|
"name": "address",
|
|
476
476
|
"nodeType": "ElementaryTypeName",
|
|
477
477
|
"src": "619:7:18",
|
|
@@ -491,7 +491,7 @@
|
|
|
491
491
|
"arguments": [
|
|
492
492
|
{
|
|
493
493
|
"hexValue": "666f756e6472792064656661756c742063616c6c6572",
|
|
494
|
-
"id":
|
|
494
|
+
"id": 63379,
|
|
495
495
|
"isConstant": false,
|
|
496
496
|
"isLValue": false,
|
|
497
497
|
"isPure": true,
|
|
@@ -513,7 +513,7 @@
|
|
|
513
513
|
"typeString": "literal_string \"foundry default caller\""
|
|
514
514
|
}
|
|
515
515
|
],
|
|
516
|
-
"id":
|
|
516
|
+
"id": 63378,
|
|
517
517
|
"name": "keccak256",
|
|
518
518
|
"nodeType": "Identifier",
|
|
519
519
|
"overloadedDeclarations": [],
|
|
@@ -524,7 +524,7 @@
|
|
|
524
524
|
"typeString": "function (bytes memory) pure returns (bytes32)"
|
|
525
525
|
}
|
|
526
526
|
},
|
|
527
|
-
"id":
|
|
527
|
+
"id": 63380,
|
|
528
528
|
"isConstant": false,
|
|
529
529
|
"isLValue": false,
|
|
530
530
|
"isPure": true,
|
|
@@ -547,7 +547,7 @@
|
|
|
547
547
|
"typeString": "bytes32"
|
|
548
548
|
}
|
|
549
549
|
],
|
|
550
|
-
"id":
|
|
550
|
+
"id": 63377,
|
|
551
551
|
"isConstant": false,
|
|
552
552
|
"isLValue": false,
|
|
553
553
|
"isPure": true,
|
|
@@ -559,14 +559,14 @@
|
|
|
559
559
|
"typeString": "type(uint256)"
|
|
560
560
|
},
|
|
561
561
|
"typeName": {
|
|
562
|
-
"id":
|
|
562
|
+
"id": 63376,
|
|
563
563
|
"name": "uint256",
|
|
564
564
|
"nodeType": "ElementaryTypeName",
|
|
565
565
|
"src": "678:7:18",
|
|
566
566
|
"typeDescriptions": {}
|
|
567
567
|
}
|
|
568
568
|
},
|
|
569
|
-
"id":
|
|
569
|
+
"id": 63381,
|
|
570
570
|
"isConstant": false,
|
|
571
571
|
"isLValue": false,
|
|
572
572
|
"isPure": true,
|
|
@@ -589,7 +589,7 @@
|
|
|
589
589
|
"typeString": "uint256"
|
|
590
590
|
}
|
|
591
591
|
],
|
|
592
|
-
"id":
|
|
592
|
+
"id": 63375,
|
|
593
593
|
"isConstant": false,
|
|
594
594
|
"isLValue": false,
|
|
595
595
|
"isPure": true,
|
|
@@ -601,14 +601,14 @@
|
|
|
601
601
|
"typeString": "type(uint160)"
|
|
602
602
|
},
|
|
603
603
|
"typeName": {
|
|
604
|
-
"id":
|
|
604
|
+
"id": 63374,
|
|
605
605
|
"name": "uint160",
|
|
606
606
|
"nodeType": "ElementaryTypeName",
|
|
607
607
|
"src": "670:7:18",
|
|
608
608
|
"typeDescriptions": {}
|
|
609
609
|
}
|
|
610
610
|
},
|
|
611
|
-
"id":
|
|
611
|
+
"id": 63382,
|
|
612
612
|
"isConstant": false,
|
|
613
613
|
"isLValue": false,
|
|
614
614
|
"isPure": true,
|
|
@@ -631,7 +631,7 @@
|
|
|
631
631
|
"typeString": "uint160"
|
|
632
632
|
}
|
|
633
633
|
],
|
|
634
|
-
"id":
|
|
634
|
+
"id": 63373,
|
|
635
635
|
"isConstant": false,
|
|
636
636
|
"isLValue": false,
|
|
637
637
|
"isPure": true,
|
|
@@ -643,14 +643,14 @@
|
|
|
643
643
|
"typeString": "type(address)"
|
|
644
644
|
},
|
|
645
645
|
"typeName": {
|
|
646
|
-
"id":
|
|
646
|
+
"id": 63372,
|
|
647
647
|
"name": "address",
|
|
648
648
|
"nodeType": "ElementaryTypeName",
|
|
649
649
|
"src": "662:7:18",
|
|
650
650
|
"typeDescriptions": {}
|
|
651
651
|
}
|
|
652
652
|
},
|
|
653
|
-
"id":
|
|
653
|
+
"id": 63383,
|
|
654
654
|
"isConstant": false,
|
|
655
655
|
"isLValue": false,
|
|
656
656
|
"isPure": true,
|
|
@@ -668,7 +668,7 @@
|
|
|
668
668
|
"visibility": "internal"
|
|
669
669
|
},
|
|
670
670
|
{
|
|
671
|
-
"id":
|
|
671
|
+
"id": 63387,
|
|
672
672
|
"nodeType": "VariableDeclaration",
|
|
673
673
|
"src": "799:92:18",
|
|
674
674
|
"nodes": [],
|
|
@@ -676,7 +676,7 @@
|
|
|
676
676
|
"mutability": "constant",
|
|
677
677
|
"name": "DEFAULT_TEST_CONTRACT",
|
|
678
678
|
"nameLocation": "825:21:18",
|
|
679
|
-
"scope":
|
|
679
|
+
"scope": 63403,
|
|
680
680
|
"stateVariable": true,
|
|
681
681
|
"storageLocation": "default",
|
|
682
682
|
"typeDescriptions": {
|
|
@@ -684,7 +684,7 @@
|
|
|
684
684
|
"typeString": "address"
|
|
685
685
|
},
|
|
686
686
|
"typeName": {
|
|
687
|
-
"id":
|
|
687
|
+
"id": 63385,
|
|
688
688
|
"name": "address",
|
|
689
689
|
"nodeType": "ElementaryTypeName",
|
|
690
690
|
"src": "799:7:18",
|
|
@@ -696,7 +696,7 @@
|
|
|
696
696
|
},
|
|
697
697
|
"value": {
|
|
698
698
|
"hexValue": "307835363135644542373938424233453464466130313339644661316233443433334363323362373266",
|
|
699
|
-
"id":
|
|
699
|
+
"id": 63386,
|
|
700
700
|
"isConstant": false,
|
|
701
701
|
"isLValue": false,
|
|
702
702
|
"isPure": true,
|
|
@@ -713,7 +713,7 @@
|
|
|
713
713
|
"visibility": "internal"
|
|
714
714
|
},
|
|
715
715
|
{
|
|
716
|
-
"id":
|
|
716
|
+
"id": 63390,
|
|
717
717
|
"nodeType": "VariableDeclaration",
|
|
718
718
|
"src": "965:89:18",
|
|
719
719
|
"nodes": [],
|
|
@@ -721,7 +721,7 @@
|
|
|
721
721
|
"mutability": "constant",
|
|
722
722
|
"name": "MULTICALL3_ADDRESS",
|
|
723
723
|
"nameLocation": "991:18:18",
|
|
724
|
-
"scope":
|
|
724
|
+
"scope": 63403,
|
|
725
725
|
"stateVariable": true,
|
|
726
726
|
"storageLocation": "default",
|
|
727
727
|
"typeDescriptions": {
|
|
@@ -729,7 +729,7 @@
|
|
|
729
729
|
"typeString": "address"
|
|
730
730
|
},
|
|
731
731
|
"typeName": {
|
|
732
|
-
"id":
|
|
732
|
+
"id": 63388,
|
|
733
733
|
"name": "address",
|
|
734
734
|
"nodeType": "ElementaryTypeName",
|
|
735
735
|
"src": "965:7:18",
|
|
@@ -741,7 +741,7 @@
|
|
|
741
741
|
},
|
|
742
742
|
"value": {
|
|
743
743
|
"hexValue": "307863413131626465303539373762333633313136373032383836326245326131373339373643413131",
|
|
744
|
-
"id":
|
|
744
|
+
"id": 63389,
|
|
745
745
|
"isConstant": false,
|
|
746
746
|
"isLValue": false,
|
|
747
747
|
"isPure": true,
|
|
@@ -758,7 +758,7 @@
|
|
|
758
758
|
"visibility": "internal"
|
|
759
759
|
},
|
|
760
760
|
{
|
|
761
|
-
"id":
|
|
761
|
+
"id": 63393,
|
|
762
762
|
"nodeType": "VariableDeclaration",
|
|
763
763
|
"src": "1061:126:18",
|
|
764
764
|
"nodes": [],
|
|
@@ -766,7 +766,7 @@
|
|
|
766
766
|
"mutability": "constant",
|
|
767
767
|
"name": "UINT256_MAX",
|
|
768
768
|
"nameLocation": "1087:11:18",
|
|
769
|
-
"scope":
|
|
769
|
+
"scope": 63403,
|
|
770
770
|
"stateVariable": true,
|
|
771
771
|
"storageLocation": "default",
|
|
772
772
|
"typeDescriptions": {
|
|
@@ -774,7 +774,7 @@
|
|
|
774
774
|
"typeString": "uint256"
|
|
775
775
|
},
|
|
776
776
|
"typeName": {
|
|
777
|
-
"id":
|
|
777
|
+
"id": 63391,
|
|
778
778
|
"name": "uint256",
|
|
779
779
|
"nodeType": "ElementaryTypeName",
|
|
780
780
|
"src": "1061:7:18",
|
|
@@ -785,7 +785,7 @@
|
|
|
785
785
|
},
|
|
786
786
|
"value": {
|
|
787
787
|
"hexValue": "313135373932303839323337333136313935343233353730393835303038363837393037383533323639393834363635363430353634303339343537353834303037393133313239363339393335",
|
|
788
|
-
"id":
|
|
788
|
+
"id": 63392,
|
|
789
789
|
"isConstant": false,
|
|
790
790
|
"isLValue": false,
|
|
791
791
|
"isPure": true,
|
|
@@ -802,7 +802,7 @@
|
|
|
802
802
|
"visibility": "internal"
|
|
803
803
|
},
|
|
804
804
|
{
|
|
805
|
-
"id":
|
|
805
|
+
"id": 63399,
|
|
806
806
|
"nodeType": "VariableDeclaration",
|
|
807
807
|
"src": "1194:40:18",
|
|
808
808
|
"nodes": [],
|
|
@@ -810,38 +810,38 @@
|
|
|
810
810
|
"mutability": "constant",
|
|
811
811
|
"name": "vm",
|
|
812
812
|
"nameLocation": "1215:2:18",
|
|
813
|
-
"scope":
|
|
813
|
+
"scope": 63403,
|
|
814
814
|
"stateVariable": true,
|
|
815
815
|
"storageLocation": "default",
|
|
816
816
|
"typeDescriptions": {
|
|
817
|
-
"typeIdentifier": "t_contract$_Vm_$
|
|
817
|
+
"typeIdentifier": "t_contract$_Vm_$71938",
|
|
818
818
|
"typeString": "contract Vm"
|
|
819
819
|
},
|
|
820
820
|
"typeName": {
|
|
821
|
-
"id":
|
|
821
|
+
"id": 63395,
|
|
822
822
|
"nodeType": "UserDefinedTypeName",
|
|
823
823
|
"pathNode": {
|
|
824
|
-
"id":
|
|
824
|
+
"id": 63394,
|
|
825
825
|
"name": "Vm",
|
|
826
826
|
"nodeType": "IdentifierPath",
|
|
827
|
-
"referencedDeclaration":
|
|
827
|
+
"referencedDeclaration": 71938,
|
|
828
828
|
"src": "1194:2:18"
|
|
829
829
|
},
|
|
830
|
-
"referencedDeclaration":
|
|
830
|
+
"referencedDeclaration": 71938,
|
|
831
831
|
"src": "1194:2:18",
|
|
832
832
|
"typeDescriptions": {
|
|
833
|
-
"typeIdentifier": "t_contract$_Vm_$
|
|
833
|
+
"typeIdentifier": "t_contract$_Vm_$71938",
|
|
834
834
|
"typeString": "contract Vm"
|
|
835
835
|
}
|
|
836
836
|
},
|
|
837
837
|
"value": {
|
|
838
838
|
"arguments": [
|
|
839
839
|
{
|
|
840
|
-
"id":
|
|
840
|
+
"id": 63397,
|
|
841
841
|
"name": "VM_ADDRESS",
|
|
842
842
|
"nodeType": "Identifier",
|
|
843
843
|
"overloadedDeclarations": [],
|
|
844
|
-
"referencedDeclaration":
|
|
844
|
+
"referencedDeclaration": 63367,
|
|
845
845
|
"src": "1223:10:18",
|
|
846
846
|
"typeDescriptions": {
|
|
847
847
|
"typeIdentifier": "t_address",
|
|
@@ -856,18 +856,18 @@
|
|
|
856
856
|
"typeString": "address"
|
|
857
857
|
}
|
|
858
858
|
],
|
|
859
|
-
"id":
|
|
859
|
+
"id": 63396,
|
|
860
860
|
"name": "Vm",
|
|
861
861
|
"nodeType": "Identifier",
|
|
862
862
|
"overloadedDeclarations": [],
|
|
863
|
-
"referencedDeclaration":
|
|
863
|
+
"referencedDeclaration": 71938,
|
|
864
864
|
"src": "1220:2:18",
|
|
865
865
|
"typeDescriptions": {
|
|
866
|
-
"typeIdentifier": "t_type$_t_contract$_Vm_$
|
|
866
|
+
"typeIdentifier": "t_type$_t_contract$_Vm_$71938_$",
|
|
867
867
|
"typeString": "type(contract Vm)"
|
|
868
868
|
}
|
|
869
869
|
},
|
|
870
|
-
"id":
|
|
870
|
+
"id": 63398,
|
|
871
871
|
"isConstant": false,
|
|
872
872
|
"isLValue": false,
|
|
873
873
|
"isPure": true,
|
|
@@ -878,14 +878,14 @@
|
|
|
878
878
|
"src": "1220:14:18",
|
|
879
879
|
"tryCall": false,
|
|
880
880
|
"typeDescriptions": {
|
|
881
|
-
"typeIdentifier": "t_contract$_Vm_$
|
|
881
|
+
"typeIdentifier": "t_contract$_Vm_$71938",
|
|
882
882
|
"typeString": "contract Vm"
|
|
883
883
|
}
|
|
884
884
|
},
|
|
885
885
|
"visibility": "internal"
|
|
886
886
|
},
|
|
887
887
|
{
|
|
888
|
-
"id":
|
|
888
|
+
"id": 63402,
|
|
889
889
|
"nodeType": "VariableDeclaration",
|
|
890
890
|
"src": "1240:28:18",
|
|
891
891
|
"nodes": [],
|
|
@@ -893,27 +893,27 @@
|
|
|
893
893
|
"mutability": "mutable",
|
|
894
894
|
"name": "stdstore",
|
|
895
895
|
"nameLocation": "1260:8:18",
|
|
896
|
-
"scope":
|
|
896
|
+
"scope": 63403,
|
|
897
897
|
"stateVariable": true,
|
|
898
898
|
"storageLocation": "default",
|
|
899
899
|
"typeDescriptions": {
|
|
900
|
-
"typeIdentifier": "t_struct$_StdStorage_$
|
|
900
|
+
"typeIdentifier": "t_struct$_StdStorage_$68408_storage",
|
|
901
901
|
"typeString": "struct StdStorage"
|
|
902
902
|
},
|
|
903
903
|
"typeName": {
|
|
904
|
-
"id":
|
|
904
|
+
"id": 63401,
|
|
905
905
|
"nodeType": "UserDefinedTypeName",
|
|
906
906
|
"pathNode": {
|
|
907
|
-
"id":
|
|
907
|
+
"id": 63400,
|
|
908
908
|
"name": "StdStorage",
|
|
909
909
|
"nodeType": "IdentifierPath",
|
|
910
|
-
"referencedDeclaration":
|
|
910
|
+
"referencedDeclaration": 68408,
|
|
911
911
|
"src": "1240:10:18"
|
|
912
912
|
},
|
|
913
|
-
"referencedDeclaration":
|
|
913
|
+
"referencedDeclaration": 68408,
|
|
914
914
|
"src": "1240:10:18",
|
|
915
915
|
"typeDescriptions": {
|
|
916
|
-
"typeIdentifier": "t_struct$_StdStorage_$
|
|
916
|
+
"typeIdentifier": "t_struct$_StdStorage_$68408_storage_ptr",
|
|
917
917
|
"typeString": "struct StdStorage"
|
|
918
918
|
}
|
|
919
919
|
},
|
|
@@ -927,15 +927,15 @@
|
|
|
927
927
|
"contractKind": "contract",
|
|
928
928
|
"fullyImplemented": true,
|
|
929
929
|
"linearizedBaseContracts": [
|
|
930
|
-
|
|
930
|
+
63403
|
|
931
931
|
],
|
|
932
932
|
"name": "CommonBase",
|
|
933
933
|
"nameLocation": "166:10:18",
|
|
934
|
-
"scope":
|
|
934
|
+
"scope": 63419,
|
|
935
935
|
"usedErrors": []
|
|
936
936
|
},
|
|
937
937
|
{
|
|
938
|
-
"id":
|
|
938
|
+
"id": 63406,
|
|
939
939
|
"nodeType": "ContractDefinition",
|
|
940
940
|
"src": "1273:43:18",
|
|
941
941
|
"nodes": [],
|
|
@@ -943,13 +943,13 @@
|
|
|
943
943
|
"baseContracts": [
|
|
944
944
|
{
|
|
945
945
|
"baseName": {
|
|
946
|
-
"id":
|
|
946
|
+
"id": 63404,
|
|
947
947
|
"name": "CommonBase",
|
|
948
948
|
"nodeType": "IdentifierPath",
|
|
949
|
-
"referencedDeclaration":
|
|
949
|
+
"referencedDeclaration": 63403,
|
|
950
950
|
"src": "1303:10:18"
|
|
951
951
|
},
|
|
952
|
-
"id":
|
|
952
|
+
"id": 63405,
|
|
953
953
|
"nodeType": "InheritanceSpecifier",
|
|
954
954
|
"src": "1303:10:18"
|
|
955
955
|
}
|
|
@@ -959,21 +959,21 @@
|
|
|
959
959
|
"contractKind": "contract",
|
|
960
960
|
"fullyImplemented": true,
|
|
961
961
|
"linearizedBaseContracts": [
|
|
962
|
-
|
|
963
|
-
|
|
962
|
+
63406,
|
|
963
|
+
63403
|
|
964
964
|
],
|
|
965
965
|
"name": "TestBase",
|
|
966
966
|
"nameLocation": "1291:8:18",
|
|
967
|
-
"scope":
|
|
967
|
+
"scope": 63419,
|
|
968
968
|
"usedErrors": []
|
|
969
969
|
},
|
|
970
970
|
{
|
|
971
|
-
"id":
|
|
971
|
+
"id": 63418,
|
|
972
972
|
"nodeType": "ContractDefinition",
|
|
973
973
|
"src": "1318:298:18",
|
|
974
974
|
"nodes": [
|
|
975
975
|
{
|
|
976
|
-
"id":
|
|
976
|
+
"id": 63411,
|
|
977
977
|
"nodeType": "VariableDeclaration",
|
|
978
978
|
"src": "1468:86:18",
|
|
979
979
|
"nodes": [],
|
|
@@ -981,7 +981,7 @@
|
|
|
981
981
|
"mutability": "constant",
|
|
982
982
|
"name": "CREATE2_FACTORY",
|
|
983
983
|
"nameLocation": "1494:15:18",
|
|
984
|
-
"scope":
|
|
984
|
+
"scope": 63418,
|
|
985
985
|
"stateVariable": true,
|
|
986
986
|
"storageLocation": "default",
|
|
987
987
|
"typeDescriptions": {
|
|
@@ -989,7 +989,7 @@
|
|
|
989
989
|
"typeString": "address"
|
|
990
990
|
},
|
|
991
991
|
"typeName": {
|
|
992
|
-
"id":
|
|
992
|
+
"id": 63409,
|
|
993
993
|
"name": "address",
|
|
994
994
|
"nodeType": "ElementaryTypeName",
|
|
995
995
|
"src": "1468:7:18",
|
|
@@ -1001,7 +1001,7 @@
|
|
|
1001
1001
|
},
|
|
1002
1002
|
"value": {
|
|
1003
1003
|
"hexValue": "307834653539623434383437623337393537383538383932306341373846624632366330423439353643",
|
|
1004
|
-
"id":
|
|
1004
|
+
"id": 63410,
|
|
1005
1005
|
"isConstant": false,
|
|
1006
1006
|
"isLValue": false,
|
|
1007
1007
|
"isPure": true,
|
|
@@ -1018,7 +1018,7 @@
|
|
|
1018
1018
|
"visibility": "internal"
|
|
1019
1019
|
},
|
|
1020
1020
|
{
|
|
1021
|
-
"id":
|
|
1021
|
+
"id": 63417,
|
|
1022
1022
|
"nodeType": "VariableDeclaration",
|
|
1023
1023
|
"src": "1561:52:18",
|
|
1024
1024
|
"nodes": [],
|
|
@@ -1026,38 +1026,38 @@
|
|
|
1026
1026
|
"mutability": "constant",
|
|
1027
1027
|
"name": "vmSafe",
|
|
1028
1028
|
"nameLocation": "1586:6:18",
|
|
1029
|
-
"scope":
|
|
1029
|
+
"scope": 63418,
|
|
1030
1030
|
"stateVariable": true,
|
|
1031
1031
|
"storageLocation": "default",
|
|
1032
1032
|
"typeDescriptions": {
|
|
1033
|
-
"typeIdentifier": "t_contract$_VmSafe_$
|
|
1033
|
+
"typeIdentifier": "t_contract$_VmSafe_$71613",
|
|
1034
1034
|
"typeString": "contract VmSafe"
|
|
1035
1035
|
},
|
|
1036
1036
|
"typeName": {
|
|
1037
|
-
"id":
|
|
1037
|
+
"id": 63413,
|
|
1038
1038
|
"nodeType": "UserDefinedTypeName",
|
|
1039
1039
|
"pathNode": {
|
|
1040
|
-
"id":
|
|
1040
|
+
"id": 63412,
|
|
1041
1041
|
"name": "VmSafe",
|
|
1042
1042
|
"nodeType": "IdentifierPath",
|
|
1043
|
-
"referencedDeclaration":
|
|
1043
|
+
"referencedDeclaration": 71613,
|
|
1044
1044
|
"src": "1561:6:18"
|
|
1045
1045
|
},
|
|
1046
|
-
"referencedDeclaration":
|
|
1046
|
+
"referencedDeclaration": 71613,
|
|
1047
1047
|
"src": "1561:6:18",
|
|
1048
1048
|
"typeDescriptions": {
|
|
1049
|
-
"typeIdentifier": "t_contract$_VmSafe_$
|
|
1049
|
+
"typeIdentifier": "t_contract$_VmSafe_$71613",
|
|
1050
1050
|
"typeString": "contract VmSafe"
|
|
1051
1051
|
}
|
|
1052
1052
|
},
|
|
1053
1053
|
"value": {
|
|
1054
1054
|
"arguments": [
|
|
1055
1055
|
{
|
|
1056
|
-
"id":
|
|
1056
|
+
"id": 63415,
|
|
1057
1057
|
"name": "VM_ADDRESS",
|
|
1058
1058
|
"nodeType": "Identifier",
|
|
1059
1059
|
"overloadedDeclarations": [],
|
|
1060
|
-
"referencedDeclaration":
|
|
1060
|
+
"referencedDeclaration": 63367,
|
|
1061
1061
|
"src": "1602:10:18",
|
|
1062
1062
|
"typeDescriptions": {
|
|
1063
1063
|
"typeIdentifier": "t_address",
|
|
@@ -1072,18 +1072,18 @@
|
|
|
1072
1072
|
"typeString": "address"
|
|
1073
1073
|
}
|
|
1074
1074
|
],
|
|
1075
|
-
"id":
|
|
1075
|
+
"id": 63414,
|
|
1076
1076
|
"name": "VmSafe",
|
|
1077
1077
|
"nodeType": "Identifier",
|
|
1078
1078
|
"overloadedDeclarations": [],
|
|
1079
|
-
"referencedDeclaration":
|
|
1079
|
+
"referencedDeclaration": 71613,
|
|
1080
1080
|
"src": "1595:6:18",
|
|
1081
1081
|
"typeDescriptions": {
|
|
1082
|
-
"typeIdentifier": "t_type$_t_contract$_VmSafe_$
|
|
1082
|
+
"typeIdentifier": "t_type$_t_contract$_VmSafe_$71613_$",
|
|
1083
1083
|
"typeString": "type(contract VmSafe)"
|
|
1084
1084
|
}
|
|
1085
1085
|
},
|
|
1086
|
-
"id":
|
|
1086
|
+
"id": 63416,
|
|
1087
1087
|
"isConstant": false,
|
|
1088
1088
|
"isLValue": false,
|
|
1089
1089
|
"isPure": true,
|
|
@@ -1094,7 +1094,7 @@
|
|
|
1094
1094
|
"src": "1595:18:18",
|
|
1095
1095
|
"tryCall": false,
|
|
1096
1096
|
"typeDescriptions": {
|
|
1097
|
-
"typeIdentifier": "t_contract$_VmSafe_$
|
|
1097
|
+
"typeIdentifier": "t_contract$_VmSafe_$71613",
|
|
1098
1098
|
"typeString": "contract VmSafe"
|
|
1099
1099
|
}
|
|
1100
1100
|
},
|
|
@@ -1105,13 +1105,13 @@
|
|
|
1105
1105
|
"baseContracts": [
|
|
1106
1106
|
{
|
|
1107
1107
|
"baseName": {
|
|
1108
|
-
"id":
|
|
1108
|
+
"id": 63407,
|
|
1109
1109
|
"name": "CommonBase",
|
|
1110
1110
|
"nodeType": "IdentifierPath",
|
|
1111
|
-
"referencedDeclaration":
|
|
1111
|
+
"referencedDeclaration": 63403,
|
|
1112
1112
|
"src": "1350:10:18"
|
|
1113
1113
|
},
|
|
1114
|
-
"id":
|
|
1114
|
+
"id": 63408,
|
|
1115
1115
|
"nodeType": "InheritanceSpecifier",
|
|
1116
1116
|
"src": "1350:10:18"
|
|
1117
1117
|
}
|
|
@@ -1121,12 +1121,12 @@
|
|
|
1121
1121
|
"contractKind": "contract",
|
|
1122
1122
|
"fullyImplemented": true,
|
|
1123
1123
|
"linearizedBaseContracts": [
|
|
1124
|
-
|
|
1125
|
-
|
|
1124
|
+
63418,
|
|
1125
|
+
63403
|
|
1126
1126
|
],
|
|
1127
1127
|
"name": "ScriptBase",
|
|
1128
1128
|
"nameLocation": "1336:10:18",
|
|
1129
|
-
"scope":
|
|
1129
|
+
"scope": 63419,
|
|
1130
1130
|
"usedErrors": []
|
|
1131
1131
|
}
|
|
1132
1132
|
],
|