@latticexyz/world-modules 2.2.19-900ac35deebfa260bafb1697d15e95eef855cd69 → 2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0
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/AccessManagementSystem.sol/AccessManagementSystem.abi.json +1 -1
- package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json.d.ts +1 -1
- package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json +1 -1
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json.d.ts +1 -1
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
- package/out/BatchCallSystem.sol/BatchCallSystem.abi.json +1 -1
- package/out/BatchCallSystem.sol/BatchCallSystem.abi.json.d.ts +1 -1
- package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.abi.json +1 -1
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.abi.json.d.ts +1 -1
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +1 -1
- package/out/Delegation.sol/Delegation.json +1 -1
- package/out/DelegationControl.sol/DelegationControl.abi.json +1 -1
- package/out/DelegationControl.sol/DelegationControl.abi.json.d.ts +1 -1
- package/out/DelegationControl.sol/DelegationControl.json +1 -1
- package/out/DelegationControlMock.sol/DelegationControlMock.abi.json +1 -1
- package/out/DelegationControlMock.sol/DelegationControlMock.abi.json.d.ts +1 -1
- package/out/DelegationControlMock.sol/DelegationControlMock.json +1 -1
- package/out/ERC20.t.sol/ERC20Test.json +1 -1
- package/out/ERC20Module.sol/ERC20Module.abi.json +3 -3
- package/out/ERC20Module.sol/ERC20Module.abi.json.d.ts +3 -3
- package/out/ERC20Module.sol/ERC20Module.json +1 -1
- package/out/ERC20Module.sol/ERC20ModuleRegistrationLib.json +1 -1
- package/out/ERC20System.sol/ERC20System.abi.json +1 -1
- package/out/ERC20System.sol/ERC20System.abi.json.d.ts +1 -1
- package/out/ERC20System.sol/ERC20System.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/ERC721Module.sol/ERC721Module.abi.json +3 -3
- package/out/ERC721Module.sol/ERC721Module.abi.json.d.ts +3 -3
- package/out/ERC721Module.sol/ERC721Module.json +1 -1
- package/out/ERC721Module.sol/ERC721ModuleRegistrationLib.json +1 -1
- package/out/ERC721System.sol/ERC721System.abi.json +1 -1
- package/out/ERC721System.sol/ERC721System.abi.json.d.ts +1 -1
- package/out/ERC721System.sol/ERC721System.json +1 -1
- package/out/IBaseWorld.sol/IBaseWorld.json +1 -1
- package/out/IWorld.sol/IWorld.json +1 -1
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -1
- package/out/InitModule.sol/InitModule.abi.json +3 -3
- package/out/InitModule.sol/InitModule.abi.json.d.ts +3 -3
- package/out/InitModule.sol/InitModule.json +1 -1
- package/out/KeysInTableModule.sol/KeysInTableModule.abi.json +3 -3
- package/out/KeysInTableModule.sol/KeysInTableModule.abi.json.d.ts +3 -3
- package/out/KeysInTableModule.sol/KeysInTableModule.json +1 -1
- package/out/KeysInTableModule.t.sol/KeysInTableModuleTest.json +1 -1
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1 -1
- package/out/KeysWithValueModule.sol/KeysWithValueModule.abi.json +3 -3
- package/out/KeysWithValueModule.sol/KeysWithValueModule.abi.json.d.ts +3 -3
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +1 -1
- package/out/KeysWithValueModule.t.sol/KeysWithValueModuleTest.json +1 -1
- package/out/Module.sol/Module.abi.json +1 -1
- package/out/Module.sol/Module.abi.json.d.ts +1 -1
- package/out/Module.sol/Module.json +1 -1
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json +1 -1
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json.d.ts +1 -1
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
- package/out/Puppet.sol/Puppet.json +1 -1
- package/out/PuppetDelegationControl.sol/PuppetDelegationControl.abi.json +1 -1
- package/out/PuppetDelegationControl.sol/PuppetDelegationControl.abi.json.d.ts +1 -1
- package/out/PuppetDelegationControl.sol/PuppetDelegationControl.json +1 -1
- package/out/PuppetFactorySystem.sol/PuppetFactorySystem.abi.json +1 -1
- package/out/PuppetFactorySystem.sol/PuppetFactorySystem.abi.json.d.ts +1 -1
- package/out/PuppetFactorySystem.sol/PuppetFactorySystem.json +1 -1
- package/out/PuppetMaster.sol/PuppetMaster.json +1 -1
- package/out/PuppetModule.sol/PuppetModule.abi.json +1 -1
- package/out/PuppetModule.sol/PuppetModule.abi.json.d.ts +1 -1
- package/out/PuppetModule.sol/PuppetModule.json +1 -1
- package/out/PuppetModule.t.sol/PuppetModuleTest.json +1 -1
- package/out/PuppetModule.t.sol/PuppetTestSystem.abi.json +1 -1
- package/out/PuppetModule.t.sol/PuppetTestSystem.abi.json.d.ts +1 -1
- package/out/PuppetModule.t.sol/PuppetTestSystem.json +1 -1
- package/out/RegistrationSystem.sol/RegistrationSystem.abi.json +1 -1
- package/out/RegistrationSystem.sol/RegistrationSystem.abi.json.d.ts +1 -1
- package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.abi.json +3 -3
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.abi.json.d.ts +3 -3
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +1 -1
- package/out/StandardDelegationsModule.t.sol/StandardDelegationsModuleTest.json +1 -1
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json +1 -1
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json.d.ts +1 -1
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
- package/out/System.sol/System.abi.json +1 -1
- package/out/System.sol/System.abi.json.d.ts +1 -1
- package/out/System.sol/System.json +1 -1
- package/out/SystemCall.sol/SystemCall.json +1 -1
- package/out/SystemSwitch.sol/SystemSwitch.json +1 -1
- package/out/SystemSwitch.t.sol/EchoSystem.abi.json +1 -1
- package/out/SystemSwitch.t.sol/EchoSystem.abi.json.d.ts +1 -1
- package/out/SystemSwitch.t.sol/EchoSystem.json +1 -1
- package/out/SystemSwitch.t.sol/SystemSwitchTest.json +1 -1
- package/out/SystemboundDelegationControl.sol/SystemboundDelegationControl.abi.json +1 -1
- package/out/SystemboundDelegationControl.sol/SystemboundDelegationControl.abi.json.d.ts +1 -1
- package/out/SystemboundDelegationControl.sol/SystemboundDelegationControl.json +1 -1
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.abi.json +1 -1
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.abi.json.d.ts +1 -1
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +1 -1
- package/out/UniqueEntityModule.sol/UniqueEntityModule.abi.json +1 -1
- package/out/UniqueEntityModule.sol/UniqueEntityModule.abi.json.d.ts +1 -1
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +1 -1
- package/out/UniqueEntityModule.t.sol/UniqueEntityModuleTest.json +1 -1
- package/out/UniqueEntityModule.t.sol/UniqueEntityTestSystem.abi.json +1 -1
- package/out/UniqueEntityModule.t.sol/UniqueEntityTestSystem.abi.json.d.ts +1 -1
- package/out/UniqueEntityModule.t.sol/UniqueEntityTestSystem.json +1 -1
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.abi.json +1 -1
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.abi.json.d.ts +1 -1
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +1 -1
- package/out/World.sol/World.json +1 -1
- package/out/World.t.sol/EchoSystemHook.json +1 -1
- package/out/World.t.sol/IWorldTestSystem.json +1 -1
- package/out/World.t.sol/PayableFallbackSystem.abi.json +1 -1
- package/out/World.t.sol/PayableFallbackSystem.abi.json.d.ts +1 -1
- package/out/World.t.sol/PayableFallbackSystem.json +1 -1
- package/out/World.t.sol/RevertSystemHook.json +1 -1
- package/out/World.t.sol/WorldTest.json +1 -1
- package/out/World.t.sol/WorldTestSystem.abi.json +1 -1
- package/out/World.t.sol/WorldTestSystem.abi.json.d.ts +1 -1
- package/out/World.t.sol/WorldTestSystem.json +1 -1
- package/out/WorldContext.sol/WorldContextConsumer.abi.json +1 -1
- package/out/WorldContext.sol/WorldContextConsumer.abi.json.d.ts +1 -1
- package/out/WorldContext.sol/WorldContextConsumer.json +1 -1
- package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -1
- package/out/WorldContext.sol/WorldContextProviderLib.json +1 -1
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json +1 -1
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json.d.ts +1 -1
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -1
- package/out/build-info/{97a3233dbd7e0fbea81b29ace0405d00.json → a719ac6111d0804c0ec3a2c92ab1dcb6.json} +1 -1
- package/out/query.t.sol/QueryTest.json +1 -1
- package/package.json +9 -9
- package/src/modules/erc20-puppet/ERC20Module.sol +1 -5
- package/src/modules/erc721-puppet/ERC721Module.sol +1 -5
- package/src/modules/keysintable/KeysInTableModule.sol +0 -4
- package/src/modules/keyswithvalue/KeysWithValueModule.sol +1 -5
- package/src/modules/puppet/PuppetModule.sol +2 -2
- package/src/modules/std-delegations/StandardDelegationsModule.sol +1 -5
- package/src/modules/uniqueentity/UniqueEntityModule.sol +2 -2
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@latticexyz/world-modules",
|
3
|
-
"version": "2.2.
|
3
|
+
"version": "2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0",
|
4
4
|
"description": "World modules",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -27,11 +27,11 @@
|
|
27
27
|
],
|
28
28
|
"dependencies": {
|
29
29
|
"zod": "3.23.8",
|
30
|
-
"@latticexyz/
|
31
|
-
"@latticexyz/
|
32
|
-
"@latticexyz/
|
33
|
-
"@latticexyz/
|
34
|
-
"@latticexyz/world": "2.2.
|
30
|
+
"@latticexyz/config": "2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0",
|
31
|
+
"@latticexyz/schema-type": "2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0",
|
32
|
+
"@latticexyz/store": "2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0",
|
33
|
+
"@latticexyz/common": "2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0",
|
34
|
+
"@latticexyz/world": "2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0"
|
35
35
|
},
|
36
36
|
"devDependencies": {
|
37
37
|
"@types/ejs": "^3.1.1",
|
@@ -39,9 +39,9 @@
|
|
39
39
|
"forge-std": "https://github.com/foundry-rs/forge-std.git#74cfb77e308dd188d2f58864aaf44963ae6b88b1",
|
40
40
|
"glob": "^10.4.2",
|
41
41
|
"solhint": "^3.3.7",
|
42
|
-
"@latticexyz/abi-ts": "2.2.
|
43
|
-
"@latticexyz/cli": "2.2.
|
44
|
-
"@latticexyz/gas-report": "2.2.
|
42
|
+
"@latticexyz/abi-ts": "2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0",
|
43
|
+
"@latticexyz/cli": "2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0",
|
44
|
+
"@latticexyz/gas-report": "2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0"
|
45
45
|
},
|
46
46
|
"publishConfig": {
|
47
47
|
"access": "public"
|
@@ -24,7 +24,7 @@ import { ERC20Metadata, ERC20MetadataData } from "./tables/ERC20Metadata.sol";
|
|
24
24
|
contract ERC20Module is Module {
|
25
25
|
error ERC20Module_InvalidNamespace(bytes14 namespace);
|
26
26
|
|
27
|
-
function install(bytes memory encodedArgs) public {
|
27
|
+
function install(bytes memory encodedArgs) public override {
|
28
28
|
// Require the module to not be installed with these args yet
|
29
29
|
requireNotInstalled(__self, encodedArgs);
|
30
30
|
|
@@ -58,10 +58,6 @@ contract ERC20Module is Module {
|
|
58
58
|
}
|
59
59
|
ERC20Registry.set(ERC20_REGISTRY_TABLE_ID, namespaceId, puppet);
|
60
60
|
}
|
61
|
-
|
62
|
-
function installRoot(bytes memory) public pure {
|
63
|
-
revert Module_RootInstallNotSupported();
|
64
|
-
}
|
65
61
|
}
|
66
62
|
|
67
63
|
library ERC20ModuleRegistrationLib {
|
@@ -27,7 +27,7 @@ import { ERC721Metadata, ERC721MetadataData } from "./tables/ERC721Metadata.sol"
|
|
27
27
|
contract ERC721Module is Module {
|
28
28
|
error ERC721Module_InvalidNamespace(bytes14 namespace);
|
29
29
|
|
30
|
-
function install(bytes memory encodedArgs) public {
|
30
|
+
function install(bytes memory encodedArgs) public override {
|
31
31
|
// Require the module to not be installed with these args yet
|
32
32
|
requireNotInstalled(__self, encodedArgs);
|
33
33
|
|
@@ -61,10 +61,6 @@ contract ERC721Module is Module {
|
|
61
61
|
}
|
62
62
|
ERC721Registry.set(ERC721_REGISTRY_TABLE_ID, namespaceId, puppet);
|
63
63
|
}
|
64
|
-
|
65
|
-
function installRoot(bytes memory) public pure {
|
66
|
-
revert Module_RootInstallNotSupported();
|
67
|
-
}
|
68
64
|
}
|
69
65
|
|
70
66
|
library ERC721ModuleRegistrationLib {
|
@@ -35,7 +35,7 @@ contract KeysWithValueModule is Module {
|
|
35
35
|
// from the source table id (passed as argument to the hook methods)
|
36
36
|
KeysWithValueHook private immutable hook = new KeysWithValueHook();
|
37
37
|
|
38
|
-
function installRoot(bytes memory encodedArgs) public {
|
38
|
+
function installRoot(bytes memory encodedArgs) public override {
|
39
39
|
// Naive check to ensure this is only installed once
|
40
40
|
// TODO: only revert if there's nothing to do
|
41
41
|
requireNotInstalled(__self, encodedArgs);
|
@@ -96,8 +96,4 @@ contract KeysWithValueModule is Module {
|
|
96
96
|
);
|
97
97
|
if (!success) revertWithBytes(returnData);
|
98
98
|
}
|
99
|
-
|
100
|
-
function install(bytes memory) public pure {
|
101
|
-
revert Module_NonRootInstallNotSupported();
|
102
|
-
}
|
103
99
|
}
|
@@ -23,7 +23,7 @@ contract PuppetModule is Module {
|
|
23
23
|
PuppetDelegationControl private immutable puppetDelegationControl = new PuppetDelegationControl();
|
24
24
|
PuppetFactorySystem private immutable puppetFactorySystem = new PuppetFactorySystem();
|
25
25
|
|
26
|
-
function installRoot(bytes memory) public {
|
26
|
+
function installRoot(bytes memory) public override {
|
27
27
|
IBaseWorld world = IBaseWorld(_world());
|
28
28
|
|
29
29
|
// Register namespace
|
@@ -48,7 +48,7 @@ contract PuppetModule is Module {
|
|
48
48
|
if (!success) revertWithBytes(returnData);
|
49
49
|
}
|
50
50
|
|
51
|
-
function install(bytes memory) public {
|
51
|
+
function install(bytes memory) public override {
|
52
52
|
IBaseWorld world = IBaseWorld(_world());
|
53
53
|
|
54
54
|
// Register namespace
|
@@ -24,7 +24,7 @@ contract StandardDelegationsModule is Module {
|
|
24
24
|
SystemboundDelegationControl private immutable systemboundDelegationControl = new SystemboundDelegationControl();
|
25
25
|
TimeboundDelegationControl private immutable timeboundDelegationControl = new TimeboundDelegationControl();
|
26
26
|
|
27
|
-
function installRoot(bytes memory) public {
|
27
|
+
function installRoot(bytes memory) public override {
|
28
28
|
IBaseWorld world = IBaseWorld(_world());
|
29
29
|
|
30
30
|
// Register tables
|
@@ -48,8 +48,4 @@ contract StandardDelegationsModule is Module {
|
|
48
48
|
);
|
49
49
|
if (!success) revertWithBytes(returnData);
|
50
50
|
}
|
51
|
-
|
52
|
-
function install(bytes memory) public pure {
|
53
|
-
revert Module_NonRootInstallNotSupported();
|
54
|
-
}
|
55
51
|
}
|
@@ -22,7 +22,7 @@ contract UniqueEntityModule is Module {
|
|
22
22
|
// known tables, we can deploy it once and register it in multiple Worlds.
|
23
23
|
UniqueEntitySystem private immutable uniqueEntitySystem = new UniqueEntitySystem();
|
24
24
|
|
25
|
-
function installRoot(bytes memory encodedArgs) public {
|
25
|
+
function installRoot(bytes memory encodedArgs) public override {
|
26
26
|
// Naive check to ensure this is only installed once
|
27
27
|
// TODO: only revert if there's nothing to do
|
28
28
|
requireNotInstalled(__self, encodedArgs);
|
@@ -51,7 +51,7 @@ contract UniqueEntityModule is Module {
|
|
51
51
|
if (!success) revertWithBytes(data);
|
52
52
|
}
|
53
53
|
|
54
|
-
function install(bytes memory encodedArgs) public {
|
54
|
+
function install(bytes memory encodedArgs) public override {
|
55
55
|
// Naive check to ensure this is only installed once
|
56
56
|
// TODO: only revert if there's nothing to do
|
57
57
|
requireNotInstalled(__self, encodedArgs);
|