@latticexyz/world-module-erc20 2.2.19-900ac35deebfa260bafb1697d15e95eef855cd69 → 2.2.20-306707570ec5fd27877d674502aa381d7fd89662
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.json +1 -1
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
- package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
- package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.json +1 -1
- package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreBehaviorTest.json +1 -1
- package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreTest.json +1 -1
- package/out/ERC20BaseTest.t.sol/ERC20WithWorldBehaviorTest.json +1 -1
- package/out/ERC20BaseTest.t.sol/ERC20WithWorldTest.json +1 -1
- package/out/ERC20BaseTest.t.sol/MockERC20Base.json +1 -1
- package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.json +1 -1
- package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.json +1 -1
- package/out/ERC20BaseTest.t.sol/TestConstants.json +1 -1
- package/out/ERC20Burnable.t.sol/ERC20BurnableTest.json +1 -1
- package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.json +1 -1
- package/out/ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.json +1 -1
- package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.json +1 -1
- package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.json +1 -1
- package/out/ERC20Module.sol/ERC20Module.abi.json +2 -2
- package/out/ERC20Module.sol/ERC20Module.abi.json.d.ts +2 -2
- package/out/ERC20Module.sol/ERC20Module.json +1 -1
- package/out/ERC20Module.sol/ERC20RegistryLib.json +1 -1
- package/out/ERC20Module.t.sol/ERC20ModuleTest.json +1 -1
- package/out/ERC20Module.t.sol/TestConstants.json +1 -1
- package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.json +1 -1
- package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.json +1 -1
- package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.json +1 -1
- package/out/ERC20Pausable.t.sol/MockERC20Pausable.json +1 -1
- package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.json +1 -1
- package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.json +1 -1
- package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.json +1 -1
- package/out/ERC20WithWorld.sol/ERC20WithWorld.json +1 -1
- package/out/InitModule.sol/InitModule.abi.json +2 -2
- package/out/InitModule.sol/InitModule.abi.json.d.ts +2 -2
- package/out/InitModule.sol/InitModule.json +1 -1
- package/out/Module.sol/Module.json +1 -1
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
- package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
- package/out/World.sol/World.json +1 -1
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -1
- package/out/build-info/{60c60a9593fdb00b3264c36836a28f39.json → 175d99f81f5752e758f7c3af96b26ced.json} +1 -1
- package/package.json +8 -8
- package/src/experimental/ERC20Module.sol +1 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"
|
|
1
|
+
{"id":"175d99f81f5752e758f7c3af96b26ced","source_id_to_path":{"0":"node_modules/@latticexyz/gas-report/src/GasReporter.sol","1":"node_modules/@latticexyz/schema-type/src/solidity/SchemaType.sol","2":"node_modules/@latticexyz/store-consumer/src/experimental/Context.sol","3":"node_modules/@latticexyz/store-consumer/src/experimental/StoreConsumer.sol","4":"node_modules/@latticexyz/store-consumer/src/experimental/WithStore.sol","5":"node_modules/@latticexyz/store-consumer/src/experimental/WithWorld.sol","6":"node_modules/@latticexyz/store/src/Bytes.sol","7":"node_modules/@latticexyz/store/src/EncodedLengths.sol","8":"node_modules/@latticexyz/store/src/FieldLayout.sol","9":"node_modules/@latticexyz/store/src/Hook.sol","10":"node_modules/@latticexyz/store/src/IERC165.sol","11":"node_modules/@latticexyz/store/src/IEncodedLengthsErrors.sol","12":"node_modules/@latticexyz/store/src/IFieldLayoutErrors.sol","13":"node_modules/@latticexyz/store/src/ISchemaErrors.sol","14":"node_modules/@latticexyz/store/src/ISliceErrors.sol","15":"node_modules/@latticexyz/store/src/IStore.sol","16":"node_modules/@latticexyz/store/src/IStoreErrors.sol","17":"node_modules/@latticexyz/store/src/IStoreEvents.sol","18":"node_modules/@latticexyz/store/src/IStoreHook.sol","19":"node_modules/@latticexyz/store/src/IStoreKernel.sol","20":"node_modules/@latticexyz/store/src/IStoreRead.sol","21":"node_modules/@latticexyz/store/src/IStoreRegistration.sol","22":"node_modules/@latticexyz/store/src/IStoreWrite.sol","23":"node_modules/@latticexyz/store/src/Memory.sol","24":"node_modules/@latticexyz/store/src/ResourceId.sol","25":"node_modules/@latticexyz/store/src/Schema.sol","26":"node_modules/@latticexyz/store/src/Slice.sol","27":"node_modules/@latticexyz/store/src/Storage.sol","28":"node_modules/@latticexyz/store/src/Store.sol","29":"node_modules/@latticexyz/store/src/StoreCore.sol","30":"node_modules/@latticexyz/store/src/StoreKernel.sol","31":"node_modules/@latticexyz/store/src/StoreRead.sol","32":"node_modules/@latticexyz/store/src/StoreSwitch.sol","33":"node_modules/@latticexyz/store/src/codegen/index.sol","34":"node_modules/@latticexyz/store/src/codegen/tables/Hooks.sol","35":"node_modules/@latticexyz/store/src/codegen/tables/ResourceIds.sol","36":"node_modules/@latticexyz/store/src/codegen/tables/StoreHooks.sol","37":"node_modules/@latticexyz/store/src/codegen/tables/Tables.sol","38":"node_modules/@latticexyz/store/src/constants.sol","39":"node_modules/@latticexyz/store/src/rightMask.sol","40":"node_modules/@latticexyz/store/src/storeHookTypes.sol","41":"node_modules/@latticexyz/store/src/storeResourceTypes.sol","42":"node_modules/@latticexyz/store/src/tightcoder/DecodeSlice.sol","43":"node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol","44":"node_modules/@latticexyz/store/src/tightcoder/TightCoder.sol","45":"node_modules/@latticexyz/store/src/version.sol","46":"node_modules/@latticexyz/world/src/AccessControl.sol","47":"node_modules/@latticexyz/world/src/Delegation.sol","48":"node_modules/@latticexyz/world/src/ERC165Checker.sol","49":"node_modules/@latticexyz/world/src/IDelegationControl.sol","50":"node_modules/@latticexyz/world/src/IERC165.sol","51":"node_modules/@latticexyz/world/src/IModule.sol","52":"node_modules/@latticexyz/world/src/IModuleErrors.sol","53":"node_modules/@latticexyz/world/src/ISystemHook.sol","54":"node_modules/@latticexyz/world/src/IWorldContextConsumer.sol","55":"node_modules/@latticexyz/world/src/IWorldErrors.sol","56":"node_modules/@latticexyz/world/src/IWorldEvents.sol","57":"node_modules/@latticexyz/world/src/IWorldKernel.sol","58":"node_modules/@latticexyz/world/src/Module.sol","59":"node_modules/@latticexyz/world/src/System.sol","60":"node_modules/@latticexyz/world/src/SystemCall.sol","61":"node_modules/@latticexyz/world/src/World.sol","62":"node_modules/@latticexyz/world/src/WorldContext.sol","63":"node_modules/@latticexyz/world/src/WorldResourceId.sol","64":"node_modules/@latticexyz/world/src/codegen/interfaces/IAccessManagementSystem.sol","65":"node_modules/@latticexyz/world/src/codegen/interfaces/IBalanceTransferSystem.sol","66":"node_modules/@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol","67":"node_modules/@latticexyz/world/src/codegen/interfaces/IBatchCallSystem.sol","68":"node_modules/@latticexyz/world/src/codegen/interfaces/IModuleInstallationSystem.sol","69":"node_modules/@latticexyz/world/src/codegen/interfaces/IRegistrationSystem.sol","70":"node_modules/@latticexyz/world/src/codegen/interfaces/IWorldRegistrationSystem.sol","71":"node_modules/@latticexyz/world/src/codegen/tables/Balances.sol","72":"node_modules/@latticexyz/world/src/codegen/tables/FunctionSelectors.sol","73":"node_modules/@latticexyz/world/src/codegen/tables/FunctionSignatures.sol","74":"node_modules/@latticexyz/world/src/codegen/tables/InitModuleAddress.sol","75":"node_modules/@latticexyz/world/src/codegen/tables/InstalledModules.sol","76":"node_modules/@latticexyz/world/src/codegen/tables/NamespaceDelegationControl.sol","77":"node_modules/@latticexyz/world/src/codegen/tables/NamespaceOwner.sol","78":"node_modules/@latticexyz/world/src/codegen/tables/ResourceAccess.sol","79":"node_modules/@latticexyz/world/src/codegen/tables/SystemHooks.sol","80":"node_modules/@latticexyz/world/src/codegen/tables/SystemRegistry.sol","81":"node_modules/@latticexyz/world/src/codegen/tables/Systems.sol","82":"node_modules/@latticexyz/world/src/codegen/tables/UserDelegationControl.sol","83":"node_modules/@latticexyz/world/src/constants.sol","84":"node_modules/@latticexyz/world/src/modules/init/InitModule.sol","85":"node_modules/@latticexyz/world/src/modules/init/LimitedCallContext.sol","86":"node_modules/@latticexyz/world/src/modules/init/RegistrationSystem.sol","87":"node_modules/@latticexyz/world/src/modules/init/constants.sol","88":"node_modules/@latticexyz/world/src/modules/init/functionSignatures.sol","89":"node_modules/@latticexyz/world/src/modules/init/implementations/AccessManagementSystem.sol","90":"node_modules/@latticexyz/world/src/modules/init/implementations/BalanceTransferSystem.sol","91":"node_modules/@latticexyz/world/src/modules/init/implementations/BatchCallSystem.sol","92":"node_modules/@latticexyz/world/src/modules/init/implementations/ModuleInstallationSystem.sol","93":"node_modules/@latticexyz/world/src/modules/init/implementations/StoreRegistrationSystem.sol","94":"node_modules/@latticexyz/world/src/modules/init/implementations/WorldRegistrationSystem.sol","95":"node_modules/@latticexyz/world/src/modules/init/implementations/createDelegation.sol","96":"node_modules/@latticexyz/world/src/modules/init/types.sol","97":"node_modules/@latticexyz/world/src/requireInterface.sol","98":"node_modules/@latticexyz/world/src/requireNamespace.sol","99":"node_modules/@latticexyz/world/src/requireValidNamespace.sol","100":"node_modules/@latticexyz/world/src/revertWithBytes.sol","101":"node_modules/@latticexyz/world/src/systemHookTypes.sol","102":"node_modules/@latticexyz/world/src/version.sol","103":"node_modules/@latticexyz/world/src/worldResourceTypes.sol","104":"node_modules/@latticexyz/world/test/createInitModule.sol","105":"node_modules/@latticexyz/world/test/createWorld.sol","106":"node_modules/ds-test/src/test.sol","107":"node_modules/forge-std/src/Base.sol","108":"node_modules/forge-std/src/StdAssertions.sol","109":"node_modules/forge-std/src/StdChains.sol","110":"node_modules/forge-std/src/StdCheats.sol","111":"node_modules/forge-std/src/StdError.sol","112":"node_modules/forge-std/src/StdInvariant.sol","113":"node_modules/forge-std/src/StdJson.sol","114":"node_modules/forge-std/src/StdMath.sol","115":"node_modules/forge-std/src/StdStorage.sol","116":"node_modules/forge-std/src/StdStyle.sol","117":"node_modules/forge-std/src/StdUtils.sol","118":"node_modules/forge-std/src/Test.sol","119":"node_modules/forge-std/src/Vm.sol","120":"node_modules/forge-std/src/console.sol","121":"node_modules/forge-std/src/console2.sol","122":"node_modules/forge-std/src/interfaces/IMulticall3.sol","123":"node_modules/forge-std/src/safeconsole.sol","124":"src/codegen/index.sol","125":"src/codegen/tables/Allowances.sol","126":"src/codegen/tables/Balances.sol","127":"src/codegen/tables/ERC20Metadata.sol","128":"src/codegen/tables/ERC20Registry.sol","129":"src/codegen/tables/Owner.sol","130":"src/codegen/tables/Paused.sol","131":"src/codegen/tables/TotalSupply.sol","132":"src/examples/ERC20WithInternalStore.sol","133":"src/examples/ERC20WithWorld.sol","134":"src/experimental/Constants.sol","135":"src/experimental/ERC20Burnable.sol","136":"src/experimental/ERC20Module.sol","137":"src/experimental/ERC20Pausable.sol","138":"src/experimental/MUDERC20.sol","139":"src/experimental/Ownable.sol","140":"src/experimental/Pausable.sol","141":"src/interfaces/IERC20.sol","142":"src/interfaces/IERC20Errors.sol","143":"src/interfaces/IERC20Events.sol","144":"src/interfaces/IERC20Metadata.sol","145":"test/ERC20BaseTest.t.sol","146":"test/ERC20Burnable.t.sol","147":"test/ERC20Module.t.sol","148":"test/ERC20Pausable.t.sol"},"language":"Solidity"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@latticexyz/world-module-erc20",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.20-306707570ec5fd27877d674502aa381d7fd89662",
|
|
4
4
|
"description": "ERC20 world module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,18 +30,18 @@
|
|
|
30
30
|
"src"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@latticexyz/
|
|
34
|
-
"@latticexyz/store": "2.2.
|
|
35
|
-
"@latticexyz/
|
|
36
|
-
"@latticexyz/world": "2.2.
|
|
33
|
+
"@latticexyz/schema-type": "2.2.20-306707570ec5fd27877d674502aa381d7fd89662",
|
|
34
|
+
"@latticexyz/store": "2.2.20-306707570ec5fd27877d674502aa381d7fd89662",
|
|
35
|
+
"@latticexyz/store-consumer": "2.2.20-306707570ec5fd27877d674502aa381d7fd89662",
|
|
36
|
+
"@latticexyz/world": "2.2.20-306707570ec5fd27877d674502aa381d7fd89662"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"ds-test": "https://github.com/dapphub/ds-test.git#e282159d5170298eb2455a6c05280ab5a73a4ef0",
|
|
40
40
|
"forge-std": "https://github.com/foundry-rs/forge-std.git#74cfb77e308dd188d2f58864aaf44963ae6b88b1",
|
|
41
41
|
"solhint": "^3.3.7",
|
|
42
|
-
"@latticexyz/
|
|
43
|
-
"@latticexyz/
|
|
44
|
-
"@latticexyz/gas-report": "2.2.
|
|
42
|
+
"@latticexyz/abi-ts": "2.2.20-306707570ec5fd27877d674502aa381d7fd89662",
|
|
43
|
+
"@latticexyz/cli": "2.2.20-306707570ec5fd27877d674502aa381d7fd89662",
|
|
44
|
+
"@latticexyz/gas-report": "2.2.20-306707570ec5fd27877d674502aa381d7fd89662"
|
|
45
45
|
},
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
@@ -18,7 +18,7 @@ contract ERC20Module is Module {
|
|
|
18
18
|
error ERC20Module_InvalidNamespace(bytes14 namespace);
|
|
19
19
|
error ERC20Module_NamespaceAlreadyExists(bytes14 namespace);
|
|
20
20
|
|
|
21
|
-
function install(bytes memory encodedArgs) public {
|
|
21
|
+
function install(bytes memory encodedArgs) public override {
|
|
22
22
|
// TODO: we should probably check just for namespace, not for all args
|
|
23
23
|
requireNotInstalled(__self, encodedArgs);
|
|
24
24
|
|
|
@@ -52,10 +52,6 @@ contract ERC20Module is Module {
|
|
|
52
52
|
|
|
53
53
|
ERC20RegistryLib.register(world, namespaceId, address(token));
|
|
54
54
|
}
|
|
55
|
-
|
|
56
|
-
function installRoot(bytes memory) public pure {
|
|
57
|
-
revert Module_RootInstallNotSupported();
|
|
58
|
-
}
|
|
59
55
|
}
|
|
60
56
|
|
|
61
57
|
library ERC20RegistryLib {
|