@latticexyz/world-modules 2.0.0-main-2b8c0bcc → 2.0.0-main-9448c3f1
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/ERC20.t.sol/ERC20Test.json +1 -1
- package/out/ERC721.t.sol/ERC721Recipient.json +1 -1
- package/out/ERC721.t.sol/ERC721Test.json +1 -1
- package/out/ERC721.t.sol/ERC721TokenReceiver.json +1 -1
- package/out/ERC721.t.sol/NonERC721Recipient.json +1 -1
- package/out/ERC721.t.sol/RevertingERC721Recipient.json +1 -1
- package/out/ERC721.t.sol/WrongReturnDataERC721Recipient.json +1 -1
- package/out/KeysInTableModule.t.sol/KeysInTableModuleTest.json +1 -1
- package/out/KeysWithValueModule.t.sol/KeysWithValueModuleTest.json +1 -1
- package/out/PuppetModule.t.sol/PuppetModuleTest.json +1 -1
- package/out/PuppetModule.t.sol/PuppetTestSystem.json +1 -1
- package/out/StandardDelegationsModule.t.sol/StandardDelegationsModuleTest.json +1 -1
- package/out/SystemSwitch.sol/SystemSwitch.json +1 -1
- package/out/SystemSwitch.t.sol/EchoSystem.abi.json +98 -1
- package/out/SystemSwitch.t.sol/EchoSystem.abi.json.d.ts +98 -1
- package/out/SystemSwitch.t.sol/EchoSystem.json +1 -1
- package/out/SystemSwitch.t.sol/SystemSwitchTest.abi.json +59 -15
- package/out/SystemSwitch.t.sol/SystemSwitchTest.abi.json.d.ts +59 -15
- package/out/SystemSwitch.t.sol/SystemSwitchTest.json +1 -1
- package/out/UniqueEntityModule.t.sol/UniqueEntityModuleTest.json +1 -1
- package/out/UniqueEntityModule.t.sol/UniqueEntityTestSystem.abi.json +68 -0
- package/out/UniqueEntityModule.t.sol/UniqueEntityTestSystem.abi.json.d.ts +68 -0
- package/out/UniqueEntityModule.t.sol/UniqueEntityTestSystem.json +1 -1
- package/out/getUniqueEntity.sol/getUniqueEntity.json +1 -1
- package/out/query.t.sol/QueryTest.json +1 -1
- package/out/registerERC721.sol/registerERC721.json +1 -1
- package/package.json +8 -8
- package/src/utils/SystemSwitch.sol +6 -9
@@ -246,6 +246,13 @@
|
|
246
246
|
],
|
247
247
|
"stateMutability": "view"
|
248
248
|
},
|
249
|
+
{
|
250
|
+
"type": "function",
|
251
|
+
"name": "testCallNonRootFromNonRootEcho",
|
252
|
+
"inputs": [],
|
253
|
+
"outputs": [],
|
254
|
+
"stateMutability": "nonpayable"
|
255
|
+
},
|
249
256
|
{
|
250
257
|
"type": "function",
|
251
258
|
"name": "testCallNonRootFromNonRootMsgSender",
|
@@ -255,105 +262,126 @@
|
|
255
262
|
},
|
256
263
|
{
|
257
264
|
"type": "function",
|
258
|
-
"name": "
|
265
|
+
"name": "testCallNonRootFromNonRootReadTable",
|
259
266
|
"inputs": [],
|
260
267
|
"outputs": [],
|
261
268
|
"stateMutability": "nonpayable"
|
262
269
|
},
|
263
270
|
{
|
264
271
|
"type": "function",
|
265
|
-
"name": "
|
272
|
+
"name": "testCallNonRootFromNonRootWorld",
|
266
273
|
"inputs": [],
|
267
274
|
"outputs": [],
|
268
275
|
"stateMutability": "nonpayable"
|
269
276
|
},
|
270
277
|
{
|
271
278
|
"type": "function",
|
272
|
-
"name": "
|
279
|
+
"name": "testCallNonRootFromNonRootWorldSelector",
|
273
280
|
"inputs": [],
|
274
281
|
"outputs": [],
|
275
282
|
"stateMutability": "nonpayable"
|
276
283
|
},
|
277
284
|
{
|
278
285
|
"type": "function",
|
279
|
-
"name": "
|
286
|
+
"name": "testCallNonRootFromRootEcho",
|
280
287
|
"inputs": [],
|
281
288
|
"outputs": [],
|
282
289
|
"stateMutability": "nonpayable"
|
283
290
|
},
|
284
291
|
{
|
285
292
|
"type": "function",
|
286
|
-
"name": "
|
293
|
+
"name": "testCallNonRootFromRootMsgSender",
|
287
294
|
"inputs": [],
|
288
295
|
"outputs": [],
|
289
296
|
"stateMutability": "nonpayable"
|
290
297
|
},
|
291
298
|
{
|
292
299
|
"type": "function",
|
293
|
-
"name": "
|
300
|
+
"name": "testCallNonRootFromRootReadTable",
|
294
301
|
"inputs": [],
|
295
302
|
"outputs": [],
|
296
303
|
"stateMutability": "nonpayable"
|
297
304
|
},
|
298
305
|
{
|
299
306
|
"type": "function",
|
300
|
-
"name": "
|
307
|
+
"name": "testCallNonRootFromRootWorld",
|
301
308
|
"inputs": [],
|
302
309
|
"outputs": [],
|
303
310
|
"stateMutability": "nonpayable"
|
304
311
|
},
|
305
312
|
{
|
306
313
|
"type": "function",
|
307
|
-
"name": "
|
314
|
+
"name": "testCallNonRootFromRootWorldSelector",
|
308
315
|
"inputs": [],
|
309
316
|
"outputs": [],
|
310
317
|
"stateMutability": "nonpayable"
|
311
318
|
},
|
312
319
|
{
|
313
320
|
"type": "function",
|
314
|
-
"name": "
|
321
|
+
"name": "testCallRootFromNonRootEcho",
|
315
322
|
"inputs": [],
|
316
323
|
"outputs": [],
|
317
324
|
"stateMutability": "nonpayable"
|
318
325
|
},
|
319
326
|
{
|
320
327
|
"type": "function",
|
321
|
-
"name": "
|
328
|
+
"name": "testCallRootFromNonRootMsgSender",
|
322
329
|
"inputs": [],
|
323
330
|
"outputs": [],
|
324
331
|
"stateMutability": "nonpayable"
|
325
332
|
},
|
326
333
|
{
|
327
334
|
"type": "function",
|
328
|
-
"name": "
|
335
|
+
"name": "testCallRootFromNonRootReadTable",
|
329
336
|
"inputs": [],
|
330
337
|
"outputs": [],
|
331
338
|
"stateMutability": "nonpayable"
|
332
339
|
},
|
333
340
|
{
|
334
341
|
"type": "function",
|
335
|
-
"name": "
|
342
|
+
"name": "testCallRootFromNonRootWorld",
|
336
343
|
"inputs": [],
|
337
344
|
"outputs": [],
|
338
345
|
"stateMutability": "nonpayable"
|
339
346
|
},
|
340
347
|
{
|
341
348
|
"type": "function",
|
342
|
-
"name": "
|
349
|
+
"name": "testCallRootFromNonRootWorldSelector",
|
343
350
|
"inputs": [],
|
344
351
|
"outputs": [],
|
345
352
|
"stateMutability": "nonpayable"
|
346
353
|
},
|
347
354
|
{
|
348
355
|
"type": "function",
|
349
|
-
"name": "
|
356
|
+
"name": "testCallRootFromRootEcho",
|
350
357
|
"inputs": [],
|
351
358
|
"outputs": [],
|
352
359
|
"stateMutability": "nonpayable"
|
353
360
|
},
|
354
361
|
{
|
355
362
|
"type": "function",
|
356
|
-
"name": "
|
363
|
+
"name": "testCallRootFromRootMsgSender",
|
364
|
+
"inputs": [],
|
365
|
+
"outputs": [],
|
366
|
+
"stateMutability": "nonpayable"
|
367
|
+
},
|
368
|
+
{
|
369
|
+
"type": "function",
|
370
|
+
"name": "testCallRootFromRootReadTable",
|
371
|
+
"inputs": [],
|
372
|
+
"outputs": [],
|
373
|
+
"stateMutability": "nonpayable"
|
374
|
+
},
|
375
|
+
{
|
376
|
+
"type": "function",
|
377
|
+
"name": "testCallRootFromRootWorld",
|
378
|
+
"inputs": [],
|
379
|
+
"outputs": [],
|
380
|
+
"stateMutability": "nonpayable"
|
381
|
+
},
|
382
|
+
{
|
383
|
+
"type": "function",
|
384
|
+
"name": "testCallRootFromRootWorldSelector",
|
357
385
|
"inputs": [],
|
358
386
|
"outputs": [],
|
359
387
|
"stateMutability": "nonpayable"
|
@@ -721,5 +749,21 @@
|
|
721
749
|
}
|
722
750
|
],
|
723
751
|
"anonymous": false
|
752
|
+
},
|
753
|
+
{
|
754
|
+
"type": "error",
|
755
|
+
"name": "SchemaLib_InvalidLength",
|
756
|
+
"inputs": [
|
757
|
+
{
|
758
|
+
"name": "length",
|
759
|
+
"type": "uint256",
|
760
|
+
"internalType": "uint256"
|
761
|
+
}
|
762
|
+
]
|
763
|
+
},
|
764
|
+
{
|
765
|
+
"type": "error",
|
766
|
+
"name": "SchemaLib_StaticTypeAfterDynamicType",
|
767
|
+
"inputs": []
|
724
768
|
}
|
725
769
|
]
|
@@ -246,6 +246,13 @@ declare const abi: [
|
|
246
246
|
],
|
247
247
|
"stateMutability": "view"
|
248
248
|
},
|
249
|
+
{
|
250
|
+
"type": "function",
|
251
|
+
"name": "testCallNonRootFromNonRootEcho",
|
252
|
+
"inputs": [],
|
253
|
+
"outputs": [],
|
254
|
+
"stateMutability": "nonpayable"
|
255
|
+
},
|
249
256
|
{
|
250
257
|
"type": "function",
|
251
258
|
"name": "testCallNonRootFromNonRootMsgSender",
|
@@ -255,105 +262,126 @@ declare const abi: [
|
|
255
262
|
},
|
256
263
|
{
|
257
264
|
"type": "function",
|
258
|
-
"name": "
|
265
|
+
"name": "testCallNonRootFromNonRootReadTable",
|
259
266
|
"inputs": [],
|
260
267
|
"outputs": [],
|
261
268
|
"stateMutability": "nonpayable"
|
262
269
|
},
|
263
270
|
{
|
264
271
|
"type": "function",
|
265
|
-
"name": "
|
272
|
+
"name": "testCallNonRootFromNonRootWorld",
|
266
273
|
"inputs": [],
|
267
274
|
"outputs": [],
|
268
275
|
"stateMutability": "nonpayable"
|
269
276
|
},
|
270
277
|
{
|
271
278
|
"type": "function",
|
272
|
-
"name": "
|
279
|
+
"name": "testCallNonRootFromNonRootWorldSelector",
|
273
280
|
"inputs": [],
|
274
281
|
"outputs": [],
|
275
282
|
"stateMutability": "nonpayable"
|
276
283
|
},
|
277
284
|
{
|
278
285
|
"type": "function",
|
279
|
-
"name": "
|
286
|
+
"name": "testCallNonRootFromRootEcho",
|
280
287
|
"inputs": [],
|
281
288
|
"outputs": [],
|
282
289
|
"stateMutability": "nonpayable"
|
283
290
|
},
|
284
291
|
{
|
285
292
|
"type": "function",
|
286
|
-
"name": "
|
293
|
+
"name": "testCallNonRootFromRootMsgSender",
|
287
294
|
"inputs": [],
|
288
295
|
"outputs": [],
|
289
296
|
"stateMutability": "nonpayable"
|
290
297
|
},
|
291
298
|
{
|
292
299
|
"type": "function",
|
293
|
-
"name": "
|
300
|
+
"name": "testCallNonRootFromRootReadTable",
|
294
301
|
"inputs": [],
|
295
302
|
"outputs": [],
|
296
303
|
"stateMutability": "nonpayable"
|
297
304
|
},
|
298
305
|
{
|
299
306
|
"type": "function",
|
300
|
-
"name": "
|
307
|
+
"name": "testCallNonRootFromRootWorld",
|
301
308
|
"inputs": [],
|
302
309
|
"outputs": [],
|
303
310
|
"stateMutability": "nonpayable"
|
304
311
|
},
|
305
312
|
{
|
306
313
|
"type": "function",
|
307
|
-
"name": "
|
314
|
+
"name": "testCallNonRootFromRootWorldSelector",
|
308
315
|
"inputs": [],
|
309
316
|
"outputs": [],
|
310
317
|
"stateMutability": "nonpayable"
|
311
318
|
},
|
312
319
|
{
|
313
320
|
"type": "function",
|
314
|
-
"name": "
|
321
|
+
"name": "testCallRootFromNonRootEcho",
|
315
322
|
"inputs": [],
|
316
323
|
"outputs": [],
|
317
324
|
"stateMutability": "nonpayable"
|
318
325
|
},
|
319
326
|
{
|
320
327
|
"type": "function",
|
321
|
-
"name": "
|
328
|
+
"name": "testCallRootFromNonRootMsgSender",
|
322
329
|
"inputs": [],
|
323
330
|
"outputs": [],
|
324
331
|
"stateMutability": "nonpayable"
|
325
332
|
},
|
326
333
|
{
|
327
334
|
"type": "function",
|
328
|
-
"name": "
|
335
|
+
"name": "testCallRootFromNonRootReadTable",
|
329
336
|
"inputs": [],
|
330
337
|
"outputs": [],
|
331
338
|
"stateMutability": "nonpayable"
|
332
339
|
},
|
333
340
|
{
|
334
341
|
"type": "function",
|
335
|
-
"name": "
|
342
|
+
"name": "testCallRootFromNonRootWorld",
|
336
343
|
"inputs": [],
|
337
344
|
"outputs": [],
|
338
345
|
"stateMutability": "nonpayable"
|
339
346
|
},
|
340
347
|
{
|
341
348
|
"type": "function",
|
342
|
-
"name": "
|
349
|
+
"name": "testCallRootFromNonRootWorldSelector",
|
343
350
|
"inputs": [],
|
344
351
|
"outputs": [],
|
345
352
|
"stateMutability": "nonpayable"
|
346
353
|
},
|
347
354
|
{
|
348
355
|
"type": "function",
|
349
|
-
"name": "
|
356
|
+
"name": "testCallRootFromRootEcho",
|
350
357
|
"inputs": [],
|
351
358
|
"outputs": [],
|
352
359
|
"stateMutability": "nonpayable"
|
353
360
|
},
|
354
361
|
{
|
355
362
|
"type": "function",
|
356
|
-
"name": "
|
363
|
+
"name": "testCallRootFromRootMsgSender",
|
364
|
+
"inputs": [],
|
365
|
+
"outputs": [],
|
366
|
+
"stateMutability": "nonpayable"
|
367
|
+
},
|
368
|
+
{
|
369
|
+
"type": "function",
|
370
|
+
"name": "testCallRootFromRootReadTable",
|
371
|
+
"inputs": [],
|
372
|
+
"outputs": [],
|
373
|
+
"stateMutability": "nonpayable"
|
374
|
+
},
|
375
|
+
{
|
376
|
+
"type": "function",
|
377
|
+
"name": "testCallRootFromRootWorld",
|
378
|
+
"inputs": [],
|
379
|
+
"outputs": [],
|
380
|
+
"stateMutability": "nonpayable"
|
381
|
+
},
|
382
|
+
{
|
383
|
+
"type": "function",
|
384
|
+
"name": "testCallRootFromRootWorldSelector",
|
357
385
|
"inputs": [],
|
358
386
|
"outputs": [],
|
359
387
|
"stateMutability": "nonpayable"
|
@@ -721,5 +749,21 @@ declare const abi: [
|
|
721
749
|
}
|
722
750
|
],
|
723
751
|
"anonymous": false
|
752
|
+
},
|
753
|
+
{
|
754
|
+
"type": "error",
|
755
|
+
"name": "SchemaLib_InvalidLength",
|
756
|
+
"inputs": [
|
757
|
+
{
|
758
|
+
"name": "length",
|
759
|
+
"type": "uint256",
|
760
|
+
"internalType": "uint256"
|
761
|
+
}
|
762
|
+
]
|
763
|
+
},
|
764
|
+
{
|
765
|
+
"type": "error",
|
766
|
+
"name": "SchemaLib_StaticTypeAfterDynamicType",
|
767
|
+
"inputs": []
|
724
768
|
}
|
725
769
|
]; export default abi;
|