@latticexyz/world-consumer 2.2.20-b774ab28b3de6cefcbfce5e1bb6fcb68b9374abf
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/README.md +8 -0
- package/out/AccessControl.sol/AccessControl.abi.json +1 -0
- package/out/AccessControl.sol/AccessControl.json +1 -0
- package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json +256 -0
- package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json.d.ts +258 -0
- package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -0
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json +361 -0
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json.d.ts +363 -0
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -0
- package/out/Balances.sol/Balances.abi.json +1 -0
- package/out/Balances.sol/Balances.json +1 -0
- package/out/Base.sol/CommonBase.abi.json +1 -0
- package/out/Base.sol/CommonBase.json +1 -0
- package/out/Base.sol/ScriptBase.abi.json +1 -0
- package/out/Base.sol/ScriptBase.json +1 -0
- package/out/Base.sol/TestBase.abi.json +1 -0
- package/out/Base.sol/TestBase.json +1 -0
- package/out/BatchCallSystem.sol/BatchCallSystem.abi.json +132 -0
- package/out/BatchCallSystem.sol/BatchCallSystem.abi.json.d.ts +134 -0
- package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -0
- package/out/Bytes.sol/Bytes.abi.json +1 -0
- package/out/Bytes.sol/Bytes.json +1 -0
- package/out/DecodeSlice.sol/DecodeSlice.abi.json +1 -0
- package/out/DecodeSlice.sol/DecodeSlice.json +1 -0
- package/out/Delegation.sol/Delegation.abi.json +1 -0
- package/out/Delegation.sol/Delegation.json +1 -0
- package/out/ERC165Checker.sol/ERC165Checker.abi.json +1 -0
- package/out/ERC165Checker.sol/ERC165Checker.json +1 -0
- package/out/EncodeArray.sol/EncodeArray.abi.json +1 -0
- package/out/EncodeArray.sol/EncodeArray.json +1 -0
- package/out/EncodedLengths.sol/EncodedLengthsInstance.abi.json +1 -0
- package/out/EncodedLengths.sol/EncodedLengthsInstance.json +1 -0
- package/out/EncodedLengths.sol/EncodedLengthsLib.abi.json +1 -0
- package/out/EncodedLengths.sol/EncodedLengthsLib.json +1 -0
- package/out/FieldLayout.sol/FieldLayoutInstance.abi.json +1 -0
- package/out/FieldLayout.sol/FieldLayoutInstance.json +1 -0
- package/out/FieldLayout.sol/FieldLayoutLib.abi.json +1 -0
- package/out/FieldLayout.sol/FieldLayoutLib.json +1 -0
- package/out/FunctionSelectors.sol/FunctionSelectors.abi.json +1 -0
- package/out/FunctionSelectors.sol/FunctionSelectors.json +1 -0
- package/out/FunctionSignatures.sol/FunctionSignatures.abi.json +1 -0
- package/out/FunctionSignatures.sol/FunctionSignatures.json +1 -0
- package/out/GasReporter.sol/GasReporter.abi.json +570 -0
- package/out/GasReporter.sol/GasReporter.abi.json.d.ts +572 -0
- package/out/GasReporter.sol/GasReporter.json +1 -0
- package/out/Hook.sol/HookInstance.abi.json +1 -0
- package/out/Hook.sol/HookInstance.json +1 -0
- package/out/Hook.sol/HookLib.abi.json +1 -0
- package/out/Hook.sol/HookLib.json +1 -0
- package/out/Hooks.sol/Hooks.abi.json +1 -0
- package/out/Hooks.sol/Hooks.json +1 -0
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json +69 -0
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json.d.ts +71 -0
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +1 -0
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json +48 -0
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json.d.ts +50 -0
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +1 -0
- package/out/IBaseWorld.sol/IBaseWorld.abi.json +2008 -0
- package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +2010 -0
- package/out/IBaseWorld.sol/IBaseWorld.json +1 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +71 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +1 -0
- package/out/IDelegationControl.sol/IDelegationControl.abi.json +89 -0
- package/out/IDelegationControl.sol/IDelegationControl.abi.json.d.ts +91 -0
- package/out/IDelegationControl.sol/IDelegationControl.json +1 -0
- package/out/IERC165.sol/IERC165.abi.json +21 -0
- package/out/IERC165.sol/IERC165.abi.json.d.ts +23 -0
- package/out/IERC165.sol/IERC165.json +1 -0
- package/out/IERC20.sol/IERC20.abi.json +224 -0
- package/out/IERC20.sol/IERC20.abi.json.d.ts +226 -0
- package/out/IERC20.sol/IERC20.json +1 -0
- package/out/IERC721.sol/IERC721.abi.json +287 -0
- package/out/IERC721.sol/IERC721.abi.json.d.ts +289 -0
- package/out/IERC721.sol/IERC721.json +1 -0
- package/out/IERC721.sol/IERC721Enumerable.abi.json +343 -0
- package/out/IERC721.sol/IERC721Enumerable.abi.json.d.ts +345 -0
- package/out/IERC721.sol/IERC721Enumerable.json +1 -0
- package/out/IERC721.sol/IERC721Metadata.abi.json +332 -0
- package/out/IERC721.sol/IERC721Metadata.abi.json.d.ts +334 -0
- package/out/IERC721.sol/IERC721Metadata.json +1 -0
- package/out/IERC721.sol/IERC721TokenReceiver.abi.json +36 -0
- package/out/IERC721.sol/IERC721TokenReceiver.abi.json.d.ts +38 -0
- package/out/IERC721.sol/IERC721TokenReceiver.json +1 -0
- package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.abi.json +13 -0
- package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.abi.json.d.ts +15 -0
- package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.json +1 -0
- package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.abi.json +88 -0
- package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.abi.json.d.ts +90 -0
- package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.json +1 -0
- package/out/IModule.sol/IModule.abi.json +73 -0
- package/out/IModule.sol/IModule.abi.json.d.ts +75 -0
- package/out/IModule.sol/IModule.json +1 -0
- package/out/IModuleErrors.sol/IModuleErrors.abi.json +28 -0
- package/out/IModuleErrors.sol/IModuleErrors.abi.json.d.ts +30 -0
- package/out/IModuleErrors.sol/IModuleErrors.json +1 -0
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json +20 -0
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json.d.ts +22 -0
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +1 -0
- package/out/IMulticall3.sol/IMulticall3.abi.json +440 -0
- package/out/IMulticall3.sol/IMulticall3.abi.json.d.ts +442 -0
- package/out/IMulticall3.sol/IMulticall3.json +1 -0
- package/out/IRegistrationSystem.sol/IRegistrationSystem.abi.json +1 -0
- package/out/IRegistrationSystem.sol/IRegistrationSystem.json +1 -0
- package/out/ISchemaErrors.sol/ISchemaErrors.abi.json +18 -0
- package/out/ISchemaErrors.sol/ISchemaErrors.abi.json.d.ts +20 -0
- package/out/ISchemaErrors.sol/ISchemaErrors.json +1 -0
- package/out/ISliceErrors.sol/ISliceErrors.abi.json +23 -0
- package/out/ISliceErrors.sol/ISliceErrors.abi.json.d.ts +25 -0
- package/out/ISliceErrors.sol/ISliceErrors.json +1 -0
- package/out/IStore.sol/IStore.abi.json +1261 -0
- package/out/IStore.sol/IStore.abi.json.d.ts +1263 -0
- package/out/IStore.sol/IStore.json +1 -0
- package/out/IStoreErrors.sol/IStoreErrors.abi.json +204 -0
- package/out/IStoreErrors.sol/IStoreErrors.abi.json.d.ts +206 -0
- package/out/IStoreErrors.sol/IStoreErrors.json +1 -0
- package/out/IStoreEvents.sol/IStoreEvents.abi.json +151 -0
- package/out/IStoreEvents.sol/IStoreEvents.abi.json.d.ts +153 -0
- package/out/IStoreEvents.sol/IStoreEvents.json +1 -0
- package/out/IStoreHook.sol/IStoreHook.abi.json +290 -0
- package/out/IStoreHook.sol/IStoreHook.abi.json.d.ts +292 -0
- package/out/IStoreHook.sol/IStoreHook.json +1 -0
- package/out/IStoreKernel.sol/IStoreKernel.abi.json +1182 -0
- package/out/IStoreKernel.sol/IStoreKernel.abi.json.d.ts +1184 -0
- package/out/IStoreKernel.sol/IStoreKernel.json +1 -0
- package/out/IStoreRead.sol/IStoreRead.abi.json +389 -0
- package/out/IStoreRead.sol/IStoreRead.abi.json.d.ts +391 -0
- package/out/IStoreRead.sol/IStoreRead.json +1 -0
- package/out/IStoreRegistration.sol/IStoreRegistration.abi.json +81 -0
- package/out/IStoreRegistration.sol/IStoreRegistration.abi.json.d.ts +83 -0
- package/out/IStoreRegistration.sol/IStoreRegistration.json +1 -0
- package/out/IStoreWrite.sol/IStoreWrite.abi.json +446 -0
- package/out/IStoreWrite.sol/IStoreWrite.abi.json.d.ts +448 -0
- package/out/IStoreWrite.sol/IStoreWrite.json +1 -0
- package/out/ISystemHook.sol/ISystemHook.abi.json +67 -0
- package/out/ISystemHook.sol/ISystemHook.abi.json.d.ts +69 -0
- package/out/ISystemHook.sol/ISystemHook.json +1 -0
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json +60 -0
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json.d.ts +62 -0
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +1 -0
- package/out/IWorldErrors.sol/IWorldErrors.abi.json +200 -0
- package/out/IWorldErrors.sol/IWorldErrors.abi.json.d.ts +202 -0
- package/out/IWorldErrors.sol/IWorldErrors.json +1 -0
- package/out/IWorldEvents.sol/IWorldEvents.abi.json +15 -0
- package/out/IWorldEvents.sol/IWorldEvents.abi.json.d.ts +17 -0
- package/out/IWorldEvents.sol/IWorldEvents.json +1 -0
- package/out/IWorldKernel.sol/IWorldCall.abi.json +55 -0
- package/out/IWorldKernel.sol/IWorldCall.abi.json.d.ts +57 -0
- package/out/IWorldKernel.sol/IWorldCall.json +1 -0
- package/out/IWorldKernel.sol/IWorldKernel.abi.json +349 -0
- package/out/IWorldKernel.sol/IWorldKernel.abi.json.d.ts +351 -0
- package/out/IWorldKernel.sol/IWorldKernel.json +1 -0
- package/out/IWorldKernel.sol/IWorldModuleInstallation.abi.json +20 -0
- package/out/IWorldKernel.sol/IWorldModuleInstallation.abi.json.d.ts +22 -0
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +1 -0
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json +204 -0
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json.d.ts +206 -0
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -0
- package/out/InitModule.sol/InitModule.abi.json +462 -0
- package/out/InitModule.sol/InitModule.abi.json.d.ts +464 -0
- package/out/InitModule.sol/InitModule.json +1 -0
- package/out/InitModuleAddress.sol/InitModuleAddress.abi.json +1 -0
- package/out/InitModuleAddress.sol/InitModuleAddress.json +1 -0
- package/out/InstalledModules.sol/InstalledModules.abi.json +1 -0
- package/out/InstalledModules.sol/InstalledModules.json +1 -0
- package/out/LimitedCallContext.sol/LimitedCallContext.abi.json +7 -0
- package/out/LimitedCallContext.sol/LimitedCallContext.abi.json.d.ts +9 -0
- package/out/LimitedCallContext.sol/LimitedCallContext.json +1 -0
- package/out/Memory.sol/Memory.abi.json +1 -0
- package/out/Memory.sol/Memory.json +1 -0
- package/out/MockERC20.sol/MockERC20.abi.json +322 -0
- package/out/MockERC20.sol/MockERC20.abi.json.d.ts +324 -0
- package/out/MockERC20.sol/MockERC20.json +1 -0
- package/out/MockERC721.sol/MockERC721.abi.json +350 -0
- package/out/MockERC721.sol/MockERC721.abi.json.d.ts +352 -0
- package/out/MockERC721.sol/MockERC721.json +1 -0
- package/out/Module.sol/Module.abi.json +112 -0
- package/out/Module.sol/Module.abi.json.d.ts +114 -0
- package/out/Module.sol/Module.json +1 -0
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json +151 -0
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json.d.ts +153 -0
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -0
- package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.abi.json +1 -0
- package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.json +1 -0
- package/out/NamespaceOwner.sol/NamespaceOwner.abi.json +1 -0
- package/out/NamespaceOwner.sol/NamespaceOwner.json +1 -0
- package/out/RegistrationSystem.sol/RegistrationSystem.abi.json +1018 -0
- package/out/RegistrationSystem.sol/RegistrationSystem.abi.json.d.ts +1020 -0
- package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -0
- package/out/ResourceAccess.sol/ResourceAccess.abi.json +1 -0
- package/out/ResourceAccess.sol/ResourceAccess.json +1 -0
- package/out/ResourceId.sol/ResourceIdInstance.abi.json +1 -0
- package/out/ResourceId.sol/ResourceIdInstance.json +1 -0
- package/out/ResourceId.sol/ResourceIdLib.abi.json +1 -0
- package/out/ResourceId.sol/ResourceIdLib.json +1 -0
- package/out/ResourceIds.sol/ResourceIds.abi.json +1 -0
- package/out/ResourceIds.sol/ResourceIds.json +1 -0
- package/out/Schema.sol/SchemaInstance.abi.json +1 -0
- package/out/Schema.sol/SchemaInstance.json +1 -0
- package/out/Schema.sol/SchemaLib.abi.json +1 -0
- package/out/Schema.sol/SchemaLib.json +1 -0
- package/out/SimpleVault.sol/IERC20.abi.json +103 -0
- package/out/SimpleVault.sol/IERC20.abi.json.d.ts +105 -0
- package/out/SimpleVault.sol/IERC20.json +1 -0
- package/out/SimpleVault.sol/SimpleVault.abi.json +221 -0
- package/out/SimpleVault.sol/SimpleVault.abi.json.d.ts +223 -0
- package/out/SimpleVault.sol/SimpleVault.json +1 -0
- package/out/Slice.sol/SliceInstance.abi.json +1 -0
- package/out/Slice.sol/SliceInstance.json +1 -0
- package/out/Slice.sol/SliceLib.abi.json +1 -0
- package/out/Slice.sol/SliceLib.json +1 -0
- package/out/StdAssertions.sol/StdAssertions.abi.json +379 -0
- package/out/StdAssertions.sol/StdAssertions.abi.json.d.ts +381 -0
- package/out/StdAssertions.sol/StdAssertions.json +1 -0
- package/out/StdChains.sol/StdChains.abi.json +1 -0
- package/out/StdChains.sol/StdChains.json +1 -0
- package/out/StdCheats.sol/StdCheats.abi.json +1 -0
- package/out/StdCheats.sol/StdCheats.json +1 -0
- package/out/StdCheats.sol/StdCheatsSafe.abi.json +1 -0
- package/out/StdCheats.sol/StdCheatsSafe.json +1 -0
- package/out/StdError.sol/stdError.abi.json +119 -0
- package/out/StdError.sol/stdError.abi.json.d.ts +121 -0
- package/out/StdError.sol/stdError.json +1 -0
- package/out/StdInvariant.sol/StdInvariant.abi.json +180 -0
- package/out/StdInvariant.sol/StdInvariant.abi.json.d.ts +182 -0
- package/out/StdInvariant.sol/StdInvariant.json +1 -0
- package/out/StdJson.sol/stdJson.abi.json +1 -0
- package/out/StdJson.sol/stdJson.json +1 -0
- package/out/StdMath.sol/stdMath.abi.json +1 -0
- package/out/StdMath.sol/stdMath.json +1 -0
- package/out/StdStorage.sol/stdStorage.abi.json +1 -0
- package/out/StdStorage.sol/stdStorage.json +1 -0
- package/out/StdStorage.sol/stdStorageSafe.abi.json +52 -0
- package/out/StdStorage.sol/stdStorageSafe.abi.json.d.ts +54 -0
- package/out/StdStorage.sol/stdStorageSafe.json +1 -0
- package/out/StdStyle.sol/StdStyle.abi.json +1 -0
- package/out/StdStyle.sol/StdStyle.json +1 -0
- package/out/StdToml.sol/stdToml.abi.json +1 -0
- package/out/StdToml.sol/stdToml.json +1 -0
- package/out/StdUtils.sol/StdUtils.abi.json +1 -0
- package/out/StdUtils.sol/StdUtils.json +1 -0
- package/out/Storage.sol/Storage.abi.json +1 -0
- package/out/Storage.sol/Storage.json +1 -0
- package/out/Store.sol/Store.abi.json +1261 -0
- package/out/Store.sol/Store.abi.json.d.ts +1263 -0
- package/out/Store.sol/Store.json +1 -0
- package/out/StoreCore.sol/StoreCore.abi.json +1 -0
- package/out/StoreCore.sol/StoreCore.json +1 -0
- package/out/StoreCore.sol/StoreCoreInternal.abi.json +1 -0
- package/out/StoreCore.sol/StoreCoreInternal.json +1 -0
- package/out/StoreHooks.sol/StoreHooks.abi.json +1 -0
- package/out/StoreHooks.sol/StoreHooks.json +1 -0
- package/out/StoreKernel.sol/StoreKernel.abi.json +1182 -0
- package/out/StoreKernel.sol/StoreKernel.abi.json.d.ts +1184 -0
- package/out/StoreKernel.sol/StoreKernel.json +1 -0
- package/out/StoreRead.sol/StoreRead.abi.json +437 -0
- package/out/StoreRead.sol/StoreRead.abi.json.d.ts +439 -0
- package/out/StoreRead.sol/StoreRead.json +1 -0
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json +779 -0
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json.d.ts +781 -0
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -0
- package/out/StoreSwitch.sol/StoreSwitch.abi.json +1 -0
- package/out/StoreSwitch.sol/StoreSwitch.json +1 -0
- package/out/System.sol/System.abi.json +60 -0
- package/out/System.sol/System.abi.json.d.ts +62 -0
- package/out/System.sol/System.json +1 -0
- package/out/SystemCall.sol/SystemCall.abi.json +1 -0
- package/out/SystemCall.sol/SystemCall.json +1 -0
- package/out/SystemHooks.sol/SystemHooks.abi.json +1 -0
- package/out/SystemHooks.sol/SystemHooks.json +1 -0
- package/out/SystemRegistry.sol/SystemRegistry.abi.json +1 -0
- package/out/SystemRegistry.sol/SystemRegistry.json +1 -0
- package/out/Systems.sol/Systems.abi.json +1 -0
- package/out/Systems.sol/Systems.json +1 -0
- package/out/Tables.sol/Tables.abi.json +1 -0
- package/out/Tables.sol/Tables.json +1 -0
- package/out/Test.sol/Test.abi.json +570 -0
- package/out/Test.sol/Test.abi.json.d.ts +572 -0
- package/out/Test.sol/Test.json +1 -0
- package/out/TightCoder.sol/TightCoder.abi.json +1 -0
- package/out/TightCoder.sol/TightCoder.json +1 -0
- package/out/UserDelegationControl.sol/UserDelegationControl.abi.json +1 -0
- package/out/UserDelegationControl.sol/UserDelegationControl.json +1 -0
- package/out/Vm.sol/Vm.abi.json +9998 -0
- package/out/Vm.sol/Vm.abi.json.d.ts +10000 -0
- package/out/Vm.sol/Vm.json +1 -0
- package/out/Vm.sol/VmSafe.abi.json +8121 -0
- package/out/Vm.sol/VmSafe.abi.json.d.ts +8123 -0
- package/out/Vm.sol/VmSafe.json +1 -0
- package/out/World.sol/World.abi.json +1542 -0
- package/out/World.sol/World.abi.json.d.ts +1544 -0
- package/out/World.sol/World.json +1 -0
- package/out/WorldConsumer.sol/WorldConsumer.abi.json +177 -0
- package/out/WorldConsumer.sol/WorldConsumer.abi.json.d.ts +179 -0
- package/out/WorldConsumer.sol/WorldConsumer.json +1 -0
- package/out/WorldConsumer.t.sol/MockWorldConsumer.abi.json +271 -0
- package/out/WorldConsumer.t.sol/MockWorldConsumer.abi.json.d.ts +273 -0
- package/out/WorldConsumer.t.sol/MockWorldConsumer.json +1 -0
- package/out/WorldConsumer.t.sol/WorldConsumerTest.abi.json +605 -0
- package/out/WorldConsumer.t.sol/WorldConsumerTest.abi.json.d.ts +607 -0
- package/out/WorldConsumer.t.sol/WorldConsumerTest.json +1 -0
- package/out/WorldContext.sol/WorldContextConsumer.abi.json +60 -0
- package/out/WorldContext.sol/WorldContextConsumer.abi.json.d.ts +62 -0
- package/out/WorldContext.sol/WorldContextConsumer.json +1 -0
- package/out/WorldContext.sol/WorldContextConsumerLib.abi.json +1 -0
- package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -0
- package/out/WorldContext.sol/WorldContextProviderLib.abi.json +1 -0
- package/out/WorldContext.sol/WorldContextProviderLib.json +1 -0
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json +691 -0
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json.d.ts +693 -0
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -0
- package/out/WorldResourceId.sol/WorldResourceIdInstance.abi.json +1 -0
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +1 -0
- package/out/WorldResourceId.sol/WorldResourceIdLib.abi.json +1 -0
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +1 -0
- package/out/build-info/91064cccbd48409791caa18068667c93.json +1 -0
- package/out/console.sol/console.abi.json +1 -0
- package/out/console.sol/console.json +1 -0
- package/out/constants.sol/LayoutOffsets.abi.json +1 -0
- package/out/constants.sol/LayoutOffsets.json +1 -0
- package/out/interfaces/IERC165.sol/IERC165.abi.json +21 -0
- package/out/interfaces/IERC165.sol/IERC165.abi.json.d.ts +23 -0
- package/out/interfaces/IERC165.sol/IERC165.json +1 -0
- package/out/safeconsole.sol/safeconsole.abi.json +1 -0
- package/out/safeconsole.sol/safeconsole.json +1 -0
- package/out/src/IERC165.sol/IERC165.abi.json +21 -0
- package/out/src/IERC165.sol/IERC165.abi.json.d.ts +23 -0
- package/out/src/IERC165.sol/IERC165.json +1 -0
- package/package.json +48 -0
- package/src/examples/SimpleVault.sol +33 -0
- package/src/experimental/WorldConsumer.sol +82 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
declare const abi: [
|
|
2
|
+
{
|
|
3
|
+
"type": "error",
|
|
4
|
+
"name": "FieldLayout_Empty",
|
|
5
|
+
"inputs": []
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"type": "error",
|
|
9
|
+
"name": "FieldLayout_InvalidStaticDataLength",
|
|
10
|
+
"inputs": [
|
|
11
|
+
{
|
|
12
|
+
"name": "staticDataLength",
|
|
13
|
+
"type": "uint256",
|
|
14
|
+
"internalType": "uint256"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "computedStaticDataLength",
|
|
18
|
+
"type": "uint256",
|
|
19
|
+
"internalType": "uint256"
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "error",
|
|
25
|
+
"name": "FieldLayout_StaticLengthDoesNotFitInAWord",
|
|
26
|
+
"inputs": [
|
|
27
|
+
{
|
|
28
|
+
"name": "index",
|
|
29
|
+
"type": "uint256",
|
|
30
|
+
"internalType": "uint256"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"type": "error",
|
|
36
|
+
"name": "FieldLayout_StaticLengthIsNotZero",
|
|
37
|
+
"inputs": [
|
|
38
|
+
{
|
|
39
|
+
"name": "index",
|
|
40
|
+
"type": "uint256",
|
|
41
|
+
"internalType": "uint256"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"type": "error",
|
|
47
|
+
"name": "FieldLayout_StaticLengthIsZero",
|
|
48
|
+
"inputs": [
|
|
49
|
+
{
|
|
50
|
+
"name": "index",
|
|
51
|
+
"type": "uint256",
|
|
52
|
+
"internalType": "uint256"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"type": "error",
|
|
58
|
+
"name": "FieldLayout_TooManyDynamicFields",
|
|
59
|
+
"inputs": [
|
|
60
|
+
{
|
|
61
|
+
"name": "numFields",
|
|
62
|
+
"type": "uint256",
|
|
63
|
+
"internalType": "uint256"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "maxFields",
|
|
67
|
+
"type": "uint256",
|
|
68
|
+
"internalType": "uint256"
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "error",
|
|
74
|
+
"name": "FieldLayout_TooManyFields",
|
|
75
|
+
"inputs": [
|
|
76
|
+
{
|
|
77
|
+
"name": "numFields",
|
|
78
|
+
"type": "uint256",
|
|
79
|
+
"internalType": "uint256"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "maxFields",
|
|
83
|
+
"type": "uint256",
|
|
84
|
+
"internalType": "uint256"
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
];
|
|
89
|
+
|
|
90
|
+
export default abi;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"abi":[{"type":"error","name":"FieldLayout_Empty","inputs":[]},{"type":"error","name":"FieldLayout_InvalidStaticDataLength","inputs":[{"name":"staticDataLength","type":"uint256","internalType":"uint256"},{"name":"computedStaticDataLength","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"FieldLayout_StaticLengthDoesNotFitInAWord","inputs":[{"name":"index","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"FieldLayout_StaticLengthIsNotZero","inputs":[{"name":"index","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"FieldLayout_StaticLengthIsZero","inputs":[{"name":"index","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"FieldLayout_TooManyDynamicFields","inputs":[{"name":"numFields","type":"uint256","internalType":"uint256"},{"name":"maxFields","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"FieldLayout_TooManyFields","inputs":[{"name":"numFields","type":"uint256","internalType":"uint256"},{"name":"maxFields","type":"uint256","internalType":"uint256"}]}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"FieldLayout_Empty\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"staticDataLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"computedStaticDataLength\",\"type\":\"uint256\"}],\"name\":\"FieldLayout_InvalidStaticDataLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"FieldLayout_StaticLengthDoesNotFitInAWord\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"FieldLayout_StaticLengthIsNotZero\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"FieldLayout_StaticLengthIsZero\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"numFields\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFields\",\"type\":\"uint256\"}],\"name\":\"FieldLayout_TooManyDynamicFields\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"numFields\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFields\",\"type\":\"uint256\"}],\"name\":\"FieldLayout_TooManyFields\",\"type\":\"error\"}],\"devdoc\":{\"author\":\"MUD (https://mud.dev) by Lattice (https://lattice.xyz)\",\"details\":\"We bundle these errors in an interface (instead of at the file-level or in their corresponding libraries) so they can be inherited by IStore. This ensures that all possible errors are included in the IStore ABI for proper decoding in the frontend.\",\"errors\":{\"FieldLayout_InvalidStaticDataLength(uint256,uint256)\":[{\"params\":{\"computedStaticDataLength\":\"The computed static data length.\",\"staticDataLength\":\"The static data length of the field layout.\"}}],\"FieldLayout_StaticLengthDoesNotFitInAWord(uint256)\":[{\"params\":{\"index\":\"The index of the field.\"}}],\"FieldLayout_StaticLengthIsNotZero(uint256)\":[{\"params\":{\"index\":\"The index of the field.\"}}],\"FieldLayout_StaticLengthIsZero(uint256)\":[{\"params\":{\"index\":\"The index of the field.\"}}],\"FieldLayout_TooManyDynamicFields(uint256,uint256)\":[{\"params\":{\"maxFields\":\"The maximum number of fields a Schema can handle.\",\"numFields\":\"The total number of fields in the field layout.\"}}],\"FieldLayout_TooManyFields(uint256,uint256)\":[{\"params\":{\"maxFields\":\"The maximum number of fields a Schema can handle.\",\"numFields\":\"The total number of fields in the field layout.\"}}]},\"kind\":\"dev\",\"methods\":{},\"title\":\"IFieldLayoutErrors\",\"version\":1},\"userdoc\":{\"errors\":{\"FieldLayout_Empty()\":[{\"notice\":\"Error raised when the provided field layout is empty.\"}],\"FieldLayout_InvalidStaticDataLength(uint256,uint256)\":[{\"notice\":\"Error raised when the provided field layout has an invalid static data length.\"}],\"FieldLayout_StaticLengthDoesNotFitInAWord(uint256)\":[{\"notice\":\"Error raised when the provided field layout has a static data length that does not fit in a word (32 bytes).\"}],\"FieldLayout_StaticLengthIsNotZero(uint256)\":[{\"notice\":\"Error raised when the provided field layout has a nonzero static data length.\"}],\"FieldLayout_StaticLengthIsZero(uint256)\":[{\"notice\":\"Error raised when the provided field layout has a static data length of zero.\"}],\"FieldLayout_TooManyDynamicFields(uint256,uint256)\":[{\"notice\":\"Error raised when the provided field layout has too many dynamic fields.\"}],\"FieldLayout_TooManyFields(uint256,uint256)\":[{\"notice\":\"Error raised when the provided field layout has too many fields.\"}]},\"kind\":\"user\",\"methods\":{},\"notice\":\"This interface includes errors for the FieldLayout library.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/store/src/IFieldLayoutErrors.sol\":\"IFieldLayoutErrors\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"node_modules/@latticexyz/store/src/IFieldLayoutErrors.sol\":{\"keccak256\":\"0xaef70c46e412bded1024ac82c957cea81c1d1ab11878a95635531e2ac9673a53\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cda2c7dc02ee8f0163b1c8d0f3e1e05d48b2a009e5c7365d2418f17bc3455817\",\"dweb:/ipfs/QmXHDZuCPTxjHaeiEaJhA81koX2NJ3Gj1zt5WVWaz77FL8\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[{"inputs":[],"type":"error","name":"FieldLayout_Empty"},{"inputs":[{"internalType":"uint256","name":"staticDataLength","type":"uint256"},{"internalType":"uint256","name":"computedStaticDataLength","type":"uint256"}],"type":"error","name":"FieldLayout_InvalidStaticDataLength"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"type":"error","name":"FieldLayout_StaticLengthDoesNotFitInAWord"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"type":"error","name":"FieldLayout_StaticLengthIsNotZero"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"type":"error","name":"FieldLayout_StaticLengthIsZero"},{"inputs":[{"internalType":"uint256","name":"numFields","type":"uint256"},{"internalType":"uint256","name":"maxFields","type":"uint256"}],"type":"error","name":"FieldLayout_TooManyDynamicFields"},{"inputs":[{"internalType":"uint256","name":"numFields","type":"uint256"},{"internalType":"uint256","name":"maxFields","type":"uint256"}],"type":"error","name":"FieldLayout_TooManyFields"}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@latticexyz/=node_modules/@latticexyz/","forge-std/=node_modules/forge-std/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"node_modules/@latticexyz/store/src/IFieldLayoutErrors.sol":"IFieldLayoutErrors"},"evmVersion":"cancun","libraries":{}},"sources":{"node_modules/@latticexyz/store/src/IFieldLayoutErrors.sol":{"keccak256":"0xaef70c46e412bded1024ac82c957cea81c1d1ab11878a95635531e2ac9673a53","urls":["bzz-raw://cda2c7dc02ee8f0163b1c8d0f3e1e05d48b2a009e5c7365d2418f17bc3455817","dweb:/ipfs/QmXHDZuCPTxjHaeiEaJhA81koX2NJ3Gj1zt5WVWaz77FL8"],"license":"MIT"}},"version":1},"id":8}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "function",
|
|
4
|
+
"name": "install",
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"name": "encodedArgs",
|
|
8
|
+
"type": "bytes",
|
|
9
|
+
"internalType": "bytes"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"outputs": [],
|
|
13
|
+
"stateMutability": "nonpayable"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"type": "function",
|
|
17
|
+
"name": "installRoot",
|
|
18
|
+
"inputs": [
|
|
19
|
+
{
|
|
20
|
+
"name": "encodedArgs",
|
|
21
|
+
"type": "bytes",
|
|
22
|
+
"internalType": "bytes"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"outputs": [],
|
|
26
|
+
"stateMutability": "nonpayable"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"type": "function",
|
|
30
|
+
"name": "supportsInterface",
|
|
31
|
+
"inputs": [
|
|
32
|
+
{
|
|
33
|
+
"name": "interfaceID",
|
|
34
|
+
"type": "bytes4",
|
|
35
|
+
"internalType": "bytes4"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"outputs": [
|
|
39
|
+
{
|
|
40
|
+
"name": "",
|
|
41
|
+
"type": "bool",
|
|
42
|
+
"internalType": "bool"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"stateMutability": "view"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"type": "error",
|
|
49
|
+
"name": "Module_AlreadyInstalled",
|
|
50
|
+
"inputs": []
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"type": "error",
|
|
54
|
+
"name": "Module_MissingDependency",
|
|
55
|
+
"inputs": [
|
|
56
|
+
{
|
|
57
|
+
"name": "dependency",
|
|
58
|
+
"type": "address",
|
|
59
|
+
"internalType": "address"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"type": "error",
|
|
65
|
+
"name": "Module_NonRootInstallNotSupported",
|
|
66
|
+
"inputs": []
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"type": "error",
|
|
70
|
+
"name": "Module_RootInstallNotSupported",
|
|
71
|
+
"inputs": []
|
|
72
|
+
}
|
|
73
|
+
]
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
declare const abi: [
|
|
2
|
+
{
|
|
3
|
+
"type": "function",
|
|
4
|
+
"name": "install",
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"name": "encodedArgs",
|
|
8
|
+
"type": "bytes",
|
|
9
|
+
"internalType": "bytes"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"outputs": [],
|
|
13
|
+
"stateMutability": "nonpayable"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"type": "function",
|
|
17
|
+
"name": "installRoot",
|
|
18
|
+
"inputs": [
|
|
19
|
+
{
|
|
20
|
+
"name": "encodedArgs",
|
|
21
|
+
"type": "bytes",
|
|
22
|
+
"internalType": "bytes"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"outputs": [],
|
|
26
|
+
"stateMutability": "nonpayable"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"type": "function",
|
|
30
|
+
"name": "supportsInterface",
|
|
31
|
+
"inputs": [
|
|
32
|
+
{
|
|
33
|
+
"name": "interfaceID",
|
|
34
|
+
"type": "bytes4",
|
|
35
|
+
"internalType": "bytes4"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"outputs": [
|
|
39
|
+
{
|
|
40
|
+
"name": "",
|
|
41
|
+
"type": "bool",
|
|
42
|
+
"internalType": "bool"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"stateMutability": "view"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"type": "error",
|
|
49
|
+
"name": "Module_AlreadyInstalled",
|
|
50
|
+
"inputs": []
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"type": "error",
|
|
54
|
+
"name": "Module_MissingDependency",
|
|
55
|
+
"inputs": [
|
|
56
|
+
{
|
|
57
|
+
"name": "dependency",
|
|
58
|
+
"type": "address",
|
|
59
|
+
"internalType": "address"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"type": "error",
|
|
65
|
+
"name": "Module_NonRootInstallNotSupported",
|
|
66
|
+
"inputs": []
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"type": "error",
|
|
70
|
+
"name": "Module_RootInstallNotSupported",
|
|
71
|
+
"inputs": []
|
|
72
|
+
}
|
|
73
|
+
];
|
|
74
|
+
|
|
75
|
+
export default abi;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"abi":[{"type":"function","name":"install","inputs":[{"name":"encodedArgs","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"installRoot","inputs":[{"name":"encodedArgs","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceID","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"error","name":"Module_AlreadyInstalled","inputs":[]},{"type":"error","name":"Module_MissingDependency","inputs":[{"name":"dependency","type":"address","internalType":"address"}]},{"type":"error","name":"Module_NonRootInstallNotSupported","inputs":[]},{"type":"error","name":"Module_RootInstallNotSupported","inputs":[]}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"install(bytes)":"13861fb5","installRoot(bytes)":"7c5b0335","supportsInterface(bytes4)":"01ffc9a7"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"Module_AlreadyInstalled\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dependency\",\"type\":\"address\"}],\"name\":\"Module_MissingDependency\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Module_NonRootInstallNotSupported\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Module_RootInstallNotSupported\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"encodedArgs\",\"type\":\"bytes\"}],\"name\":\"install\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"encodedArgs\",\"type\":\"bytes\"}],\"name\":\"installRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"MUD (https://mud.dev) by Lattice (https://lattice.xyz)\",\"details\":\"Interface for the Module system. A module can be installed within the context of a world, either as a root or non-root module. This interface adheres to the ERC-165 standard for determining interface support.\",\"errors\":{\"Module_MissingDependency(address)\":[{\"params\":{\"dependency\":\"The address of the dependency.\"}}]},\"kind\":\"dev\",\"methods\":{\"install(bytes)\":{\"details\":\"This function is invoked by the World contract during `installModule` process. The module expects to be called via the World contract and thus installs itself on the `msg.sender`. Logic might differ from `installRoot`, for example, this might accept namespace parameters.\",\"params\":{\"encodedArgs\":\"The ABI encoded arguments that may be needed during the installation process.\"}},\"installRoot(bytes)\":{\"details\":\"This function is invoked by the World contract during `installRootModule` process. The module expects to be called via the World contract and thus installs itself on the `msg.sender`.\",\"params\":{\"encodedArgs\":\"The ABI encoded arguments that may be needed during the installation process.\"}},\"supportsInterface(bytes4)\":{\"details\":\"Interface identification is specified in ERC-165. This function uses less than 30,000 gas.\",\"params\":{\"interfaceID\":\"The interface identifier, as specified in ERC-165.\"},\"returns\":{\"_0\":\"True if the contract implements `interfaceID` and `interfaceID` is not 0xffffffff, false otherwise.\"}}},\"title\":\"IModule\",\"version\":1},\"userdoc\":{\"errors\":{\"Module_AlreadyInstalled()\":[{\"notice\":\"Error raised if the provided module is already installed.\"}],\"Module_MissingDependency(address)\":[{\"notice\":\"Error raised if the provided module is missing a dependency.\"}],\"Module_NonRootInstallNotSupported()\":[{\"notice\":\"Error raised if installing in non-root is not supported.\"}],\"Module_RootInstallNotSupported()\":[{\"notice\":\"Error raised if installing in root is not supported.\"}]},\"kind\":\"user\",\"methods\":{\"install(bytes)\":{\"notice\":\"Installs the module.\"},\"installRoot(bytes)\":{\"notice\":\"Installs the module as a root module.\"},\"supportsInterface(bytes4)\":{\"notice\":\"Query if a contract implements an interface.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/world/src/IModule.sol\":\"IModule\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"node_modules/@latticexyz/world/src/IERC165.sol\":{\"keccak256\":\"0xe3d9074a1be3247be67ff4dd2c9e41481650ddaa799285a249736bb85673e33d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0b6743ee1e6d0c74927bf17fc1da0cad7575aa7634871b94190ffbdb4c28c2a7\",\"dweb:/ipfs/Qma5bNsPJSBTesWxg3eAAMUBTDE7UjqWaHF7eMiGwP87jr\"]},\"node_modules/@latticexyz/world/src/IModule.sol\":{\"keccak256\":\"0xbb926cf64e685bbf2770d60124664cc84ab70bd3038e17a074f2d472c3fc2c57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://143c3dcbdf1702dd4f9c869629609386c12f7c0247e88a6d062dc4d519ebe0d2\",\"dweb:/ipfs/QmQJSDd8uFL4sssw9fb9NHo4s6zjuDUgmrLHj3zsJuhMo1\"]},\"node_modules/@latticexyz/world/src/IModuleErrors.sol\":{\"keccak256\":\"0x60917e029779c81cfea1f5140c389269e51d7adb78987f39101b9e0d7bdad12d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://513f41920d67ca28c3e0fe247403c28a4d342785192df449c99d5f92db04fcea\",\"dweb:/ipfs/QmeAG2TtxAgcJQR4QxftuSvQrxisYQ1i1GZoyd7oeFQBDJ\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[{"inputs":[],"type":"error","name":"Module_AlreadyInstalled"},{"inputs":[{"internalType":"address","name":"dependency","type":"address"}],"type":"error","name":"Module_MissingDependency"},{"inputs":[],"type":"error","name":"Module_NonRootInstallNotSupported"},{"inputs":[],"type":"error","name":"Module_RootInstallNotSupported"},{"inputs":[{"internalType":"bytes","name":"encodedArgs","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"install"},{"inputs":[{"internalType":"bytes","name":"encodedArgs","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"installRoot"},{"inputs":[{"internalType":"bytes4","name":"interfaceID","type":"bytes4"}],"stateMutability":"view","type":"function","name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}]}],"devdoc":{"kind":"dev","methods":{"install(bytes)":{"details":"This function is invoked by the World contract during `installModule` process. The module expects to be called via the World contract and thus installs itself on the `msg.sender`. Logic might differ from `installRoot`, for example, this might accept namespace parameters.","params":{"encodedArgs":"The ABI encoded arguments that may be needed during the installation process."}},"installRoot(bytes)":{"details":"This function is invoked by the World contract during `installRootModule` process. The module expects to be called via the World contract and thus installs itself on the `msg.sender`.","params":{"encodedArgs":"The ABI encoded arguments that may be needed during the installation process."}},"supportsInterface(bytes4)":{"details":"Interface identification is specified in ERC-165. This function uses less than 30,000 gas.","params":{"interfaceID":"The interface identifier, as specified in ERC-165."},"returns":{"_0":"True if the contract implements `interfaceID` and `interfaceID` is not 0xffffffff, false otherwise."}}},"version":1},"userdoc":{"kind":"user","methods":{"install(bytes)":{"notice":"Installs the module."},"installRoot(bytes)":{"notice":"Installs the module as a root module."},"supportsInterface(bytes4)":{"notice":"Query if a contract implements an interface."}},"version":1}},"settings":{"remappings":["@latticexyz/=node_modules/@latticexyz/","forge-std/=node_modules/forge-std/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"node_modules/@latticexyz/world/src/IModule.sol":"IModule"},"evmVersion":"cancun","libraries":{}},"sources":{"node_modules/@latticexyz/world/src/IERC165.sol":{"keccak256":"0xe3d9074a1be3247be67ff4dd2c9e41481650ddaa799285a249736bb85673e33d","urls":["bzz-raw://0b6743ee1e6d0c74927bf17fc1da0cad7575aa7634871b94190ffbdb4c28c2a7","dweb:/ipfs/Qma5bNsPJSBTesWxg3eAAMUBTDE7UjqWaHF7eMiGwP87jr"],"license":"MIT"},"node_modules/@latticexyz/world/src/IModule.sol":{"keccak256":"0xbb926cf64e685bbf2770d60124664cc84ab70bd3038e17a074f2d472c3fc2c57","urls":["bzz-raw://143c3dcbdf1702dd4f9c869629609386c12f7c0247e88a6d062dc4d519ebe0d2","dweb:/ipfs/QmQJSDd8uFL4sssw9fb9NHo4s6zjuDUgmrLHj3zsJuhMo1"],"license":"MIT"},"node_modules/@latticexyz/world/src/IModuleErrors.sol":{"keccak256":"0x60917e029779c81cfea1f5140c389269e51d7adb78987f39101b9e0d7bdad12d","urls":["bzz-raw://513f41920d67ca28c3e0fe247403c28a4d342785192df449c99d5f92db04fcea","dweb:/ipfs/QmeAG2TtxAgcJQR4QxftuSvQrxisYQ1i1GZoyd7oeFQBDJ"],"license":"MIT"}},"version":1},"id":47}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "error",
|
|
4
|
+
"name": "Module_AlreadyInstalled",
|
|
5
|
+
"inputs": []
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"type": "error",
|
|
9
|
+
"name": "Module_MissingDependency",
|
|
10
|
+
"inputs": [
|
|
11
|
+
{
|
|
12
|
+
"name": "dependency",
|
|
13
|
+
"type": "address",
|
|
14
|
+
"internalType": "address"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"type": "error",
|
|
20
|
+
"name": "Module_NonRootInstallNotSupported",
|
|
21
|
+
"inputs": []
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "error",
|
|
25
|
+
"name": "Module_RootInstallNotSupported",
|
|
26
|
+
"inputs": []
|
|
27
|
+
}
|
|
28
|
+
]
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const abi: [
|
|
2
|
+
{
|
|
3
|
+
"type": "error",
|
|
4
|
+
"name": "Module_AlreadyInstalled",
|
|
5
|
+
"inputs": []
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"type": "error",
|
|
9
|
+
"name": "Module_MissingDependency",
|
|
10
|
+
"inputs": [
|
|
11
|
+
{
|
|
12
|
+
"name": "dependency",
|
|
13
|
+
"type": "address",
|
|
14
|
+
"internalType": "address"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"type": "error",
|
|
20
|
+
"name": "Module_NonRootInstallNotSupported",
|
|
21
|
+
"inputs": []
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "error",
|
|
25
|
+
"name": "Module_RootInstallNotSupported",
|
|
26
|
+
"inputs": []
|
|
27
|
+
}
|
|
28
|
+
];
|
|
29
|
+
|
|
30
|
+
export default abi;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"abi":[{"type":"error","name":"Module_AlreadyInstalled","inputs":[]},{"type":"error","name":"Module_MissingDependency","inputs":[{"name":"dependency","type":"address","internalType":"address"}]},{"type":"error","name":"Module_NonRootInstallNotSupported","inputs":[]},{"type":"error","name":"Module_RootInstallNotSupported","inputs":[]}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"Module_AlreadyInstalled\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dependency\",\"type\":\"address\"}],\"name\":\"Module_MissingDependency\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Module_NonRootInstallNotSupported\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Module_RootInstallNotSupported\",\"type\":\"error\"}],\"devdoc\":{\"author\":\"MUD (https://mud.dev) by Lattice (https://lattice.xyz)\",\"details\":\"We bundle these errors in an interface (instead of at the file-level or in their corresponding library) so they can be inherited by IWorldKernel. This ensures that all errors are included in the IWorldKernel ABI for proper decoding in the frontend.\",\"errors\":{\"Module_MissingDependency(address)\":[{\"params\":{\"dependency\":\"The address of the dependency.\"}}]},\"kind\":\"dev\",\"methods\":{},\"title\":\"IModuleErrors\",\"version\":1},\"userdoc\":{\"errors\":{\"Module_AlreadyInstalled()\":[{\"notice\":\"Error raised if the provided module is already installed.\"}],\"Module_MissingDependency(address)\":[{\"notice\":\"Error raised if the provided module is missing a dependency.\"}],\"Module_NonRootInstallNotSupported()\":[{\"notice\":\"Error raised if installing in non-root is not supported.\"}],\"Module_RootInstallNotSupported()\":[{\"notice\":\"Error raised if installing in root is not supported.\"}]},\"kind\":\"user\",\"methods\":{},\"notice\":\"This interface includes errors for the Module library.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/world/src/IModuleErrors.sol\":\"IModuleErrors\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"node_modules/@latticexyz/world/src/IModuleErrors.sol\":{\"keccak256\":\"0x60917e029779c81cfea1f5140c389269e51d7adb78987f39101b9e0d7bdad12d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://513f41920d67ca28c3e0fe247403c28a4d342785192df449c99d5f92db04fcea\",\"dweb:/ipfs/QmeAG2TtxAgcJQR4QxftuSvQrxisYQ1i1GZoyd7oeFQBDJ\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[{"inputs":[],"type":"error","name":"Module_AlreadyInstalled"},{"inputs":[{"internalType":"address","name":"dependency","type":"address"}],"type":"error","name":"Module_MissingDependency"},{"inputs":[],"type":"error","name":"Module_NonRootInstallNotSupported"},{"inputs":[],"type":"error","name":"Module_RootInstallNotSupported"}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@latticexyz/=node_modules/@latticexyz/","forge-std/=node_modules/forge-std/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"node_modules/@latticexyz/world/src/IModuleErrors.sol":"IModuleErrors"},"evmVersion":"cancun","libraries":{}},"sources":{"node_modules/@latticexyz/world/src/IModuleErrors.sol":{"keccak256":"0x60917e029779c81cfea1f5140c389269e51d7adb78987f39101b9e0d7bdad12d","urls":["bzz-raw://513f41920d67ca28c3e0fe247403c28a4d342785192df449c99d5f92db04fcea","dweb:/ipfs/QmeAG2TtxAgcJQR4QxftuSvQrxisYQ1i1GZoyd7oeFQBDJ"],"license":"MIT"}},"version":1},"id":48}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "function",
|
|
4
|
+
"name": "installModule",
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"name": "module",
|
|
8
|
+
"type": "address",
|
|
9
|
+
"internalType": "contract IModule"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "encodedArgs",
|
|
13
|
+
"type": "bytes",
|
|
14
|
+
"internalType": "bytes"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"outputs": [],
|
|
18
|
+
"stateMutability": "nonpayable"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const abi: [
|
|
2
|
+
{
|
|
3
|
+
"type": "function",
|
|
4
|
+
"name": "installModule",
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"name": "module",
|
|
8
|
+
"type": "address",
|
|
9
|
+
"internalType": "contract IModule"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "encodedArgs",
|
|
13
|
+
"type": "bytes",
|
|
14
|
+
"internalType": "bytes"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"outputs": [],
|
|
18
|
+
"stateMutability": "nonpayable"
|
|
19
|
+
}
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
export default abi;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"abi":[{"type":"function","name":"installModule","inputs":[{"name":"module","type":"address","internalType":"contract IModule"},{"name":"encodedArgs","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"installModule(address,bytes)":"8da798da"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IModule\",\"name\":\"module\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"encodedArgs\",\"type\":\"bytes\"}],\"name\":\"installModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"MUD (https://mud.dev) by Lattice (https://lattice.xyz)\",\"details\":\"This interface is automatically generated from the corresponding system contract. Do not edit manually.\",\"kind\":\"dev\",\"methods\":{},\"title\":\"IModuleInstallationSystem\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/world/src/codegen/interfaces/IModuleInstallationSystem.sol\":\"IModuleInstallationSystem\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"node_modules/@latticexyz/world/src/IERC165.sol\":{\"keccak256\":\"0xe3d9074a1be3247be67ff4dd2c9e41481650ddaa799285a249736bb85673e33d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0b6743ee1e6d0c74927bf17fc1da0cad7575aa7634871b94190ffbdb4c28c2a7\",\"dweb:/ipfs/Qma5bNsPJSBTesWxg3eAAMUBTDE7UjqWaHF7eMiGwP87jr\"]},\"node_modules/@latticexyz/world/src/IModule.sol\":{\"keccak256\":\"0xbb926cf64e685bbf2770d60124664cc84ab70bd3038e17a074f2d472c3fc2c57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://143c3dcbdf1702dd4f9c869629609386c12f7c0247e88a6d062dc4d519ebe0d2\",\"dweb:/ipfs/QmQJSDd8uFL4sssw9fb9NHo4s6zjuDUgmrLHj3zsJuhMo1\"]},\"node_modules/@latticexyz/world/src/IModuleErrors.sol\":{\"keccak256\":\"0x60917e029779c81cfea1f5140c389269e51d7adb78987f39101b9e0d7bdad12d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://513f41920d67ca28c3e0fe247403c28a4d342785192df449c99d5f92db04fcea\",\"dweb:/ipfs/QmeAG2TtxAgcJQR4QxftuSvQrxisYQ1i1GZoyd7oeFQBDJ\"]},\"node_modules/@latticexyz/world/src/codegen/interfaces/IModuleInstallationSystem.sol\":{\"keccak256\":\"0x3e0400cba77c74f53f16357b20449cda64468b519c9bac437564af127766d45a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://75387dc13d9d87e76bd3df827494c0288f48899c77dcfca0eaaac6cf45dd630b\",\"dweb:/ipfs/QmVK2tDx8q6XxttCZheEdEcLpTdKkLxgw446vyv1ToN2p2\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"contract IModule","name":"module","type":"address"},{"internalType":"bytes","name":"encodedArgs","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"installModule"}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@latticexyz/=node_modules/@latticexyz/","forge-std/=node_modules/forge-std/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"node_modules/@latticexyz/world/src/codegen/interfaces/IModuleInstallationSystem.sol":"IModuleInstallationSystem"},"evmVersion":"cancun","libraries":{}},"sources":{"node_modules/@latticexyz/world/src/IERC165.sol":{"keccak256":"0xe3d9074a1be3247be67ff4dd2c9e41481650ddaa799285a249736bb85673e33d","urls":["bzz-raw://0b6743ee1e6d0c74927bf17fc1da0cad7575aa7634871b94190ffbdb4c28c2a7","dweb:/ipfs/Qma5bNsPJSBTesWxg3eAAMUBTDE7UjqWaHF7eMiGwP87jr"],"license":"MIT"},"node_modules/@latticexyz/world/src/IModule.sol":{"keccak256":"0xbb926cf64e685bbf2770d60124664cc84ab70bd3038e17a074f2d472c3fc2c57","urls":["bzz-raw://143c3dcbdf1702dd4f9c869629609386c12f7c0247e88a6d062dc4d519ebe0d2","dweb:/ipfs/QmQJSDd8uFL4sssw9fb9NHo4s6zjuDUgmrLHj3zsJuhMo1"],"license":"MIT"},"node_modules/@latticexyz/world/src/IModuleErrors.sol":{"keccak256":"0x60917e029779c81cfea1f5140c389269e51d7adb78987f39101b9e0d7bdad12d","urls":["bzz-raw://513f41920d67ca28c3e0fe247403c28a4d342785192df449c99d5f92db04fcea","dweb:/ipfs/QmeAG2TtxAgcJQR4QxftuSvQrxisYQ1i1GZoyd7oeFQBDJ"],"license":"MIT"},"node_modules/@latticexyz/world/src/codegen/interfaces/IModuleInstallationSystem.sol":{"keccak256":"0x3e0400cba77c74f53f16357b20449cda64468b519c9bac437564af127766d45a","urls":["bzz-raw://75387dc13d9d87e76bd3df827494c0288f48899c77dcfca0eaaac6cf45dd630b","dweb:/ipfs/QmVK2tDx8q6XxttCZheEdEcLpTdKkLxgw446vyv1ToN2p2"],"license":"MIT"}},"version":1},"id":64}
|