@latticexyz/world-modules 2.0.0-main-fa74f25e → 2.0.0-main-3086581a
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/ArrayLib.sol/ArrayLib.json +255 -255
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +220 -220
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2611 -2611
- package/out/DecodeSlice.sol/DecodeSlice.json +3155 -3155
- package/out/DelegationControl.sol/DelegationControl.json +101 -101
- package/out/EncodeArray.sol/EncodeArray.json +3250 -3250
- package/out/FieldLayout.sol/FieldLayoutInstance.json +51 -51
- package/out/FieldLayout.sol/FieldLayoutLib.json +51 -51
- package/out/Hook.sol/HookInstance.json +16 -16
- package/out/Hook.sol/HookLib.json +16 -16
- package/out/Hooks.sol/Hooks.json +96 -96
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +61 -61
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
- package/out/IBaseWorld.sol/IBaseWorld.json +70 -70
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
- package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
- package/out/IDelegationControl.sol/IDelegationControl.json +66 -66
- package/out/IModule.sol/IModule.json +78 -78
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
- package/out/IStore.sol/IStore.json +4 -4
- package/out/IStoreData.sol/IStoreData.json +4 -4
- package/out/IStoreHook.sol/IStoreHook.json +4 -4
- package/out/IStoreRead.sol/IStoreRead.json +4 -4
- package/out/IStoreRegistration.sol/IStoreRegistration.json +4 -4
- package/out/IStoreWrite.sol/IStoreWrite.json +4 -4
- package/out/ISystemHook.sol/ISystemHook.json +90 -90
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +71 -71
- package/out/IWorldErrors.sol/IWorldErrors.json +150 -150
- package/out/IWorldKernel.sol/IWorldCall.json +156 -156
- package/out/IWorldKernel.sol/IWorldKernel.json +156 -156
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +156 -156
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +198 -198
- package/out/KeysInTable.sol/KeysInTable.json +10684 -10684
- package/out/KeysInTableHook.sol/KeysInTableHook.json +879 -879
- package/out/KeysInTableModule.sol/KeysInTableModule.json +539 -539
- package/out/KeysWithValue.sol/KeysWithValue.json +3844 -3844
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1002 -1002
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +428 -428
- package/out/Memory.sol/Memory.json +8 -8
- package/out/Module.sol/Module.json +90 -90
- package/out/ResourceIds.sol/ResourceIds.json +70 -70
- package/out/Schema.sol/SchemaInstance.json +76 -76
- package/out/Schema.sol/SchemaLib.json +76 -76
- package/out/SchemaType.sol/SchemaType.json +276 -276
- package/out/Slice.sol/SliceInstance.json +8 -8
- package/out/Slice.sol/SliceLib.json +8 -8
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +305 -305
- package/out/Storage.sol/Storage.json +11 -11
- package/out/StoreCore.sol/StoreCore.json +59 -59
- package/out/StoreCore.sol/StoreCoreInternal.json +59 -59
- package/out/StoreHook.sol/StoreHook.json +362 -362
- package/out/StoreHooks.sol/StoreHooks.json +97 -97
- package/out/StoreSwitch.sol/StoreSwitch.json +16 -16
- package/out/System.sol/System.json +35 -35
- package/out/Tables.sol/Tables.json +98 -98
- package/out/TightCoder.sol/TightCoder.json +128 -128
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +124 -124
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +2002 -2002
- package/out/UniqueEntity.sol/UniqueEntity.json +1418 -1418
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +329 -329
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +98 -98
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2738 -2738
- package/out/WorldContext.sol/WorldContextConsumer.json +379 -379
- package/out/WorldContext.sol/WorldContextProvider.json +379 -379
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
- package/out/constants.sol/LayoutOffsets.json +164 -140
- package/out/constants.sol/constants.json +115 -115
- package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
- package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
- package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
- package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
- package/out/hasKey.sol/hasKey.json +130 -130
- package/out/index.sol/index.json +53 -53
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +139 -139
- package/out/leftMask.sol/leftMask.json +61 -61
- package/out/query.sol/query.json +1154 -1154
- package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
- package/out/src/Bytes.sol/Bytes.json +1332 -1332
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +701 -701
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +701 -701
- package/out/src/IStore.sol/IStore.json +57 -57
- package/out/src/IWorldKernel.sol/IWorldCall.json +157 -157
- package/out/src/IWorldKernel.sol/IWorldKernel.json +157 -157
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +157 -157
- package/out/src/Memory.sol/Memory.json +93 -93
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
- package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
- package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
- package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
- package/out/src/Schema.sol/SchemaInstance.json +791 -791
- package/out/src/Schema.sol/SchemaLib.json +791 -791
- package/out/src/Slice.sol/SliceInstance.json +433 -433
- package/out/src/Slice.sol/SliceLib.json +433 -433
- package/out/src/StoreCore.sol/StoreCore.json +4471 -4471
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4471 -4471
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2470 -2470
- package/out/src/WorldContext.sol/WorldContextConsumer.json +379 -379
- package/out/src/WorldContext.sol/WorldContextProvider.json +379 -379
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
- package/out/storeHookTypes.sol/storeHookTypes.json +202 -202
- package/out/storeResourceTypes.sol/storeResourceTypes.json +21 -21
- package/out/tables/ResourceIds.sol/ResourceIds.json +1762 -1762
- package/out/tables/Tables.sol/Tables.json +7304 -7304
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3250 -3250
- package/out/types.sol/types.json +39 -39
- package/out/version.sol/version.json +12 -12
- package/out/world/src/IERC165.sol/IERC165.json +28 -28
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
@@ -329,7 +329,7 @@
|
|
329
329
|
"installRootModule(address,bytes)": "af068c9e",
|
330
330
|
"worldVersion()": "6951955d"
|
331
331
|
},
|
332
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"resource\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"World_AccessDenied\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"World_AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_CallbackNotAllowed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"World_DelegationNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_FunctionSelectorAlreadyExists\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_FunctionSelectorNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"World_InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"},{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"World_InterfaceNotSupported\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_InvalidResourceId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes2\",\"name\":\"expected\",\"type\":\"bytes2\"},{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_InvalidResourceType\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_ResourceAlreadyExists\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_ResourceNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"system\",\"type\":\"address\"}],\"name\":\"World_SystemAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"World_UnlimitedDelegationNotAllowed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"worldVersion\",\"type\":\"bytes32\"}],\"name\":\"HelloWorld\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"call\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"callFrom\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"creator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IModule\",\"name\":\"coreModule\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IModule\",\"name\":\"module\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"args\",\"type\":\"bytes\"}],\"name\":\"installRootModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"worldVersion\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"World_AccessDenied(string,address)\":[{\"params\":{\"caller\":\"The address of the user trying to access the resource.\",\"resource\":\"The resource's identifier.\"}}],\"World_CallbackNotAllowed(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector of the disallowed callback.\"}}],\"World_DelegationNotFound(address,address)\":[{\"params\":{\"delegatee\":\"The address of the delegatee.\",\"delegator\":\"The address of the delegator.\"}}],\"World_FunctionSelectorAlreadyExists(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector in question.\"}}],\"World_FunctionSelectorNotFound(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector in question.\"}}],\"World_InsufficientBalance(uint256,uint256)\":[{\"params\":{\"amount\":\"The amount needed.\",\"balance\":\"The current balance.\"}}],\"World_InterfaceNotSupported(address,bytes4)\":[{\"params\":{\"contractAddress\":\"The address of the contract in question.\",\"interfaceId\":\"The ID of the interface.\"}}],\"World_InvalidResourceId(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_InvalidResourceType(bytes2,bytes32,string)\":[{\"params\":{\"expected\":\"The expected resource type.\",\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_ResourceAlreadyExists(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_ResourceNotFound(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_SystemAlreadyExists(address)\":[{\"params\":{\"system\":\"The address of the system.\"}}]},\"events\":{\"HelloWorld(bytes32)\":{\"details\":\"Emitted upon successful World initialization.\",\"params\":{\"worldVersion\":\"The version of the World being initialized.\"}}},\"kind\":\"dev\",\"methods\":{\"call(bytes32,bytes)\":{\"details\":\"If the system is not public, the caller must have access to the namespace or name (encoded in the system ID).\",\"params\":{\"callData\":\"The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.\",\"systemId\":\"The ID of the system to be called.\"},\"returns\":{\"_0\":\"The abi encoded return data from the called system.\"}},\"callFrom(address,bytes32,bytes)\":{\"details\":\"If the system is not public, the delegator must have access to the namespace or name (encoded in the system ID).\",\"params\":{\"callData\":\"The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.\",\"delegator\":\"The address on whose behalf the call is made.\",\"systemId\":\"The ID of the system to be called.\"},\"returns\":{\"_0\":\"The abi encoded return data from the called system.\"}},\"creator()\":{\"returns\":{\"_0\":\"The address of the World's creator.\"}},\"initialize(address)\":{\"details\":\"Can only be called once by the creator.\",\"params\":{\"coreModule\":\"The CoreModule to be installed during initialization.\"}},\"installRootModule(address,bytes)\":{\"details\":\"Requires the caller to own the root namespace. The module is delegatecalled and installed in the root namespace.\",\"params\":{\"args\":\"The arguments provided for the module installation.\",\"module\":\"The module to be installed.\"}},\"worldVersion()\":{\"returns\":{\"_0\":\"The version identifier of the World.\"}}},\"title\":\"World Kernel Interface\",\"version\":1},\"userdoc\":{\"errors\":{\"World_AccessDenied(string,address)\":[{\"notice\":\"Raised when a user tries to access a resource they don't have permission for.\"}],\"World_AlreadyInitialized()\":[{\"notice\":\"Raised when trying to initialize an already initialized World.\"}],\"World_CallbackNotAllowed(bytes4)\":[{\"notice\":\"Raised when the World is calling itself via an external call.\"}],\"World_DelegationNotFound(address,address)\":[{\"notice\":\"Raised when the specified delegation is not found.\"}],\"World_FunctionSelectorAlreadyExists(bytes4)\":[{\"notice\":\"Raised when trying to register a function selector that already exists.\"}],\"World_FunctionSelectorNotFound(bytes4)\":[{\"notice\":\"Raised when the specified function selector is not found.\"}],\"World_InsufficientBalance(uint256,uint256)\":[{\"notice\":\"Raised when there's an insufficient balance for a particular operation.\"}],\"World_InterfaceNotSupported(address,bytes4)\":[{\"notice\":\"Raised when the specified interface is not supported by the contract.\"}],\"World_InvalidResourceId(bytes32,string)\":[{\"notice\":\"Raised when an invalid resource ID is provided.\"}],\"World_InvalidResourceType(bytes2,bytes32,string)\":[{\"notice\":\"Raised when an invalid resource type is provided.\"}],\"World_ResourceAlreadyExists(bytes32,string)\":[{\"notice\":\"Raised when trying to register a resource that already exists.\"}],\"World_ResourceNotFound(bytes32,string)\":[{\"notice\":\"Raised when the specified resource is not found.\"}],\"World_SystemAlreadyExists(address)\":[{\"notice\":\"Raised when trying to register a system that already exists.\"}],\"World_UnlimitedDelegationNotAllowed()\":[{\"notice\":\"Raised when trying to create an unlimited delegation in a context where it is not allowed, e.g. when registering a namespace fallback delegation.\"}]},\"kind\":\"user\",\"methods\":{\"call(bytes32,bytes)\":{\"notice\":\"Call the system at the given system ID.\"},\"callFrom(address,bytes32,bytes)\":{\"notice\":\"Call the system at the given system ID on behalf of the given delegator.\"},\"creator()\":{\"notice\":\"Retrieve the immutable original deployer of the World.\"},\"initialize(address)\":{\"notice\":\"Initializes the World.\"},\"installRootModule(address,bytes)\":{\"notice\":\"Install the given root module in the World.\"},\"worldVersion()\":{\"notice\":\"Retrieve the version of the World.\"}},\"notice\":\"The IWorldKernel interface includes all methods that are part of the World contract's internal bytecode. Consumers should use the `IBaseWorld` interface instead, which includes dynamically registered functions selectors from the `CoreModule`.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/world/src/IWorldKernel.sol\":\"IWorldKernel\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0xb36724e0369ad053579ec04b9b51707dd8dcc4a72b38404cebdf018ce40bf202\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d8745e1632b7ee94f128600837a36ae53fabaf73c506b0c6d1cae70ea2e9b086\",\"dweb:/ipfs/QmXuMqmybWjEPqWEx91DTM7KAUyxAmDcsj7riBfCfA427N\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x4a61aefe72d6035b1e9aca7841aab44ebd26f8706bdbb447f382046fa94753b6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f715743739e4f8f8a98d78397025a92299ecb3b5dde88cc53bc1ab72bf531fa6\",\"dweb:/ipfs/QmVsYAupGWZUemE4t6xjLqztGHadQ8cyo9E4mT5ZDKUmTs\"]},\"node_modules/@latticexyz/store/src/storeResourceTypes.sol\":{\"keccak256\":\"0xb2c27c7b8f974f1e3c70dd82c92f35f5bbd2887e16afe454e6dbc38300a51feb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6cbdbcc95835f67030eebdebeaf0bfd6faa612381179e7f7be8b9d3c00b20878\",\"dweb:/ipfs/QmNeZU5MmRQqhcLxN6BA2BQvgEst8yg67F4VQoPJEEK6kg\"]},\"node_modules/@latticexyz/world/src/IERC165.sol\":{\"keccak256\":\"0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5\",\"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y\"]},\"node_modules/@latticexyz/world/src/IModule.sol\":{\"keccak256\":\"0xec02d49b84a882c9cf01e4e5c16f890ed7c52db945fd43a6f97ffe87730ba0d3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f8ee1a3aaac5789b36808bdae2e26e32d1664583a6b21680b5721f04d81bbc3\",\"dweb:/ipfs/Qmd4L3vGQiavSCe9g2k7riyA6cer3ruuxRFehAJCSxNRfw\"]},\"node_modules/@latticexyz/world/src/IWorldErrors.sol\":{\"keccak256\":\"0xc3e7975e5785574543229eac51e3441f4185863d7f5346c0ae08a27b4541f8a7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://62cc0dc109e6e5475bb07fb95643a31c74337c23521db0557a36dad6117a1e83\",\"dweb:/ipfs/Qmb8jbE1XQTUdreKFr4Jw3xmjctaLuReRZjPxZKQ2uW9p4\"]},\"node_modules/@latticexyz/world/src/IWorldKernel.sol\":{\"keccak256\":\"0x9dc133cb55dc23fd6fcbbef8078bb4ea9bf67d698400cf89fc62b905b60cf5eb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7c1a57df7052218483eafe72d873660f39a73e2e06c1b14ad8a579d85b94bc6c\",\"dweb:/ipfs/Qme7dnjvADGZyM2L7nZ51nSjsjXXF9isTVCpWaUCd1cEGs\"]},\"node_modules/@latticexyz/world/src/WorldResourceId.sol\":{\"keccak256\":\"0xb7bfae2890004001221b3902d185c14cfea0e606d16914f6b7f81cf112aa9417\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acfd0d09166fc1bf16a8a5c80fbae1bd42426b2fcbab3c492bc836ea5c0375fb\",\"dweb:/ipfs/QmTzZWHVBkx8hipFVpgEwAbZpr4c6hfr7yf7R71JojT3NK\"]},\"node_modules/@latticexyz/world/src/constants.sol\":{\"keccak256\":\"0x36c772d51a5da46fcddf88831194d6d331083b8c8246fa79107c4b697c258d77\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d2656374c398a2b075d5f26d2ab2c3ea315c99912e52d8030d50f5f8fdda8ac\",\"dweb:/ipfs/QmSG8uJr2ZbFVnht5cTG6xb6XbB6f3kvnznks4BdeAMYET\"]},\"node_modules/@latticexyz/world/src/worldResourceTypes.sol\":{\"keccak256\":\"0xe31ee781596541f60ed71ef327c9d26ffc899e7fb3f4991c67406518bfc00746\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7b864fea8c77833a322b16c4673f110d5065d0cafcedecd07895699cf4258c2\",\"dweb:/ipfs/QmRkzXVjMLwQFWxjEjgfdXVPAp6SU4zfxPo4NJcmz8HwH9\"]}},\"version\":1}",
|
332
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"resource\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"World_AccessDenied\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"World_AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_CallbackNotAllowed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"World_DelegationNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_FunctionSelectorAlreadyExists\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_FunctionSelectorNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"World_InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"},{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"World_InterfaceNotSupported\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_InvalidResourceId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes2\",\"name\":\"expected\",\"type\":\"bytes2\"},{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_InvalidResourceType\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_ResourceAlreadyExists\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_ResourceNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"system\",\"type\":\"address\"}],\"name\":\"World_SystemAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"World_UnlimitedDelegationNotAllowed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"worldVersion\",\"type\":\"bytes32\"}],\"name\":\"HelloWorld\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"call\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"callFrom\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"creator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IModule\",\"name\":\"coreModule\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IModule\",\"name\":\"module\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"args\",\"type\":\"bytes\"}],\"name\":\"installRootModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"worldVersion\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"World_AccessDenied(string,address)\":[{\"params\":{\"caller\":\"The address of the user trying to access the resource.\",\"resource\":\"The resource's identifier.\"}}],\"World_CallbackNotAllowed(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector of the disallowed callback.\"}}],\"World_DelegationNotFound(address,address)\":[{\"params\":{\"delegatee\":\"The address of the delegatee.\",\"delegator\":\"The address of the delegator.\"}}],\"World_FunctionSelectorAlreadyExists(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector in question.\"}}],\"World_FunctionSelectorNotFound(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector in question.\"}}],\"World_InsufficientBalance(uint256,uint256)\":[{\"params\":{\"amount\":\"The amount needed.\",\"balance\":\"The current balance.\"}}],\"World_InterfaceNotSupported(address,bytes4)\":[{\"params\":{\"contractAddress\":\"The address of the contract in question.\",\"interfaceId\":\"The ID of the interface.\"}}],\"World_InvalidResourceId(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_InvalidResourceType(bytes2,bytes32,string)\":[{\"params\":{\"expected\":\"The expected resource type.\",\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_ResourceAlreadyExists(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_ResourceNotFound(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_SystemAlreadyExists(address)\":[{\"params\":{\"system\":\"The address of the system.\"}}]},\"events\":{\"HelloWorld(bytes32)\":{\"details\":\"Emitted upon successful World initialization.\",\"params\":{\"worldVersion\":\"The version of the World being initialized.\"}}},\"kind\":\"dev\",\"methods\":{\"call(bytes32,bytes)\":{\"details\":\"If the system is not public, the caller must have access to the namespace or name (encoded in the system ID).\",\"params\":{\"callData\":\"The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.\",\"systemId\":\"The ID of the system to be called.\"},\"returns\":{\"_0\":\"The abi encoded return data from the called system.\"}},\"callFrom(address,bytes32,bytes)\":{\"details\":\"If the system is not public, the delegator must have access to the namespace or name (encoded in the system ID).\",\"params\":{\"callData\":\"The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.\",\"delegator\":\"The address on whose behalf the call is made.\",\"systemId\":\"The ID of the system to be called.\"},\"returns\":{\"_0\":\"The abi encoded return data from the called system.\"}},\"creator()\":{\"returns\":{\"_0\":\"The address of the World's creator.\"}},\"initialize(address)\":{\"details\":\"Can only be called once by the creator.\",\"params\":{\"coreModule\":\"The CoreModule to be installed during initialization.\"}},\"installRootModule(address,bytes)\":{\"details\":\"Requires the caller to own the root namespace. The module is delegatecalled and installed in the root namespace.\",\"params\":{\"args\":\"The arguments provided for the module installation.\",\"module\":\"The module to be installed.\"}},\"worldVersion()\":{\"returns\":{\"_0\":\"The version identifier of the World.\"}}},\"title\":\"World Kernel Interface\",\"version\":1},\"userdoc\":{\"errors\":{\"World_AccessDenied(string,address)\":[{\"notice\":\"Raised when a user tries to access a resource they don't have permission for.\"}],\"World_AlreadyInitialized()\":[{\"notice\":\"Raised when trying to initialize an already initialized World.\"}],\"World_CallbackNotAllowed(bytes4)\":[{\"notice\":\"Raised when the World is calling itself via an external call.\"}],\"World_DelegationNotFound(address,address)\":[{\"notice\":\"Raised when the specified delegation is not found.\"}],\"World_FunctionSelectorAlreadyExists(bytes4)\":[{\"notice\":\"Raised when trying to register a function selector that already exists.\"}],\"World_FunctionSelectorNotFound(bytes4)\":[{\"notice\":\"Raised when the specified function selector is not found.\"}],\"World_InsufficientBalance(uint256,uint256)\":[{\"notice\":\"Raised when there's an insufficient balance for a particular operation.\"}],\"World_InterfaceNotSupported(address,bytes4)\":[{\"notice\":\"Raised when the specified interface is not supported by the contract.\"}],\"World_InvalidResourceId(bytes32,string)\":[{\"notice\":\"Raised when an invalid resource ID is provided.\"}],\"World_InvalidResourceType(bytes2,bytes32,string)\":[{\"notice\":\"Raised when an invalid resource type is provided.\"}],\"World_ResourceAlreadyExists(bytes32,string)\":[{\"notice\":\"Raised when trying to register a resource that already exists.\"}],\"World_ResourceNotFound(bytes32,string)\":[{\"notice\":\"Raised when the specified resource is not found.\"}],\"World_SystemAlreadyExists(address)\":[{\"notice\":\"Raised when trying to register a system that already exists.\"}],\"World_UnlimitedDelegationNotAllowed()\":[{\"notice\":\"Raised when trying to create an unlimited delegation in a context where it is not allowed, e.g. when registering a namespace fallback delegation.\"}]},\"kind\":\"user\",\"methods\":{\"call(bytes32,bytes)\":{\"notice\":\"Call the system at the given system ID.\"},\"callFrom(address,bytes32,bytes)\":{\"notice\":\"Call the system at the given system ID on behalf of the given delegator.\"},\"creator()\":{\"notice\":\"Retrieve the immutable original deployer of the World.\"},\"initialize(address)\":{\"notice\":\"Initializes the World.\"},\"installRootModule(address,bytes)\":{\"notice\":\"Install the given root module in the World.\"},\"worldVersion()\":{\"notice\":\"Retrieve the version of the World.\"}},\"notice\":\"The IWorldKernel interface includes all methods that are part of the World contract's internal bytecode. Consumers should use the `IBaseWorld` interface instead, which includes dynamically registered functions selectors from the `CoreModule`.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/world/src/IWorldKernel.sol\":\"IWorldKernel\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0xb36724e0369ad053579ec04b9b51707dd8dcc4a72b38404cebdf018ce40bf202\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d8745e1632b7ee94f128600837a36ae53fabaf73c506b0c6d1cae70ea2e9b086\",\"dweb:/ipfs/QmXuMqmybWjEPqWEx91DTM7KAUyxAmDcsj7riBfCfA427N\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x4a61aefe72d6035b1e9aca7841aab44ebd26f8706bdbb447f382046fa94753b6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f715743739e4f8f8a98d78397025a92299ecb3b5dde88cc53bc1ab72bf531fa6\",\"dweb:/ipfs/QmVsYAupGWZUemE4t6xjLqztGHadQ8cyo9E4mT5ZDKUmTs\"]},\"node_modules/@latticexyz/store/src/storeResourceTypes.sol\":{\"keccak256\":\"0xada1867ba72930fc5cf5562dd4e36de849dbac9c833b7969cb1b046a808fabf2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e4b5fdcaa54f567a3f8561c2c3fbc0d68c8dad892a4a8e5418bbce8efc53d84\",\"dweb:/ipfs/QmTWbYJX1yrCqrEwUKB9rGpHdRvLNU8GCkBbxnLjGD4d2t\"]},\"node_modules/@latticexyz/world/src/IERC165.sol\":{\"keccak256\":\"0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5\",\"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y\"]},\"node_modules/@latticexyz/world/src/IModule.sol\":{\"keccak256\":\"0xec02d49b84a882c9cf01e4e5c16f890ed7c52db945fd43a6f97ffe87730ba0d3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f8ee1a3aaac5789b36808bdae2e26e32d1664583a6b21680b5721f04d81bbc3\",\"dweb:/ipfs/Qmd4L3vGQiavSCe9g2k7riyA6cer3ruuxRFehAJCSxNRfw\"]},\"node_modules/@latticexyz/world/src/IWorldErrors.sol\":{\"keccak256\":\"0xc3e7975e5785574543229eac51e3441f4185863d7f5346c0ae08a27b4541f8a7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://62cc0dc109e6e5475bb07fb95643a31c74337c23521db0557a36dad6117a1e83\",\"dweb:/ipfs/Qmb8jbE1XQTUdreKFr4Jw3xmjctaLuReRZjPxZKQ2uW9p4\"]},\"node_modules/@latticexyz/world/src/IWorldKernel.sol\":{\"keccak256\":\"0x9dc133cb55dc23fd6fcbbef8078bb4ea9bf67d698400cf89fc62b905b60cf5eb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7c1a57df7052218483eafe72d873660f39a73e2e06c1b14ad8a579d85b94bc6c\",\"dweb:/ipfs/Qme7dnjvADGZyM2L7nZ51nSjsjXXF9isTVCpWaUCd1cEGs\"]},\"node_modules/@latticexyz/world/src/WorldResourceId.sol\":{\"keccak256\":\"0xb7bfae2890004001221b3902d185c14cfea0e606d16914f6b7f81cf112aa9417\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acfd0d09166fc1bf16a8a5c80fbae1bd42426b2fcbab3c492bc836ea5c0375fb\",\"dweb:/ipfs/QmTzZWHVBkx8hipFVpgEwAbZpr4c6hfr7yf7R71JojT3NK\"]},\"node_modules/@latticexyz/world/src/constants.sol\":{\"keccak256\":\"0x36c772d51a5da46fcddf88831194d6d331083b8c8246fa79107c4b697c258d77\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d2656374c398a2b075d5f26d2ab2c3ea315c99912e52d8030d50f5f8fdda8ac\",\"dweb:/ipfs/QmSG8uJr2ZbFVnht5cTG6xb6XbB6f3kvnznks4BdeAMYET\"]},\"node_modules/@latticexyz/world/src/worldResourceTypes.sol\":{\"keccak256\":\"0xe31ee781596541f60ed71ef327c9d26ffc899e7fb3f4991c67406518bfc00746\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7b864fea8c77833a322b16c4673f110d5065d0cafcedecd07895699cf4258c2\",\"dweb:/ipfs/QmRkzXVjMLwQFWxjEjgfdXVPAp6SU4zfxPo4NJcmz8HwH9\"]}},\"version\":1}",
|
333
333
|
"metadata": {
|
334
334
|
"compiler": {
|
335
335
|
"version": "0.8.21+commit.d9974bed"
|
@@ -757,10 +757,10 @@
|
|
757
757
|
"license": "MIT"
|
758
758
|
},
|
759
759
|
"node_modules/@latticexyz/store/src/storeResourceTypes.sol": {
|
760
|
-
"keccak256": "
|
760
|
+
"keccak256": "0xada1867ba72930fc5cf5562dd4e36de849dbac9c833b7969cb1b046a808fabf2",
|
761
761
|
"urls": [
|
762
|
-
"bzz-raw://
|
763
|
-
"dweb:/ipfs/
|
762
|
+
"bzz-raw://6e4b5fdcaa54f567a3f8561c2c3fbc0d68c8dad892a4a8e5418bbce8efc53d84",
|
763
|
+
"dweb:/ipfs/QmTWbYJX1yrCqrEwUKB9rGpHdRvLNU8GCkBbxnLjGD4d2t"
|
764
764
|
],
|
765
765
|
"license": "MIT"
|
766
766
|
},
|
@@ -825,32 +825,32 @@
|
|
825
825
|
},
|
826
826
|
"ast": {
|
827
827
|
"absolutePath": "node_modules/@latticexyz/world/src/IWorldKernel.sol",
|
828
|
-
"id":
|
828
|
+
"id": 38650,
|
829
829
|
"exportedSymbols": {
|
830
830
|
"IModule": [
|
831
|
-
|
831
|
+
60941
|
832
832
|
],
|
833
833
|
"IWorldCall": [
|
834
|
-
|
834
|
+
38617
|
835
835
|
],
|
836
836
|
"IWorldErrors": [
|
837
|
-
|
837
|
+
61035
|
838
838
|
],
|
839
839
|
"IWorldKernel": [
|
840
|
-
|
840
|
+
38649
|
841
841
|
],
|
842
842
|
"IWorldModuleInstallation": [
|
843
|
-
|
843
|
+
38591
|
844
844
|
],
|
845
845
|
"ResourceId": [
|
846
|
-
|
846
|
+
26262
|
847
847
|
]
|
848
848
|
},
|
849
849
|
"nodeType": "SourceUnit",
|
850
850
|
"src": "32:3258:94",
|
851
851
|
"nodes": [
|
852
852
|
{
|
853
|
-
"id":
|
853
|
+
"id": 38574,
|
854
854
|
"nodeType": "PragmaDirective",
|
855
855
|
"src": "32:25:94",
|
856
856
|
"nodes": [],
|
@@ -862,23 +862,23 @@
|
|
862
862
|
]
|
863
863
|
},
|
864
864
|
{
|
865
|
-
"id":
|
865
|
+
"id": 38576,
|
866
866
|
"nodeType": "ImportDirective",
|
867
867
|
"src": "59:50:94",
|
868
868
|
"nodes": [],
|
869
869
|
"absolutePath": "node_modules/@latticexyz/world/src/IWorldErrors.sol",
|
870
870
|
"file": "./IWorldErrors.sol",
|
871
871
|
"nameLocation": "-1:-1:-1",
|
872
|
-
"scope":
|
873
|
-
"sourceUnit":
|
872
|
+
"scope": 38650,
|
873
|
+
"sourceUnit": 61036,
|
874
874
|
"symbolAliases": [
|
875
875
|
{
|
876
876
|
"foreign": {
|
877
|
-
"id":
|
877
|
+
"id": 38575,
|
878
878
|
"name": "IWorldErrors",
|
879
879
|
"nodeType": "Identifier",
|
880
880
|
"overloadedDeclarations": [],
|
881
|
-
"referencedDeclaration":
|
881
|
+
"referencedDeclaration": 61035,
|
882
882
|
"src": "68:12:94",
|
883
883
|
"typeDescriptions": {}
|
884
884
|
},
|
@@ -888,23 +888,23 @@
|
|
888
888
|
"unitAlias": ""
|
889
889
|
},
|
890
890
|
{
|
891
|
-
"id":
|
891
|
+
"id": 38578,
|
892
892
|
"nodeType": "ImportDirective",
|
893
893
|
"src": "110:40:94",
|
894
894
|
"nodes": [],
|
895
895
|
"absolutePath": "node_modules/@latticexyz/world/src/IModule.sol",
|
896
896
|
"file": "./IModule.sol",
|
897
897
|
"nameLocation": "-1:-1:-1",
|
898
|
-
"scope":
|
899
|
-
"sourceUnit":
|
898
|
+
"scope": 38650,
|
899
|
+
"sourceUnit": 60942,
|
900
900
|
"symbolAliases": [
|
901
901
|
{
|
902
902
|
"foreign": {
|
903
|
-
"id":
|
903
|
+
"id": 38577,
|
904
904
|
"name": "IModule",
|
905
905
|
"nodeType": "Identifier",
|
906
906
|
"overloadedDeclarations": [],
|
907
|
-
"referencedDeclaration":
|
907
|
+
"referencedDeclaration": 60941,
|
908
908
|
"src": "119:7:94",
|
909
909
|
"typeDescriptions": {}
|
910
910
|
},
|
@@ -914,23 +914,23 @@
|
|
914
914
|
"unitAlias": ""
|
915
915
|
},
|
916
916
|
{
|
917
|
-
"id":
|
917
|
+
"id": 38580,
|
918
918
|
"nodeType": "ImportDirective",
|
919
919
|
"src": "151:51:94",
|
920
920
|
"nodes": [],
|
921
921
|
"absolutePath": "node_modules/@latticexyz/world/src/WorldResourceId.sol",
|
922
922
|
"file": "./WorldResourceId.sol",
|
923
923
|
"nameLocation": "-1:-1:-1",
|
924
|
-
"scope":
|
925
|
-
"sourceUnit":
|
924
|
+
"scope": 38650,
|
925
|
+
"sourceUnit": 39208,
|
926
926
|
"symbolAliases": [
|
927
927
|
{
|
928
928
|
"foreign": {
|
929
|
-
"id":
|
929
|
+
"id": 38579,
|
930
930
|
"name": "ResourceId",
|
931
931
|
"nodeType": "Identifier",
|
932
932
|
"overloadedDeclarations": [],
|
933
|
-
"referencedDeclaration":
|
933
|
+
"referencedDeclaration": 26262,
|
934
934
|
"src": "160:10:94",
|
935
935
|
"typeDescriptions": {}
|
936
936
|
},
|
@@ -940,17 +940,17 @@
|
|
940
940
|
"unitAlias": ""
|
941
941
|
},
|
942
942
|
{
|
943
|
-
"id":
|
943
|
+
"id": 38591,
|
944
944
|
"nodeType": "ContractDefinition",
|
945
945
|
"src": "354:420:94",
|
946
946
|
"nodes": [
|
947
947
|
{
|
948
|
-
"id":
|
948
|
+
"id": 38590,
|
949
949
|
"nodeType": "FunctionDefinition",
|
950
950
|
"src": "701:71:94",
|
951
951
|
"nodes": [],
|
952
952
|
"documentation": {
|
953
|
-
"id":
|
953
|
+
"id": 38582,
|
954
954
|
"nodeType": "StructuredDocumentation",
|
955
955
|
"src": "393:305:94",
|
956
956
|
"text": " @notice Install the given root module in the World.\n @dev Requires the caller to own the root namespace. The module is delegatecalled and installed in the root namespace.\n @param module The module to be installed.\n @param args The arguments provided for the module installation."
|
@@ -962,41 +962,41 @@
|
|
962
962
|
"name": "installRootModule",
|
963
963
|
"nameLocation": "710:17:94",
|
964
964
|
"parameters": {
|
965
|
-
"id":
|
965
|
+
"id": 38588,
|
966
966
|
"nodeType": "ParameterList",
|
967
967
|
"parameters": [
|
968
968
|
{
|
969
969
|
"constant": false,
|
970
|
-
"id":
|
970
|
+
"id": 38585,
|
971
971
|
"mutability": "mutable",
|
972
972
|
"name": "module",
|
973
973
|
"nameLocation": "736:6:94",
|
974
974
|
"nodeType": "VariableDeclaration",
|
975
|
-
"scope":
|
975
|
+
"scope": 38590,
|
976
976
|
"src": "728:14:94",
|
977
977
|
"stateVariable": false,
|
978
978
|
"storageLocation": "default",
|
979
979
|
"typeDescriptions": {
|
980
|
-
"typeIdentifier": "t_contract$_IModule_$
|
980
|
+
"typeIdentifier": "t_contract$_IModule_$60941",
|
981
981
|
"typeString": "contract IModule"
|
982
982
|
},
|
983
983
|
"typeName": {
|
984
|
-
"id":
|
984
|
+
"id": 38584,
|
985
985
|
"nodeType": "UserDefinedTypeName",
|
986
986
|
"pathNode": {
|
987
|
-
"id":
|
987
|
+
"id": 38583,
|
988
988
|
"name": "IModule",
|
989
989
|
"nameLocations": [
|
990
990
|
"728:7:94"
|
991
991
|
],
|
992
992
|
"nodeType": "IdentifierPath",
|
993
|
-
"referencedDeclaration":
|
993
|
+
"referencedDeclaration": 60941,
|
994
994
|
"src": "728:7:94"
|
995
995
|
},
|
996
|
-
"referencedDeclaration":
|
996
|
+
"referencedDeclaration": 60941,
|
997
997
|
"src": "728:7:94",
|
998
998
|
"typeDescriptions": {
|
999
|
-
"typeIdentifier": "t_contract$_IModule_$
|
999
|
+
"typeIdentifier": "t_contract$_IModule_$60941",
|
1000
1000
|
"typeString": "contract IModule"
|
1001
1001
|
}
|
1002
1002
|
},
|
@@ -1004,12 +1004,12 @@
|
|
1004
1004
|
},
|
1005
1005
|
{
|
1006
1006
|
"constant": false,
|
1007
|
-
"id":
|
1007
|
+
"id": 38587,
|
1008
1008
|
"mutability": "mutable",
|
1009
1009
|
"name": "args",
|
1010
1010
|
"nameLocation": "757:4:94",
|
1011
1011
|
"nodeType": "VariableDeclaration",
|
1012
|
-
"scope":
|
1012
|
+
"scope": 38590,
|
1013
1013
|
"src": "744:17:94",
|
1014
1014
|
"stateVariable": false,
|
1015
1015
|
"storageLocation": "memory",
|
@@ -1018,7 +1018,7 @@
|
|
1018
1018
|
"typeString": "bytes"
|
1019
1019
|
},
|
1020
1020
|
"typeName": {
|
1021
|
-
"id":
|
1021
|
+
"id": 38586,
|
1022
1022
|
"name": "bytes",
|
1023
1023
|
"nodeType": "ElementaryTypeName",
|
1024
1024
|
"src": "744:5:94",
|
@@ -1033,12 +1033,12 @@
|
|
1033
1033
|
"src": "727:35:94"
|
1034
1034
|
},
|
1035
1035
|
"returnParameters": {
|
1036
|
-
"id":
|
1036
|
+
"id": 38589,
|
1037
1037
|
"nodeType": "ParameterList",
|
1038
1038
|
"parameters": [],
|
1039
1039
|
"src": "771:0:94"
|
1040
1040
|
},
|
1041
|
-
"scope":
|
1041
|
+
"scope": 38591,
|
1042
1042
|
"stateMutability": "nonpayable",
|
1043
1043
|
"virtual": false,
|
1044
1044
|
"visibility": "external"
|
@@ -1050,33 +1050,33 @@
|
|
1050
1050
|
"contractDependencies": [],
|
1051
1051
|
"contractKind": "interface",
|
1052
1052
|
"documentation": {
|
1053
|
-
"id":
|
1053
|
+
"id": 38581,
|
1054
1054
|
"nodeType": "StructuredDocumentation",
|
1055
1055
|
"src": "204:149:94",
|
1056
1056
|
"text": " @title World Module Installation Interface\n @dev This interface defines the contract responsible for managing root modules installation."
|
1057
1057
|
},
|
1058
1058
|
"fullyImplemented": false,
|
1059
1059
|
"linearizedBaseContracts": [
|
1060
|
-
|
1060
|
+
38591
|
1061
1061
|
],
|
1062
1062
|
"name": "IWorldModuleInstallation",
|
1063
1063
|
"nameLocation": "364:24:94",
|
1064
|
-
"scope":
|
1064
|
+
"scope": 38650,
|
1065
1065
|
"usedErrors": [],
|
1066
1066
|
"usedEvents": []
|
1067
1067
|
},
|
1068
1068
|
{
|
1069
|
-
"id":
|
1069
|
+
"id": 38617,
|
1070
1070
|
"nodeType": "ContractDefinition",
|
1071
1071
|
"src": "903:1234:94",
|
1072
1072
|
"nodes": [
|
1073
1073
|
{
|
1074
|
-
"id":
|
1074
|
+
"id": 38603,
|
1075
1075
|
"nodeType": "FunctionDefinition",
|
1076
1076
|
"src": "1360:98:94",
|
1077
1077
|
"nodes": [],
|
1078
1078
|
"documentation": {
|
1079
|
-
"id":
|
1079
|
+
"id": 38593,
|
1080
1080
|
"nodeType": "StructuredDocumentation",
|
1081
1081
|
"src": "928:429:94",
|
1082
1082
|
"text": " @notice Call the system at the given system ID.\n @dev If the system is not public, the caller must have access to the namespace or name (encoded in the system ID).\n @param systemId The ID of the system to be called.\n @param callData The data to pass with the call,\n function selector (4 bytes) followed by the ABI encoded parameters.\n @return The abi encoded return data from the called system."
|
@@ -1088,41 +1088,41 @@
|
|
1088
1088
|
"name": "call",
|
1089
1089
|
"nameLocation": "1369:4:94",
|
1090
1090
|
"parameters": {
|
1091
|
-
"id":
|
1091
|
+
"id": 38599,
|
1092
1092
|
"nodeType": "ParameterList",
|
1093
1093
|
"parameters": [
|
1094
1094
|
{
|
1095
1095
|
"constant": false,
|
1096
|
-
"id":
|
1096
|
+
"id": 38596,
|
1097
1097
|
"mutability": "mutable",
|
1098
1098
|
"name": "systemId",
|
1099
1099
|
"nameLocation": "1385:8:94",
|
1100
1100
|
"nodeType": "VariableDeclaration",
|
1101
|
-
"scope":
|
1101
|
+
"scope": 38603,
|
1102
1102
|
"src": "1374:19:94",
|
1103
1103
|
"stateVariable": false,
|
1104
1104
|
"storageLocation": "default",
|
1105
1105
|
"typeDescriptions": {
|
1106
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1106
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
|
1107
1107
|
"typeString": "ResourceId"
|
1108
1108
|
},
|
1109
1109
|
"typeName": {
|
1110
|
-
"id":
|
1110
|
+
"id": 38595,
|
1111
1111
|
"nodeType": "UserDefinedTypeName",
|
1112
1112
|
"pathNode": {
|
1113
|
-
"id":
|
1113
|
+
"id": 38594,
|
1114
1114
|
"name": "ResourceId",
|
1115
1115
|
"nameLocations": [
|
1116
1116
|
"1374:10:94"
|
1117
1117
|
],
|
1118
1118
|
"nodeType": "IdentifierPath",
|
1119
|
-
"referencedDeclaration":
|
1119
|
+
"referencedDeclaration": 26262,
|
1120
1120
|
"src": "1374:10:94"
|
1121
1121
|
},
|
1122
|
-
"referencedDeclaration":
|
1122
|
+
"referencedDeclaration": 26262,
|
1123
1123
|
"src": "1374:10:94",
|
1124
1124
|
"typeDescriptions": {
|
1125
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1125
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
|
1126
1126
|
"typeString": "ResourceId"
|
1127
1127
|
}
|
1128
1128
|
},
|
@@ -1130,12 +1130,12 @@
|
|
1130
1130
|
},
|
1131
1131
|
{
|
1132
1132
|
"constant": false,
|
1133
|
-
"id":
|
1133
|
+
"id": 38598,
|
1134
1134
|
"mutability": "mutable",
|
1135
1135
|
"name": "callData",
|
1136
1136
|
"nameLocation": "1408:8:94",
|
1137
1137
|
"nodeType": "VariableDeclaration",
|
1138
|
-
"scope":
|
1138
|
+
"scope": 38603,
|
1139
1139
|
"src": "1395:21:94",
|
1140
1140
|
"stateVariable": false,
|
1141
1141
|
"storageLocation": "memory",
|
@@ -1144,7 +1144,7 @@
|
|
1144
1144
|
"typeString": "bytes"
|
1145
1145
|
},
|
1146
1146
|
"typeName": {
|
1147
|
-
"id":
|
1147
|
+
"id": 38597,
|
1148
1148
|
"name": "bytes",
|
1149
1149
|
"nodeType": "ElementaryTypeName",
|
1150
1150
|
"src": "1395:5:94",
|
@@ -1159,17 +1159,17 @@
|
|
1159
1159
|
"src": "1373:44:94"
|
1160
1160
|
},
|
1161
1161
|
"returnParameters": {
|
1162
|
-
"id":
|
1162
|
+
"id": 38602,
|
1163
1163
|
"nodeType": "ParameterList",
|
1164
1164
|
"parameters": [
|
1165
1165
|
{
|
1166
1166
|
"constant": false,
|
1167
|
-
"id":
|
1167
|
+
"id": 38601,
|
1168
1168
|
"mutability": "mutable",
|
1169
1169
|
"name": "",
|
1170
1170
|
"nameLocation": "-1:-1:-1",
|
1171
1171
|
"nodeType": "VariableDeclaration",
|
1172
|
-
"scope":
|
1172
|
+
"scope": 38603,
|
1173
1173
|
"src": "1444:12:94",
|
1174
1174
|
"stateVariable": false,
|
1175
1175
|
"storageLocation": "memory",
|
@@ -1178,7 +1178,7 @@
|
|
1178
1178
|
"typeString": "bytes"
|
1179
1179
|
},
|
1180
1180
|
"typeName": {
|
1181
|
-
"id":
|
1181
|
+
"id": 38600,
|
1182
1182
|
"name": "bytes",
|
1183
1183
|
"nodeType": "ElementaryTypeName",
|
1184
1184
|
"src": "1444:5:94",
|
@@ -1192,18 +1192,18 @@
|
|
1192
1192
|
],
|
1193
1193
|
"src": "1443:14:94"
|
1194
1194
|
},
|
1195
|
-
"scope":
|
1195
|
+
"scope": 38617,
|
1196
1196
|
"stateMutability": "payable",
|
1197
1197
|
"virtual": false,
|
1198
1198
|
"visibility": "external"
|
1199
1199
|
},
|
1200
1200
|
{
|
1201
|
-
"id":
|
1201
|
+
"id": 38616,
|
1202
1202
|
"nodeType": "FunctionDefinition",
|
1203
1203
|
"src": "1998:137:94",
|
1204
1204
|
"nodes": [],
|
1205
1205
|
"documentation": {
|
1206
|
-
"id":
|
1206
|
+
"id": 38604,
|
1207
1207
|
"nodeType": "StructuredDocumentation",
|
1208
1208
|
"src": "1462:533:94",
|
1209
1209
|
"text": " @notice Call the system at the given system ID on behalf of the given delegator.\n @dev If the system is not public, the delegator must have access to the namespace or name (encoded in the system ID).\n @param delegator The address on whose behalf the call is made.\n @param systemId The ID of the system to be called.\n @param callData The data to pass with the call,\n function selector (4 bytes) followed by the ABI encoded parameters.\n @return The abi encoded return data from the called system."
|
@@ -1215,17 +1215,17 @@
|
|
1215
1215
|
"name": "callFrom",
|
1216
1216
|
"nameLocation": "2007:8:94",
|
1217
1217
|
"parameters": {
|
1218
|
-
"id":
|
1218
|
+
"id": 38612,
|
1219
1219
|
"nodeType": "ParameterList",
|
1220
1220
|
"parameters": [
|
1221
1221
|
{
|
1222
1222
|
"constant": false,
|
1223
|
-
"id":
|
1223
|
+
"id": 38606,
|
1224
1224
|
"mutability": "mutable",
|
1225
1225
|
"name": "delegator",
|
1226
1226
|
"nameLocation": "2029:9:94",
|
1227
1227
|
"nodeType": "VariableDeclaration",
|
1228
|
-
"scope":
|
1228
|
+
"scope": 38616,
|
1229
1229
|
"src": "2021:17:94",
|
1230
1230
|
"stateVariable": false,
|
1231
1231
|
"storageLocation": "default",
|
@@ -1234,7 +1234,7 @@
|
|
1234
1234
|
"typeString": "address"
|
1235
1235
|
},
|
1236
1236
|
"typeName": {
|
1237
|
-
"id":
|
1237
|
+
"id": 38605,
|
1238
1238
|
"name": "address",
|
1239
1239
|
"nodeType": "ElementaryTypeName",
|
1240
1240
|
"src": "2021:7:94",
|
@@ -1248,36 +1248,36 @@
|
|
1248
1248
|
},
|
1249
1249
|
{
|
1250
1250
|
"constant": false,
|
1251
|
-
"id":
|
1251
|
+
"id": 38609,
|
1252
1252
|
"mutability": "mutable",
|
1253
1253
|
"name": "systemId",
|
1254
1254
|
"nameLocation": "2055:8:94",
|
1255
1255
|
"nodeType": "VariableDeclaration",
|
1256
|
-
"scope":
|
1256
|
+
"scope": 38616,
|
1257
1257
|
"src": "2044:19:94",
|
1258
1258
|
"stateVariable": false,
|
1259
1259
|
"storageLocation": "default",
|
1260
1260
|
"typeDescriptions": {
|
1261
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1261
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
|
1262
1262
|
"typeString": "ResourceId"
|
1263
1263
|
},
|
1264
1264
|
"typeName": {
|
1265
|
-
"id":
|
1265
|
+
"id": 38608,
|
1266
1266
|
"nodeType": "UserDefinedTypeName",
|
1267
1267
|
"pathNode": {
|
1268
|
-
"id":
|
1268
|
+
"id": 38607,
|
1269
1269
|
"name": "ResourceId",
|
1270
1270
|
"nameLocations": [
|
1271
1271
|
"2044:10:94"
|
1272
1272
|
],
|
1273
1273
|
"nodeType": "IdentifierPath",
|
1274
|
-
"referencedDeclaration":
|
1274
|
+
"referencedDeclaration": 26262,
|
1275
1275
|
"src": "2044:10:94"
|
1276
1276
|
},
|
1277
|
-
"referencedDeclaration":
|
1277
|
+
"referencedDeclaration": 26262,
|
1278
1278
|
"src": "2044:10:94",
|
1279
1279
|
"typeDescriptions": {
|
1280
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1280
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
|
1281
1281
|
"typeString": "ResourceId"
|
1282
1282
|
}
|
1283
1283
|
},
|
@@ -1285,12 +1285,12 @@
|
|
1285
1285
|
},
|
1286
1286
|
{
|
1287
1287
|
"constant": false,
|
1288
|
-
"id":
|
1288
|
+
"id": 38611,
|
1289
1289
|
"mutability": "mutable",
|
1290
1290
|
"name": "callData",
|
1291
1291
|
"nameLocation": "2082:8:94",
|
1292
1292
|
"nodeType": "VariableDeclaration",
|
1293
|
-
"scope":
|
1293
|
+
"scope": 38616,
|
1294
1294
|
"src": "2069:21:94",
|
1295
1295
|
"stateVariable": false,
|
1296
1296
|
"storageLocation": "memory",
|
@@ -1299,7 +1299,7 @@
|
|
1299
1299
|
"typeString": "bytes"
|
1300
1300
|
},
|
1301
1301
|
"typeName": {
|
1302
|
-
"id":
|
1302
|
+
"id": 38610,
|
1303
1303
|
"name": "bytes",
|
1304
1304
|
"nodeType": "ElementaryTypeName",
|
1305
1305
|
"src": "2069:5:94",
|
@@ -1314,17 +1314,17 @@
|
|
1314
1314
|
"src": "2015:79:94"
|
1315
1315
|
},
|
1316
1316
|
"returnParameters": {
|
1317
|
-
"id":
|
1317
|
+
"id": 38615,
|
1318
1318
|
"nodeType": "ParameterList",
|
1319
1319
|
"parameters": [
|
1320
1320
|
{
|
1321
1321
|
"constant": false,
|
1322
|
-
"id":
|
1322
|
+
"id": 38614,
|
1323
1323
|
"mutability": "mutable",
|
1324
1324
|
"name": "",
|
1325
1325
|
"nameLocation": "-1:-1:-1",
|
1326
1326
|
"nodeType": "VariableDeclaration",
|
1327
|
-
"scope":
|
1327
|
+
"scope": 38616,
|
1328
1328
|
"src": "2121:12:94",
|
1329
1329
|
"stateVariable": false,
|
1330
1330
|
"storageLocation": "memory",
|
@@ -1333,7 +1333,7 @@
|
|
1333
1333
|
"typeString": "bytes"
|
1334
1334
|
},
|
1335
1335
|
"typeName": {
|
1336
|
-
"id":
|
1336
|
+
"id": 38613,
|
1337
1337
|
"name": "bytes",
|
1338
1338
|
"nodeType": "ElementaryTypeName",
|
1339
1339
|
"src": "2121:5:94",
|
@@ -1347,7 +1347,7 @@
|
|
1347
1347
|
],
|
1348
1348
|
"src": "2120:14:94"
|
1349
1349
|
},
|
1350
|
-
"scope":
|
1350
|
+
"scope": 38617,
|
1351
1351
|
"stateMutability": "payable",
|
1352
1352
|
"virtual": false,
|
1353
1353
|
"visibility": "external"
|
@@ -1359,34 +1359,34 @@
|
|
1359
1359
|
"contractDependencies": [],
|
1360
1360
|
"contractKind": "interface",
|
1361
1361
|
"documentation": {
|
1362
|
-
"id":
|
1362
|
+
"id": 38592,
|
1363
1363
|
"nodeType": "StructuredDocumentation",
|
1364
1364
|
"src": "776:126:94",
|
1365
1365
|
"text": " @title World Call Interface\n @dev This interface defines the contract for executing calls on the World's systems."
|
1366
1366
|
},
|
1367
1367
|
"fullyImplemented": false,
|
1368
1368
|
"linearizedBaseContracts": [
|
1369
|
-
|
1369
|
+
38617
|
1370
1370
|
],
|
1371
1371
|
"name": "IWorldCall",
|
1372
1372
|
"nameLocation": "913:10:94",
|
1373
|
-
"scope":
|
1373
|
+
"scope": 38650,
|
1374
1374
|
"usedErrors": [],
|
1375
1375
|
"usedEvents": []
|
1376
1376
|
},
|
1377
1377
|
{
|
1378
|
-
"id":
|
1378
|
+
"id": 38649,
|
1379
1379
|
"nodeType": "ContractDefinition",
|
1380
1380
|
"src": "2440:849:94",
|
1381
1381
|
"nodes": [
|
1382
1382
|
{
|
1383
|
-
"id":
|
1383
|
+
"id": 38629,
|
1384
1384
|
"nodeType": "EventDefinition",
|
1385
1385
|
"src": "2658:47:94",
|
1386
1386
|
"nodes": [],
|
1387
1387
|
"anonymous": false,
|
1388
1388
|
"documentation": {
|
1389
|
-
"id":
|
1389
|
+
"id": 38625,
|
1390
1390
|
"nodeType": "StructuredDocumentation",
|
1391
1391
|
"src": "2521:134:94",
|
1392
1392
|
"text": " @dev Emitted upon successful World initialization.\n @param worldVersion The version of the World being initialized."
|
@@ -1395,18 +1395,18 @@
|
|
1395
1395
|
"name": "HelloWorld",
|
1396
1396
|
"nameLocation": "2664:10:94",
|
1397
1397
|
"parameters": {
|
1398
|
-
"id":
|
1398
|
+
"id": 38628,
|
1399
1399
|
"nodeType": "ParameterList",
|
1400
1400
|
"parameters": [
|
1401
1401
|
{
|
1402
1402
|
"constant": false,
|
1403
|
-
"id":
|
1403
|
+
"id": 38627,
|
1404
1404
|
"indexed": true,
|
1405
1405
|
"mutability": "mutable",
|
1406
1406
|
"name": "worldVersion",
|
1407
1407
|
"nameLocation": "2691:12:94",
|
1408
1408
|
"nodeType": "VariableDeclaration",
|
1409
|
-
"scope":
|
1409
|
+
"scope": 38629,
|
1410
1410
|
"src": "2675:28:94",
|
1411
1411
|
"stateVariable": false,
|
1412
1412
|
"storageLocation": "default",
|
@@ -1415,7 +1415,7 @@
|
|
1415
1415
|
"typeString": "bytes32"
|
1416
1416
|
},
|
1417
1417
|
"typeName": {
|
1418
|
-
"id":
|
1418
|
+
"id": 38626,
|
1419
1419
|
"name": "bytes32",
|
1420
1420
|
"nodeType": "ElementaryTypeName",
|
1421
1421
|
"src": "2675:7:94",
|
@@ -1431,12 +1431,12 @@
|
|
1431
1431
|
}
|
1432
1432
|
},
|
1433
1433
|
{
|
1434
|
-
"id":
|
1434
|
+
"id": 38635,
|
1435
1435
|
"nodeType": "FunctionDefinition",
|
1436
1436
|
"src": "2819:56:94",
|
1437
1437
|
"nodes": [],
|
1438
1438
|
"documentation": {
|
1439
|
-
"id":
|
1439
|
+
"id": 38630,
|
1440
1440
|
"nodeType": "StructuredDocumentation",
|
1441
1441
|
"src": "2709:107:94",
|
1442
1442
|
"text": " @notice Retrieve the version of the World.\n @return The version identifier of the World."
|
@@ -1448,23 +1448,23 @@
|
|
1448
1448
|
"name": "worldVersion",
|
1449
1449
|
"nameLocation": "2828:12:94",
|
1450
1450
|
"parameters": {
|
1451
|
-
"id":
|
1451
|
+
"id": 38631,
|
1452
1452
|
"nodeType": "ParameterList",
|
1453
1453
|
"parameters": [],
|
1454
1454
|
"src": "2840:2:94"
|
1455
1455
|
},
|
1456
1456
|
"returnParameters": {
|
1457
|
-
"id":
|
1457
|
+
"id": 38634,
|
1458
1458
|
"nodeType": "ParameterList",
|
1459
1459
|
"parameters": [
|
1460
1460
|
{
|
1461
1461
|
"constant": false,
|
1462
|
-
"id":
|
1462
|
+
"id": 38633,
|
1463
1463
|
"mutability": "mutable",
|
1464
1464
|
"name": "",
|
1465
1465
|
"nameLocation": "-1:-1:-1",
|
1466
1466
|
"nodeType": "VariableDeclaration",
|
1467
|
-
"scope":
|
1467
|
+
"scope": 38635,
|
1468
1468
|
"src": "2866:7:94",
|
1469
1469
|
"stateVariable": false,
|
1470
1470
|
"storageLocation": "default",
|
@@ -1473,7 +1473,7 @@
|
|
1473
1473
|
"typeString": "bytes32"
|
1474
1474
|
},
|
1475
1475
|
"typeName": {
|
1476
|
-
"id":
|
1476
|
+
"id": 38632,
|
1477
1477
|
"name": "bytes32",
|
1478
1478
|
"nodeType": "ElementaryTypeName",
|
1479
1479
|
"src": "2866:7:94",
|
@@ -1487,18 +1487,18 @@
|
|
1487
1487
|
],
|
1488
1488
|
"src": "2865:9:94"
|
1489
1489
|
},
|
1490
|
-
"scope":
|
1490
|
+
"scope": 38649,
|
1491
1491
|
"stateMutability": "view",
|
1492
1492
|
"virtual": false,
|
1493
1493
|
"visibility": "external"
|
1494
1494
|
},
|
1495
1495
|
{
|
1496
|
-
"id":
|
1496
|
+
"id": 38641,
|
1497
1497
|
"nodeType": "FunctionDefinition",
|
1498
1498
|
"src": "3008:51:94",
|
1499
1499
|
"nodes": [],
|
1500
1500
|
"documentation": {
|
1501
|
-
"id":
|
1501
|
+
"id": 38636,
|
1502
1502
|
"nodeType": "StructuredDocumentation",
|
1503
1503
|
"src": "2879:126:94",
|
1504
1504
|
"text": " @notice Retrieve the immutable original deployer of the World.\n @return The address of the World's creator."
|
@@ -1510,23 +1510,23 @@
|
|
1510
1510
|
"name": "creator",
|
1511
1511
|
"nameLocation": "3017:7:94",
|
1512
1512
|
"parameters": {
|
1513
|
-
"id":
|
1513
|
+
"id": 38637,
|
1514
1514
|
"nodeType": "ParameterList",
|
1515
1515
|
"parameters": [],
|
1516
1516
|
"src": "3024:2:94"
|
1517
1517
|
},
|
1518
1518
|
"returnParameters": {
|
1519
|
-
"id":
|
1519
|
+
"id": 38640,
|
1520
1520
|
"nodeType": "ParameterList",
|
1521
1521
|
"parameters": [
|
1522
1522
|
{
|
1523
1523
|
"constant": false,
|
1524
|
-
"id":
|
1524
|
+
"id": 38639,
|
1525
1525
|
"mutability": "mutable",
|
1526
1526
|
"name": "",
|
1527
1527
|
"nameLocation": "-1:-1:-1",
|
1528
1528
|
"nodeType": "VariableDeclaration",
|
1529
|
-
"scope":
|
1529
|
+
"scope": 38641,
|
1530
1530
|
"src": "3050:7:94",
|
1531
1531
|
"stateVariable": false,
|
1532
1532
|
"storageLocation": "default",
|
@@ -1535,7 +1535,7 @@
|
|
1535
1535
|
"typeString": "address"
|
1536
1536
|
},
|
1537
1537
|
"typeName": {
|
1538
|
-
"id":
|
1538
|
+
"id": 38638,
|
1539
1539
|
"name": "address",
|
1540
1540
|
"nodeType": "ElementaryTypeName",
|
1541
1541
|
"src": "3050:7:94",
|
@@ -1550,18 +1550,18 @@
|
|
1550
1550
|
],
|
1551
1551
|
"src": "3049:9:94"
|
1552
1552
|
},
|
1553
|
-
"scope":
|
1553
|
+
"scope": 38649,
|
1554
1554
|
"stateMutability": "view",
|
1555
1555
|
"virtual": false,
|
1556
1556
|
"visibility": "external"
|
1557
1557
|
},
|
1558
1558
|
{
|
1559
|
-
"id":
|
1559
|
+
"id": 38648,
|
1560
1560
|
"nodeType": "FunctionDefinition",
|
1561
1561
|
"src": "3238:49:94",
|
1562
1562
|
"nodes": [],
|
1563
1563
|
"documentation": {
|
1564
|
-
"id":
|
1564
|
+
"id": 38642,
|
1565
1565
|
"nodeType": "StructuredDocumentation",
|
1566
1566
|
"src": "3063:172:94",
|
1567
1567
|
"text": " @notice Initializes the World.\n @dev Can only be called once by the creator.\n @param coreModule The CoreModule to be installed during initialization."
|
@@ -1573,41 +1573,41 @@
|
|
1573
1573
|
"name": "initialize",
|
1574
1574
|
"nameLocation": "3247:10:94",
|
1575
1575
|
"parameters": {
|
1576
|
-
"id":
|
1576
|
+
"id": 38646,
|
1577
1577
|
"nodeType": "ParameterList",
|
1578
1578
|
"parameters": [
|
1579
1579
|
{
|
1580
1580
|
"constant": false,
|
1581
|
-
"id":
|
1581
|
+
"id": 38645,
|
1582
1582
|
"mutability": "mutable",
|
1583
1583
|
"name": "coreModule",
|
1584
1584
|
"nameLocation": "3266:10:94",
|
1585
1585
|
"nodeType": "VariableDeclaration",
|
1586
|
-
"scope":
|
1586
|
+
"scope": 38648,
|
1587
1587
|
"src": "3258:18:94",
|
1588
1588
|
"stateVariable": false,
|
1589
1589
|
"storageLocation": "default",
|
1590
1590
|
"typeDescriptions": {
|
1591
|
-
"typeIdentifier": "t_contract$_IModule_$
|
1591
|
+
"typeIdentifier": "t_contract$_IModule_$60941",
|
1592
1592
|
"typeString": "contract IModule"
|
1593
1593
|
},
|
1594
1594
|
"typeName": {
|
1595
|
-
"id":
|
1595
|
+
"id": 38644,
|
1596
1596
|
"nodeType": "UserDefinedTypeName",
|
1597
1597
|
"pathNode": {
|
1598
|
-
"id":
|
1598
|
+
"id": 38643,
|
1599
1599
|
"name": "IModule",
|
1600
1600
|
"nameLocations": [
|
1601
1601
|
"3258:7:94"
|
1602
1602
|
],
|
1603
1603
|
"nodeType": "IdentifierPath",
|
1604
|
-
"referencedDeclaration":
|
1604
|
+
"referencedDeclaration": 60941,
|
1605
1605
|
"src": "3258:7:94"
|
1606
1606
|
},
|
1607
|
-
"referencedDeclaration":
|
1607
|
+
"referencedDeclaration": 60941,
|
1608
1608
|
"src": "3258:7:94",
|
1609
1609
|
"typeDescriptions": {
|
1610
|
-
"typeIdentifier": "t_contract$_IModule_$
|
1610
|
+
"typeIdentifier": "t_contract$_IModule_$60941",
|
1611
1611
|
"typeString": "contract IModule"
|
1612
1612
|
}
|
1613
1613
|
},
|
@@ -1617,12 +1617,12 @@
|
|
1617
1617
|
"src": "3257:20:94"
|
1618
1618
|
},
|
1619
1619
|
"returnParameters": {
|
1620
|
-
"id":
|
1620
|
+
"id": 38647,
|
1621
1621
|
"nodeType": "ParameterList",
|
1622
1622
|
"parameters": [],
|
1623
1623
|
"src": "3286:0:94"
|
1624
1624
|
},
|
1625
|
-
"scope":
|
1625
|
+
"scope": 38649,
|
1626
1626
|
"stateMutability": "nonpayable",
|
1627
1627
|
"virtual": false,
|
1628
1628
|
"visibility": "external"
|
@@ -1632,46 +1632,46 @@
|
|
1632
1632
|
"baseContracts": [
|
1633
1633
|
{
|
1634
1634
|
"baseName": {
|
1635
|
-
"id":
|
1635
|
+
"id": 38619,
|
1636
1636
|
"name": "IWorldModuleInstallation",
|
1637
1637
|
"nameLocations": [
|
1638
1638
|
"2466:24:94"
|
1639
1639
|
],
|
1640
1640
|
"nodeType": "IdentifierPath",
|
1641
|
-
"referencedDeclaration":
|
1641
|
+
"referencedDeclaration": 38591,
|
1642
1642
|
"src": "2466:24:94"
|
1643
1643
|
},
|
1644
|
-
"id":
|
1644
|
+
"id": 38620,
|
1645
1645
|
"nodeType": "InheritanceSpecifier",
|
1646
1646
|
"src": "2466:24:94"
|
1647
1647
|
},
|
1648
1648
|
{
|
1649
1649
|
"baseName": {
|
1650
|
-
"id":
|
1650
|
+
"id": 38621,
|
1651
1651
|
"name": "IWorldCall",
|
1652
1652
|
"nameLocations": [
|
1653
1653
|
"2492:10:94"
|
1654
1654
|
],
|
1655
1655
|
"nodeType": "IdentifierPath",
|
1656
|
-
"referencedDeclaration":
|
1656
|
+
"referencedDeclaration": 38617,
|
1657
1657
|
"src": "2492:10:94"
|
1658
1658
|
},
|
1659
|
-
"id":
|
1659
|
+
"id": 38622,
|
1660
1660
|
"nodeType": "InheritanceSpecifier",
|
1661
1661
|
"src": "2492:10:94"
|
1662
1662
|
},
|
1663
1663
|
{
|
1664
1664
|
"baseName": {
|
1665
|
-
"id":
|
1665
|
+
"id": 38623,
|
1666
1666
|
"name": "IWorldErrors",
|
1667
1667
|
"nameLocations": [
|
1668
1668
|
"2504:12:94"
|
1669
1669
|
],
|
1670
1670
|
"nodeType": "IdentifierPath",
|
1671
|
-
"referencedDeclaration":
|
1671
|
+
"referencedDeclaration": 61035,
|
1672
1672
|
"src": "2504:12:94"
|
1673
1673
|
},
|
1674
|
-
"id":
|
1674
|
+
"id": 38624,
|
1675
1675
|
"nodeType": "InheritanceSpecifier",
|
1676
1676
|
"src": "2504:12:94"
|
1677
1677
|
}
|
@@ -1680,39 +1680,39 @@
|
|
1680
1680
|
"contractDependencies": [],
|
1681
1681
|
"contractKind": "interface",
|
1682
1682
|
"documentation": {
|
1683
|
-
"id":
|
1683
|
+
"id": 38618,
|
1684
1684
|
"nodeType": "StructuredDocumentation",
|
1685
1685
|
"src": "2139:300:94",
|
1686
1686
|
"text": " @title World Kernel Interface\n @notice The IWorldKernel interface includes all methods that are part of the World contract's\n internal bytecode. Consumers should use the `IBaseWorld` interface instead, which includes dynamically\n registered functions selectors from the `CoreModule`."
|
1687
1687
|
},
|
1688
1688
|
"fullyImplemented": false,
|
1689
1689
|
"linearizedBaseContracts": [
|
1690
|
-
|
1691
|
-
|
1692
|
-
|
1693
|
-
|
1690
|
+
38649,
|
1691
|
+
61035,
|
1692
|
+
38617,
|
1693
|
+
38591
|
1694
1694
|
],
|
1695
1695
|
"name": "IWorldKernel",
|
1696
1696
|
"nameLocation": "2450:12:94",
|
1697
|
-
"scope":
|
1697
|
+
"scope": 38650,
|
1698
1698
|
"usedErrors": [
|
1699
|
-
|
1700
|
-
60909,
|
1701
|
-
60917,
|
1702
|
-
60924,
|
1703
|
-
60932,
|
1704
|
-
60937,
|
1705
|
-
60942,
|
1706
|
-
60947,
|
1707
|
-
60954,
|
1699
|
+
60949,
|
1708
1700
|
60957,
|
1709
|
-
|
1710
|
-
|
1711
|
-
|
1712
|
-
|
1701
|
+
60965,
|
1702
|
+
60972,
|
1703
|
+
60980,
|
1704
|
+
60985,
|
1705
|
+
60990,
|
1706
|
+
60995,
|
1707
|
+
61002,
|
1708
|
+
61005,
|
1709
|
+
61012,
|
1710
|
+
61019,
|
1711
|
+
61029,
|
1712
|
+
61034
|
1713
1713
|
],
|
1714
1714
|
"usedEvents": [
|
1715
|
-
|
1715
|
+
38629
|
1716
1716
|
]
|
1717
1717
|
}
|
1718
1718
|
],
|