@latticexyz/world-modules 2.0.0-main-fd10cff6 → 2.0.0-main-85218618
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 +241 -217
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
- package/out/DelegationControl.sol/DelegationControl.json +122 -98
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +64 -64
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
- package/out/IBaseWorld.sol/IBaseWorld.json +130 -85
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
- package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
- package/out/IDelegationControl.sol/IDelegationControl.json +50 -26
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +20 -20
- package/out/ISystemHook.sol/ISystemHook.json +171 -131
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +157 -109
- package/out/IWorldErrors.sol/IWorldErrors.json +345 -255
- package/out/IWorldKernel.sol/IWorldCall.json +294 -254
- package/out/IWorldKernel.sol/IWorldKernel.json +321 -258
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +279 -253
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +198 -198
- package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
- package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
- package/out/KeysInTableModule.sol/KeysInTableModule.json +570 -546
- package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1008 -1008
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +459 -435
- package/out/Module.sol/Module.json +106 -82
- package/out/ResourceIds.sol/ResourceIds.json +45 -45
- package/out/Schema.sol/SchemaInstance.json +30 -30
- package/out/Schema.sol/SchemaLib.json +30 -30
- package/out/SchemaType.sol/SchemaType.json +276 -276
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +336 -312
- package/out/StoreHook.sol/StoreHook.json +358 -358
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +81 -38
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +145 -121
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
- package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +363 -339
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +135 -99
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
- package/out/WorldContext.sol/WorldContextConsumer.json +771 -674
- package/out/WorldContext.sol/WorldContextProvider.json +734 -674
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +777 -765
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +777 -765
- 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 +199 -154
- 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 +697 -697
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
- package/out/src/IStore.sol/IStore.json +53 -53
- package/out/src/IWorldKernel.sol/IWorldCall.json +307 -267
- package/out/src/IWorldKernel.sol/IWorldKernel.json +334 -271
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +292 -266
- package/out/src/Memory.sol/Memory.json +89 -89
- 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 +787 -787
- package/out/src/Schema.sol/SchemaLib.json +787 -787
- package/out/src/Slice.sol/SliceInstance.json +429 -429
- package/out/src/Slice.sol/SliceLib.json +429 -429
- package/out/src/StoreCore.sol/StoreCore.json +4455 -4455
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4455 -4455
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
- package/out/src/WorldContext.sol/WorldContextConsumer.json +777 -680
- package/out/src/WorldContext.sol/WorldContextProvider.json +740 -680
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +777 -765
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +777 -765
- package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
- package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
- package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
- package/out/tables/Tables.sol/Tables.json +7288 -7288
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
- package/out/types.sol/types.json +39 -39
- package/out/worldResourceTypes.sol/worldResourceTypes.json +87 -87
- 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\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"call(bytes32,bytes)\":{\"notice\":\"Call the system at the given system ID. If the system is not public, the caller must have access to the namespace or name (encoded in the system ID).\"},\"callFrom(address,bytes32,bytes)\":{\"notice\":\"Call the system at the given system ID on behalf of the given delegator. If the system is not public, the delegator must have access to the namespace or name (encoded in the system ID).\"},\"creator()\":{\"notice\":\"The immutable original deployer of the World.\"},\"initialize(address)\":{\"notice\":\"Allows the creator of the World to initialize the World once.\"},\"installRootModule(address,bytes)\":{\"notice\":\"Install the given root module in the World. Requires the caller to own the root namespace. The module is delegatecalled and installed in the root namespace.\"},\"worldVersion()\":{\"notice\":\"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\":{\"/home/runner/work/mud/mud/packages/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\":{\"/home/runner/work/mud/mud/packages/world/src/IERC165.sol\":{\"keccak256\":\"0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5\",\"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y\"]},\"/home/runner/work/mud/mud/packages/world/src/IModule.sol\":{\"keccak256\":\"0xec02d49b84a882c9cf01e4e5c16f890ed7c52db945fd43a6f97ffe87730ba0d3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f8ee1a3aaac5789b36808bdae2e26e32d1664583a6b21680b5721f04d81bbc3\",\"dweb:/ipfs/Qmd4L3vGQiavSCe9g2k7riyA6cer3ruuxRFehAJCSxNRfw\"]},\"/home/runner/work/mud/mud/packages/world/src/IWorldErrors.sol\":{\"keccak256\":\"0xf3c2037a2899d81a15d5e13c7101337fcf01fcb321cec418e36da5617d52c99c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://565b53005697c2cb4ce744f4b192545e3b059d42ea97075fe022a47d0d38cb7f\",\"dweb:/ipfs/QmbGVQuozeLMwUic7LanodXacPiBfomKS8ERnkVFi9vSYz\"]},\"/home/runner/work/mud/mud/packages/world/src/IWorldKernel.sol\":{\"keccak256\":\"0xc2e28cb4daa77de640228f7b3b5c98423e6c39a8b8f68af5a56b076cad7025de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7ae7e0798dc66368f6dc56992cd1fe3046dd51bcb6fcc3b04b7fd0d48b9557bc\",\"dweb:/ipfs/QmXKJLLGjVaDBRhbvT47Mxkt2jFEBShvHLAtt3CZYVEbqF\"]},\"/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol\":{\"keccak256\":\"0x979e418af3d0d3a1866240bed58d2792f0718cc1803a1476ec8c93af5577cae3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c68cfe48ce67fe83f4b000c954891821d1fae31bfdd36de37a12637c8a1864f7\",\"dweb:/ipfs/QmUX9tHSMTeScbiacKX2T16gLV6aPKDU1Q3eDiNxqmVNa1\"]},\"/home/runner/work/mud/mud/packages/world/src/constants.sol\":{\"keccak256\":\"0x36c772d51a5da46fcddf88831194d6d331083b8c8246fa79107c4b697c258d77\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d2656374c398a2b075d5f26d2ab2c3ea315c99912e52d8030d50f5f8fdda8ac\",\"dweb:/ipfs/QmSG8uJr2ZbFVnht5cTG6xb6XbB6f3kvnznks4BdeAMYET\"]},\"/home/runner/work/mud/mud/packages/world/src/worldResourceTypes.sol\":{\"keccak256\":\"0x88f844f2c43757c819c8f140b30254f07c3484e12cce573879d43b2ee6a23f8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://55a9095094c2b7b1043020681696380cfc3cffd1f264a70bacb44fccd0fc0a8a\",\"dweb:/ipfs/QmfPdLPr9hfV8X8yfHhEf2HmEWAnA4d1c6EHEjHMdeM7ML\"]},\"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\"]}},\"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\":{\"/home/runner/work/mud/mud/packages/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\":{\"/home/runner/work/mud/mud/packages/world/src/IERC165.sol\":{\"keccak256\":\"0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5\",\"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y\"]},\"/home/runner/work/mud/mud/packages/world/src/IModule.sol\":{\"keccak256\":\"0xec02d49b84a882c9cf01e4e5c16f890ed7c52db945fd43a6f97ffe87730ba0d3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f8ee1a3aaac5789b36808bdae2e26e32d1664583a6b21680b5721f04d81bbc3\",\"dweb:/ipfs/Qmd4L3vGQiavSCe9g2k7riyA6cer3ruuxRFehAJCSxNRfw\"]},\"/home/runner/work/mud/mud/packages/world/src/IWorldErrors.sol\":{\"keccak256\":\"0xc3e7975e5785574543229eac51e3441f4185863d7f5346c0ae08a27b4541f8a7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://62cc0dc109e6e5475bb07fb95643a31c74337c23521db0557a36dad6117a1e83\",\"dweb:/ipfs/Qmb8jbE1XQTUdreKFr4Jw3xmjctaLuReRZjPxZKQ2uW9p4\"]},\"/home/runner/work/mud/mud/packages/world/src/IWorldKernel.sol\":{\"keccak256\":\"0x9dc133cb55dc23fd6fcbbef8078bb4ea9bf67d698400cf89fc62b905b60cf5eb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7c1a57df7052218483eafe72d873660f39a73e2e06c1b14ad8a579d85b94bc6c\",\"dweb:/ipfs/Qme7dnjvADGZyM2L7nZ51nSjsjXXF9isTVCpWaUCd1cEGs\"]},\"/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol\":{\"keccak256\":\"0xb7bfae2890004001221b3902d185c14cfea0e606d16914f6b7f81cf112aa9417\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acfd0d09166fc1bf16a8a5c80fbae1bd42426b2fcbab3c492bc836ea5c0375fb\",\"dweb:/ipfs/QmTzZWHVBkx8hipFVpgEwAbZpr4c6hfr7yf7R71JojT3NK\"]},\"/home/runner/work/mud/mud/packages/world/src/constants.sol\":{\"keccak256\":\"0x36c772d51a5da46fcddf88831194d6d331083b8c8246fa79107c4b697c258d77\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d2656374c398a2b075d5f26d2ab2c3ea315c99912e52d8030d50f5f8fdda8ac\",\"dweb:/ipfs/QmSG8uJr2ZbFVnht5cTG6xb6XbB6f3kvnznks4BdeAMYET\"]},\"/home/runner/work/mud/mud/packages/world/src/worldResourceTypes.sol\":{\"keccak256\":\"0xe31ee781596541f60ed71ef327c9d26ffc899e7fb3f4991c67406518bfc00746\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7b864fea8c77833a322b16c4673f110d5065d0cafcedecd07895699cf4258c2\",\"dweb:/ipfs/QmRkzXVjMLwQFWxjEjgfdXVPAp6SU4zfxPo4NJcmz8HwH9\"]},\"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\"]}},\"version\":1}",
|
333
333
|
"metadata": {
|
334
334
|
"compiler": {
|
335
335
|
"version": "0.8.21+commit.d9974bed"
|
@@ -648,29 +648,74 @@
|
|
648
648
|
],
|
649
649
|
"devdoc": {
|
650
650
|
"kind": "dev",
|
651
|
-
"methods": {
|
651
|
+
"methods": {
|
652
|
+
"call(bytes32,bytes)": {
|
653
|
+
"details": "If the system is not public, the caller must have access to the namespace or name (encoded in the system ID).",
|
654
|
+
"params": {
|
655
|
+
"callData": "The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.",
|
656
|
+
"systemId": "The ID of the system to be called."
|
657
|
+
},
|
658
|
+
"returns": {
|
659
|
+
"_0": "The abi encoded return data from the called system."
|
660
|
+
}
|
661
|
+
},
|
662
|
+
"callFrom(address,bytes32,bytes)": {
|
663
|
+
"details": "If the system is not public, the delegator must have access to the namespace or name (encoded in the system ID).",
|
664
|
+
"params": {
|
665
|
+
"callData": "The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.",
|
666
|
+
"delegator": "The address on whose behalf the call is made.",
|
667
|
+
"systemId": "The ID of the system to be called."
|
668
|
+
},
|
669
|
+
"returns": {
|
670
|
+
"_0": "The abi encoded return data from the called system."
|
671
|
+
}
|
672
|
+
},
|
673
|
+
"creator()": {
|
674
|
+
"returns": {
|
675
|
+
"_0": "The address of the World's creator."
|
676
|
+
}
|
677
|
+
},
|
678
|
+
"initialize(address)": {
|
679
|
+
"details": "Can only be called once by the creator.",
|
680
|
+
"params": {
|
681
|
+
"coreModule": "The CoreModule to be installed during initialization."
|
682
|
+
}
|
683
|
+
},
|
684
|
+
"installRootModule(address,bytes)": {
|
685
|
+
"details": "Requires the caller to own the root namespace. The module is delegatecalled and installed in the root namespace.",
|
686
|
+
"params": {
|
687
|
+
"args": "The arguments provided for the module installation.",
|
688
|
+
"module": "The module to be installed."
|
689
|
+
}
|
690
|
+
},
|
691
|
+
"worldVersion()": {
|
692
|
+
"returns": {
|
693
|
+
"_0": "The version identifier of the World."
|
694
|
+
}
|
695
|
+
}
|
696
|
+
},
|
652
697
|
"version": 1
|
653
698
|
},
|
654
699
|
"userdoc": {
|
655
700
|
"kind": "user",
|
656
701
|
"methods": {
|
657
702
|
"call(bytes32,bytes)": {
|
658
|
-
"notice": "Call the system at the given system ID.
|
703
|
+
"notice": "Call the system at the given system ID."
|
659
704
|
},
|
660
705
|
"callFrom(address,bytes32,bytes)": {
|
661
|
-
"notice": "Call the system at the given system ID on behalf of the given delegator.
|
706
|
+
"notice": "Call the system at the given system ID on behalf of the given delegator."
|
662
707
|
},
|
663
708
|
"creator()": {
|
664
|
-
"notice": "
|
709
|
+
"notice": "Retrieve the immutable original deployer of the World."
|
665
710
|
},
|
666
711
|
"initialize(address)": {
|
667
|
-
"notice": "
|
712
|
+
"notice": "Initializes the World."
|
668
713
|
},
|
669
714
|
"installRootModule(address,bytes)": {
|
670
|
-
"notice": "Install the given root module in the World.
|
715
|
+
"notice": "Install the given root module in the World."
|
671
716
|
},
|
672
717
|
"worldVersion()": {
|
673
|
-
"notice": "
|
718
|
+
"notice": "Retrieve the version of the World."
|
674
719
|
}
|
675
720
|
},
|
676
721
|
"version": 1
|
@@ -712,26 +757,26 @@
|
|
712
757
|
"license": "MIT"
|
713
758
|
},
|
714
759
|
"/home/runner/work/mud/mud/packages/world/src/IWorldErrors.sol": {
|
715
|
-
"keccak256": "
|
760
|
+
"keccak256": "0xc3e7975e5785574543229eac51e3441f4185863d7f5346c0ae08a27b4541f8a7",
|
716
761
|
"urls": [
|
717
|
-
"bzz-raw://
|
718
|
-
"dweb:/ipfs/
|
762
|
+
"bzz-raw://62cc0dc109e6e5475bb07fb95643a31c74337c23521db0557a36dad6117a1e83",
|
763
|
+
"dweb:/ipfs/Qmb8jbE1XQTUdreKFr4Jw3xmjctaLuReRZjPxZKQ2uW9p4"
|
719
764
|
],
|
720
765
|
"license": "MIT"
|
721
766
|
},
|
722
767
|
"/home/runner/work/mud/mud/packages/world/src/IWorldKernel.sol": {
|
723
|
-
"keccak256": "
|
768
|
+
"keccak256": "0x9dc133cb55dc23fd6fcbbef8078bb4ea9bf67d698400cf89fc62b905b60cf5eb",
|
724
769
|
"urls": [
|
725
|
-
"bzz-raw://
|
726
|
-
"dweb:/ipfs/
|
770
|
+
"bzz-raw://7c1a57df7052218483eafe72d873660f39a73e2e06c1b14ad8a579d85b94bc6c",
|
771
|
+
"dweb:/ipfs/Qme7dnjvADGZyM2L7nZ51nSjsjXXF9isTVCpWaUCd1cEGs"
|
727
772
|
],
|
728
773
|
"license": "MIT"
|
729
774
|
},
|
730
775
|
"/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol": {
|
731
|
-
"keccak256": "
|
776
|
+
"keccak256": "0xb7bfae2890004001221b3902d185c14cfea0e606d16914f6b7f81cf112aa9417",
|
732
777
|
"urls": [
|
733
|
-
"bzz-raw://
|
734
|
-
"dweb:/ipfs/
|
778
|
+
"bzz-raw://acfd0d09166fc1bf16a8a5c80fbae1bd42426b2fcbab3c492bc836ea5c0375fb",
|
779
|
+
"dweb:/ipfs/QmTzZWHVBkx8hipFVpgEwAbZpr4c6hfr7yf7R71JojT3NK"
|
735
780
|
],
|
736
781
|
"license": "MIT"
|
737
782
|
},
|
@@ -744,10 +789,10 @@
|
|
744
789
|
"license": "MIT"
|
745
790
|
},
|
746
791
|
"/home/runner/work/mud/mud/packages/world/src/worldResourceTypes.sol": {
|
747
|
-
"keccak256": "
|
792
|
+
"keccak256": "0xe31ee781596541f60ed71ef327c9d26ffc899e7fb3f4991c67406518bfc00746",
|
748
793
|
"urls": [
|
749
|
-
"bzz-raw://
|
750
|
-
"dweb:/ipfs/
|
794
|
+
"bzz-raw://f7b864fea8c77833a322b16c4673f110d5065d0cafcedecd07895699cf4258c2",
|
795
|
+
"dweb:/ipfs/QmRkzXVjMLwQFWxjEjgfdXVPAp6SU4zfxPo4NJcmz8HwH9"
|
751
796
|
],
|
752
797
|
"license": "MIT"
|
753
798
|
},
|
@@ -780,32 +825,32 @@
|
|
780
825
|
},
|
781
826
|
"ast": {
|
782
827
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/IWorldKernel.sol",
|
783
|
-
"id":
|
828
|
+
"id": 23245,
|
784
829
|
"exportedSymbols": {
|
785
830
|
"IModule": [
|
786
831
|
22985
|
787
832
|
],
|
788
833
|
"IWorldCall": [
|
789
|
-
|
834
|
+
23212
|
790
835
|
],
|
791
836
|
"IWorldErrors": [
|
792
|
-
|
837
|
+
23167
|
793
838
|
],
|
794
839
|
"IWorldKernel": [
|
795
|
-
|
840
|
+
23244
|
796
841
|
],
|
797
842
|
"IWorldModuleInstallation": [
|
798
|
-
|
843
|
+
23186
|
799
844
|
],
|
800
845
|
"ResourceId": [
|
801
|
-
|
846
|
+
26238
|
802
847
|
]
|
803
848
|
},
|
804
849
|
"nodeType": "SourceUnit",
|
805
|
-
"src": "32:
|
850
|
+
"src": "32:3258:39",
|
806
851
|
"nodes": [
|
807
852
|
{
|
808
|
-
"id":
|
853
|
+
"id": 23169,
|
809
854
|
"nodeType": "PragmaDirective",
|
810
855
|
"src": "32:25:39",
|
811
856
|
"nodes": [],
|
@@ -817,23 +862,23 @@
|
|
817
862
|
]
|
818
863
|
},
|
819
864
|
{
|
820
|
-
"id":
|
865
|
+
"id": 23171,
|
821
866
|
"nodeType": "ImportDirective",
|
822
867
|
"src": "59:50:39",
|
823
868
|
"nodes": [],
|
824
869
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/IWorldErrors.sol",
|
825
870
|
"file": "./IWorldErrors.sol",
|
826
871
|
"nameLocation": "-1:-1:-1",
|
827
|
-
"scope":
|
828
|
-
"sourceUnit":
|
872
|
+
"scope": 23245,
|
873
|
+
"sourceUnit": 23168,
|
829
874
|
"symbolAliases": [
|
830
875
|
{
|
831
876
|
"foreign": {
|
832
|
-
"id":
|
877
|
+
"id": 23170,
|
833
878
|
"name": "IWorldErrors",
|
834
879
|
"nodeType": "Identifier",
|
835
880
|
"overloadedDeclarations": [],
|
836
|
-
"referencedDeclaration":
|
881
|
+
"referencedDeclaration": 23167,
|
837
882
|
"src": "68:12:39",
|
838
883
|
"typeDescriptions": {}
|
839
884
|
},
|
@@ -843,19 +888,19 @@
|
|
843
888
|
"unitAlias": ""
|
844
889
|
},
|
845
890
|
{
|
846
|
-
"id":
|
891
|
+
"id": 23173,
|
847
892
|
"nodeType": "ImportDirective",
|
848
893
|
"src": "110:40:39",
|
849
894
|
"nodes": [],
|
850
895
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/IModule.sol",
|
851
896
|
"file": "./IModule.sol",
|
852
897
|
"nameLocation": "-1:-1:-1",
|
853
|
-
"scope":
|
898
|
+
"scope": 23245,
|
854
899
|
"sourceUnit": 22986,
|
855
900
|
"symbolAliases": [
|
856
901
|
{
|
857
902
|
"foreign": {
|
858
|
-
"id":
|
903
|
+
"id": 23172,
|
859
904
|
"name": "IModule",
|
860
905
|
"nodeType": "Identifier",
|
861
906
|
"overloadedDeclarations": [],
|
@@ -869,23 +914,23 @@
|
|
869
914
|
"unitAlias": ""
|
870
915
|
},
|
871
916
|
{
|
872
|
-
"id":
|
917
|
+
"id": 23175,
|
873
918
|
"nodeType": "ImportDirective",
|
874
919
|
"src": "151:51:39",
|
875
920
|
"nodes": [],
|
876
921
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol",
|
877
922
|
"file": "./WorldResourceId.sol",
|
878
923
|
"nameLocation": "-1:-1:-1",
|
879
|
-
"scope":
|
880
|
-
"sourceUnit":
|
924
|
+
"scope": 23245,
|
925
|
+
"sourceUnit": 23759,
|
881
926
|
"symbolAliases": [
|
882
927
|
{
|
883
928
|
"foreign": {
|
884
|
-
"id":
|
929
|
+
"id": 23174,
|
885
930
|
"name": "ResourceId",
|
886
931
|
"nodeType": "Identifier",
|
887
932
|
"overloadedDeclarations": [],
|
888
|
-
"referencedDeclaration":
|
933
|
+
"referencedDeclaration": 26238,
|
889
934
|
"src": "160:10:39",
|
890
935
|
"typeDescriptions": {}
|
891
936
|
},
|
@@ -895,40 +940,40 @@
|
|
895
940
|
"unitAlias": ""
|
896
941
|
},
|
897
942
|
{
|
898
|
-
"id":
|
943
|
+
"id": 23186,
|
899
944
|
"nodeType": "ContractDefinition",
|
900
|
-
"src": "
|
945
|
+
"src": "354:420:39",
|
901
946
|
"nodes": [
|
902
947
|
{
|
903
|
-
"id":
|
948
|
+
"id": 23185,
|
904
949
|
"nodeType": "FunctionDefinition",
|
905
|
-
"src": "
|
950
|
+
"src": "701:71:39",
|
906
951
|
"nodes": [],
|
907
952
|
"documentation": {
|
908
|
-
"id":
|
953
|
+
"id": 23177,
|
909
954
|
"nodeType": "StructuredDocumentation",
|
910
|
-
"src": "
|
911
|
-
"text": " Install the given root module in the World.\n Requires the caller to own the root namespace
|
955
|
+
"src": "393:305:39",
|
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."
|
912
957
|
},
|
913
958
|
"functionSelector": "af068c9e",
|
914
959
|
"implemented": false,
|
915
960
|
"kind": "function",
|
916
961
|
"modifiers": [],
|
917
962
|
"name": "installRootModule",
|
918
|
-
"nameLocation": "
|
963
|
+
"nameLocation": "710:17:39",
|
919
964
|
"parameters": {
|
920
|
-
"id":
|
965
|
+
"id": 23183,
|
921
966
|
"nodeType": "ParameterList",
|
922
967
|
"parameters": [
|
923
968
|
{
|
924
969
|
"constant": false,
|
925
|
-
"id":
|
970
|
+
"id": 23180,
|
926
971
|
"mutability": "mutable",
|
927
972
|
"name": "module",
|
928
|
-
"nameLocation": "
|
973
|
+
"nameLocation": "736:6:39",
|
929
974
|
"nodeType": "VariableDeclaration",
|
930
|
-
"scope":
|
931
|
-
"src": "
|
975
|
+
"scope": 23185,
|
976
|
+
"src": "728:14:39",
|
932
977
|
"stateVariable": false,
|
933
978
|
"storageLocation": "default",
|
934
979
|
"typeDescriptions": {
|
@@ -936,20 +981,20 @@
|
|
936
981
|
"typeString": "contract IModule"
|
937
982
|
},
|
938
983
|
"typeName": {
|
939
|
-
"id":
|
984
|
+
"id": 23179,
|
940
985
|
"nodeType": "UserDefinedTypeName",
|
941
986
|
"pathNode": {
|
942
|
-
"id":
|
987
|
+
"id": 23178,
|
943
988
|
"name": "IModule",
|
944
989
|
"nameLocations": [
|
945
|
-
"
|
990
|
+
"728:7:39"
|
946
991
|
],
|
947
992
|
"nodeType": "IdentifierPath",
|
948
993
|
"referencedDeclaration": 22985,
|
949
|
-
"src": "
|
994
|
+
"src": "728:7:39"
|
950
995
|
},
|
951
996
|
"referencedDeclaration": 22985,
|
952
|
-
"src": "
|
997
|
+
"src": "728:7:39",
|
953
998
|
"typeDescriptions": {
|
954
999
|
"typeIdentifier": "t_contract$_IModule_$22985",
|
955
1000
|
"typeString": "contract IModule"
|
@@ -959,13 +1004,13 @@
|
|
959
1004
|
},
|
960
1005
|
{
|
961
1006
|
"constant": false,
|
962
|
-
"id":
|
1007
|
+
"id": 23182,
|
963
1008
|
"mutability": "mutable",
|
964
1009
|
"name": "args",
|
965
|
-
"nameLocation": "
|
1010
|
+
"nameLocation": "757:4:39",
|
966
1011
|
"nodeType": "VariableDeclaration",
|
967
|
-
"scope":
|
968
|
-
"src": "
|
1012
|
+
"scope": 23185,
|
1013
|
+
"src": "744:17:39",
|
969
1014
|
"stateVariable": false,
|
970
1015
|
"storageLocation": "memory",
|
971
1016
|
"typeDescriptions": {
|
@@ -973,10 +1018,10 @@
|
|
973
1018
|
"typeString": "bytes"
|
974
1019
|
},
|
975
1020
|
"typeName": {
|
976
|
-
"id":
|
1021
|
+
"id": 23181,
|
977
1022
|
"name": "bytes",
|
978
1023
|
"nodeType": "ElementaryTypeName",
|
979
|
-
"src": "
|
1024
|
+
"src": "744:5:39",
|
980
1025
|
"typeDescriptions": {
|
981
1026
|
"typeIdentifier": "t_bytes_storage_ptr",
|
982
1027
|
"typeString": "bytes"
|
@@ -985,15 +1030,15 @@
|
|
985
1030
|
"visibility": "internal"
|
986
1031
|
}
|
987
1032
|
],
|
988
|
-
"src": "
|
1033
|
+
"src": "727:35:39"
|
989
1034
|
},
|
990
1035
|
"returnParameters": {
|
991
|
-
"id":
|
1036
|
+
"id": 23184,
|
992
1037
|
"nodeType": "ParameterList",
|
993
1038
|
"parameters": [],
|
994
|
-
"src": "
|
1039
|
+
"src": "771:0:39"
|
995
1040
|
},
|
996
|
-
"scope":
|
1041
|
+
"scope": 23186,
|
997
1042
|
"stateMutability": "nonpayable",
|
998
1043
|
"virtual": false,
|
999
1044
|
"visibility": "external"
|
@@ -1004,74 +1049,80 @@
|
|
1004
1049
|
"canonicalName": "IWorldModuleInstallation",
|
1005
1050
|
"contractDependencies": [],
|
1006
1051
|
"contractKind": "interface",
|
1052
|
+
"documentation": {
|
1053
|
+
"id": 23176,
|
1054
|
+
"nodeType": "StructuredDocumentation",
|
1055
|
+
"src": "204:149:39",
|
1056
|
+
"text": " @title World Module Installation Interface\n @dev This interface defines the contract responsible for managing root modules installation."
|
1057
|
+
},
|
1007
1058
|
"fullyImplemented": false,
|
1008
1059
|
"linearizedBaseContracts": [
|
1009
|
-
|
1060
|
+
23186
|
1010
1061
|
],
|
1011
1062
|
"name": "IWorldModuleInstallation",
|
1012
|
-
"nameLocation": "
|
1013
|
-
"scope":
|
1063
|
+
"nameLocation": "364:24:39",
|
1064
|
+
"scope": 23245,
|
1014
1065
|
"usedErrors": [],
|
1015
1066
|
"usedEvents": []
|
1016
1067
|
},
|
1017
1068
|
{
|
1018
|
-
"id":
|
1069
|
+
"id": 23212,
|
1019
1070
|
"nodeType": "ContractDefinition",
|
1020
|
-
"src": "
|
1071
|
+
"src": "903:1234:39",
|
1021
1072
|
"nodes": [
|
1022
1073
|
{
|
1023
|
-
"id":
|
1074
|
+
"id": 23198,
|
1024
1075
|
"nodeType": "FunctionDefinition",
|
1025
|
-
"src": "
|
1076
|
+
"src": "1360:98:39",
|
1026
1077
|
"nodes": [],
|
1027
1078
|
"documentation": {
|
1028
|
-
"id":
|
1079
|
+
"id": 23188,
|
1029
1080
|
"nodeType": "StructuredDocumentation",
|
1030
|
-
"src": "
|
1031
|
-
"text": " Call the system at the given system ID.\n If the system is not public, the caller must have access to the namespace or name (encoded in the system ID)."
|
1081
|
+
"src": "928:429:39",
|
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."
|
1032
1083
|
},
|
1033
1084
|
"functionSelector": "3ae7af08",
|
1034
1085
|
"implemented": false,
|
1035
1086
|
"kind": "function",
|
1036
1087
|
"modifiers": [],
|
1037
1088
|
"name": "call",
|
1038
|
-
"nameLocation": "
|
1089
|
+
"nameLocation": "1369:4:39",
|
1039
1090
|
"parameters": {
|
1040
|
-
"id":
|
1091
|
+
"id": 23194,
|
1041
1092
|
"nodeType": "ParameterList",
|
1042
1093
|
"parameters": [
|
1043
1094
|
{
|
1044
1095
|
"constant": false,
|
1045
|
-
"id":
|
1096
|
+
"id": 23191,
|
1046
1097
|
"mutability": "mutable",
|
1047
1098
|
"name": "systemId",
|
1048
|
-
"nameLocation": "
|
1099
|
+
"nameLocation": "1385:8:39",
|
1049
1100
|
"nodeType": "VariableDeclaration",
|
1050
|
-
"scope":
|
1051
|
-
"src": "
|
1101
|
+
"scope": 23198,
|
1102
|
+
"src": "1374:19:39",
|
1052
1103
|
"stateVariable": false,
|
1053
1104
|
"storageLocation": "default",
|
1054
1105
|
"typeDescriptions": {
|
1055
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1106
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
|
1056
1107
|
"typeString": "ResourceId"
|
1057
1108
|
},
|
1058
1109
|
"typeName": {
|
1059
|
-
"id":
|
1110
|
+
"id": 23190,
|
1060
1111
|
"nodeType": "UserDefinedTypeName",
|
1061
1112
|
"pathNode": {
|
1062
|
-
"id":
|
1113
|
+
"id": 23189,
|
1063
1114
|
"name": "ResourceId",
|
1064
1115
|
"nameLocations": [
|
1065
|
-
"
|
1116
|
+
"1374:10:39"
|
1066
1117
|
],
|
1067
1118
|
"nodeType": "IdentifierPath",
|
1068
|
-
"referencedDeclaration":
|
1069
|
-
"src": "
|
1119
|
+
"referencedDeclaration": 26238,
|
1120
|
+
"src": "1374:10:39"
|
1070
1121
|
},
|
1071
|
-
"referencedDeclaration":
|
1072
|
-
"src": "
|
1122
|
+
"referencedDeclaration": 26238,
|
1123
|
+
"src": "1374:10:39",
|
1073
1124
|
"typeDescriptions": {
|
1074
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1125
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
|
1075
1126
|
"typeString": "ResourceId"
|
1076
1127
|
}
|
1077
1128
|
},
|
@@ -1079,13 +1130,13 @@
|
|
1079
1130
|
},
|
1080
1131
|
{
|
1081
1132
|
"constant": false,
|
1082
|
-
"id":
|
1133
|
+
"id": 23193,
|
1083
1134
|
"mutability": "mutable",
|
1084
1135
|
"name": "callData",
|
1085
|
-
"nameLocation": "
|
1136
|
+
"nameLocation": "1408:8:39",
|
1086
1137
|
"nodeType": "VariableDeclaration",
|
1087
|
-
"scope":
|
1088
|
-
"src": "
|
1138
|
+
"scope": 23198,
|
1139
|
+
"src": "1395:21:39",
|
1089
1140
|
"stateVariable": false,
|
1090
1141
|
"storageLocation": "memory",
|
1091
1142
|
"typeDescriptions": {
|
@@ -1093,10 +1144,10 @@
|
|
1093
1144
|
"typeString": "bytes"
|
1094
1145
|
},
|
1095
1146
|
"typeName": {
|
1096
|
-
"id":
|
1147
|
+
"id": 23192,
|
1097
1148
|
"name": "bytes",
|
1098
1149
|
"nodeType": "ElementaryTypeName",
|
1099
|
-
"src": "
|
1150
|
+
"src": "1395:5:39",
|
1100
1151
|
"typeDescriptions": {
|
1101
1152
|
"typeIdentifier": "t_bytes_storage_ptr",
|
1102
1153
|
"typeString": "bytes"
|
@@ -1105,21 +1156,21 @@
|
|
1105
1156
|
"visibility": "internal"
|
1106
1157
|
}
|
1107
1158
|
],
|
1108
|
-
"src": "
|
1159
|
+
"src": "1373:44:39"
|
1109
1160
|
},
|
1110
1161
|
"returnParameters": {
|
1111
|
-
"id":
|
1162
|
+
"id": 23197,
|
1112
1163
|
"nodeType": "ParameterList",
|
1113
1164
|
"parameters": [
|
1114
1165
|
{
|
1115
1166
|
"constant": false,
|
1116
|
-
"id":
|
1167
|
+
"id": 23196,
|
1117
1168
|
"mutability": "mutable",
|
1118
1169
|
"name": "",
|
1119
1170
|
"nameLocation": "-1:-1:-1",
|
1120
1171
|
"nodeType": "VariableDeclaration",
|
1121
|
-
"scope":
|
1122
|
-
"src": "
|
1172
|
+
"scope": 23198,
|
1173
|
+
"src": "1444:12:39",
|
1123
1174
|
"stateVariable": false,
|
1124
1175
|
"storageLocation": "memory",
|
1125
1176
|
"typeDescriptions": {
|
@@ -1127,10 +1178,10 @@
|
|
1127
1178
|
"typeString": "bytes"
|
1128
1179
|
},
|
1129
1180
|
"typeName": {
|
1130
|
-
"id":
|
1181
|
+
"id": 23195,
|
1131
1182
|
"name": "bytes",
|
1132
1183
|
"nodeType": "ElementaryTypeName",
|
1133
|
-
"src": "
|
1184
|
+
"src": "1444:5:39",
|
1134
1185
|
"typeDescriptions": {
|
1135
1186
|
"typeIdentifier": "t_bytes_storage_ptr",
|
1136
1187
|
"typeString": "bytes"
|
@@ -1139,43 +1190,43 @@
|
|
1139
1190
|
"visibility": "internal"
|
1140
1191
|
}
|
1141
1192
|
],
|
1142
|
-
"src": "
|
1193
|
+
"src": "1443:14:39"
|
1143
1194
|
},
|
1144
|
-
"scope":
|
1195
|
+
"scope": 23212,
|
1145
1196
|
"stateMutability": "payable",
|
1146
1197
|
"virtual": false,
|
1147
1198
|
"visibility": "external"
|
1148
1199
|
},
|
1149
1200
|
{
|
1150
|
-
"id":
|
1201
|
+
"id": 23211,
|
1151
1202
|
"nodeType": "FunctionDefinition",
|
1152
|
-
"src": "
|
1203
|
+
"src": "1998:137:39",
|
1153
1204
|
"nodes": [],
|
1154
1205
|
"documentation": {
|
1155
|
-
"id":
|
1206
|
+
"id": 23199,
|
1156
1207
|
"nodeType": "StructuredDocumentation",
|
1157
|
-
"src": "
|
1158
|
-
"text": " Call the system at the given system ID on behalf of the given delegator.\n If the system is not public, the delegator must have access to the namespace or name (encoded in the system ID)."
|
1208
|
+
"src": "1462:533:39",
|
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."
|
1159
1210
|
},
|
1160
1211
|
"functionSelector": "894ecc58",
|
1161
1212
|
"implemented": false,
|
1162
1213
|
"kind": "function",
|
1163
1214
|
"modifiers": [],
|
1164
1215
|
"name": "callFrom",
|
1165
|
-
"nameLocation": "
|
1216
|
+
"nameLocation": "2007:8:39",
|
1166
1217
|
"parameters": {
|
1167
|
-
"id":
|
1218
|
+
"id": 23207,
|
1168
1219
|
"nodeType": "ParameterList",
|
1169
1220
|
"parameters": [
|
1170
1221
|
{
|
1171
1222
|
"constant": false,
|
1172
|
-
"id":
|
1223
|
+
"id": 23201,
|
1173
1224
|
"mutability": "mutable",
|
1174
1225
|
"name": "delegator",
|
1175
|
-
"nameLocation": "
|
1226
|
+
"nameLocation": "2029:9:39",
|
1176
1227
|
"nodeType": "VariableDeclaration",
|
1177
|
-
"scope":
|
1178
|
-
"src": "
|
1228
|
+
"scope": 23211,
|
1229
|
+
"src": "2021:17:39",
|
1179
1230
|
"stateVariable": false,
|
1180
1231
|
"storageLocation": "default",
|
1181
1232
|
"typeDescriptions": {
|
@@ -1183,10 +1234,10 @@
|
|
1183
1234
|
"typeString": "address"
|
1184
1235
|
},
|
1185
1236
|
"typeName": {
|
1186
|
-
"id":
|
1237
|
+
"id": 23200,
|
1187
1238
|
"name": "address",
|
1188
1239
|
"nodeType": "ElementaryTypeName",
|
1189
|
-
"src": "
|
1240
|
+
"src": "2021:7:39",
|
1190
1241
|
"stateMutability": "nonpayable",
|
1191
1242
|
"typeDescriptions": {
|
1192
1243
|
"typeIdentifier": "t_address",
|
@@ -1197,36 +1248,36 @@
|
|
1197
1248
|
},
|
1198
1249
|
{
|
1199
1250
|
"constant": false,
|
1200
|
-
"id":
|
1251
|
+
"id": 23204,
|
1201
1252
|
"mutability": "mutable",
|
1202
1253
|
"name": "systemId",
|
1203
|
-
"nameLocation": "
|
1254
|
+
"nameLocation": "2055:8:39",
|
1204
1255
|
"nodeType": "VariableDeclaration",
|
1205
|
-
"scope":
|
1206
|
-
"src": "
|
1256
|
+
"scope": 23211,
|
1257
|
+
"src": "2044:19:39",
|
1207
1258
|
"stateVariable": false,
|
1208
1259
|
"storageLocation": "default",
|
1209
1260
|
"typeDescriptions": {
|
1210
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1261
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
|
1211
1262
|
"typeString": "ResourceId"
|
1212
1263
|
},
|
1213
1264
|
"typeName": {
|
1214
|
-
"id":
|
1265
|
+
"id": 23203,
|
1215
1266
|
"nodeType": "UserDefinedTypeName",
|
1216
1267
|
"pathNode": {
|
1217
|
-
"id":
|
1268
|
+
"id": 23202,
|
1218
1269
|
"name": "ResourceId",
|
1219
1270
|
"nameLocations": [
|
1220
|
-
"
|
1271
|
+
"2044:10:39"
|
1221
1272
|
],
|
1222
1273
|
"nodeType": "IdentifierPath",
|
1223
|
-
"referencedDeclaration":
|
1224
|
-
"src": "
|
1274
|
+
"referencedDeclaration": 26238,
|
1275
|
+
"src": "2044:10:39"
|
1225
1276
|
},
|
1226
|
-
"referencedDeclaration":
|
1227
|
-
"src": "
|
1277
|
+
"referencedDeclaration": 26238,
|
1278
|
+
"src": "2044:10:39",
|
1228
1279
|
"typeDescriptions": {
|
1229
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1280
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
|
1230
1281
|
"typeString": "ResourceId"
|
1231
1282
|
}
|
1232
1283
|
},
|
@@ -1234,13 +1285,13 @@
|
|
1234
1285
|
},
|
1235
1286
|
{
|
1236
1287
|
"constant": false,
|
1237
|
-
"id":
|
1288
|
+
"id": 23206,
|
1238
1289
|
"mutability": "mutable",
|
1239
1290
|
"name": "callData",
|
1240
|
-
"nameLocation": "
|
1291
|
+
"nameLocation": "2082:8:39",
|
1241
1292
|
"nodeType": "VariableDeclaration",
|
1242
|
-
"scope":
|
1243
|
-
"src": "
|
1293
|
+
"scope": 23211,
|
1294
|
+
"src": "2069:21:39",
|
1244
1295
|
"stateVariable": false,
|
1245
1296
|
"storageLocation": "memory",
|
1246
1297
|
"typeDescriptions": {
|
@@ -1248,10 +1299,10 @@
|
|
1248
1299
|
"typeString": "bytes"
|
1249
1300
|
},
|
1250
1301
|
"typeName": {
|
1251
|
-
"id":
|
1302
|
+
"id": 23205,
|
1252
1303
|
"name": "bytes",
|
1253
1304
|
"nodeType": "ElementaryTypeName",
|
1254
|
-
"src": "
|
1305
|
+
"src": "2069:5:39",
|
1255
1306
|
"typeDescriptions": {
|
1256
1307
|
"typeIdentifier": "t_bytes_storage_ptr",
|
1257
1308
|
"typeString": "bytes"
|
@@ -1260,21 +1311,21 @@
|
|
1260
1311
|
"visibility": "internal"
|
1261
1312
|
}
|
1262
1313
|
],
|
1263
|
-
"src": "
|
1314
|
+
"src": "2015:79:39"
|
1264
1315
|
},
|
1265
1316
|
"returnParameters": {
|
1266
|
-
"id":
|
1317
|
+
"id": 23210,
|
1267
1318
|
"nodeType": "ParameterList",
|
1268
1319
|
"parameters": [
|
1269
1320
|
{
|
1270
1321
|
"constant": false,
|
1271
|
-
"id":
|
1322
|
+
"id": 23209,
|
1272
1323
|
"mutability": "mutable",
|
1273
1324
|
"name": "",
|
1274
1325
|
"nameLocation": "-1:-1:-1",
|
1275
1326
|
"nodeType": "VariableDeclaration",
|
1276
|
-
"scope":
|
1277
|
-
"src": "
|
1327
|
+
"scope": 23211,
|
1328
|
+
"src": "2121:12:39",
|
1278
1329
|
"stateVariable": false,
|
1279
1330
|
"storageLocation": "memory",
|
1280
1331
|
"typeDescriptions": {
|
@@ -1282,10 +1333,10 @@
|
|
1282
1333
|
"typeString": "bytes"
|
1283
1334
|
},
|
1284
1335
|
"typeName": {
|
1285
|
-
"id":
|
1336
|
+
"id": 23208,
|
1286
1337
|
"name": "bytes",
|
1287
1338
|
"nodeType": "ElementaryTypeName",
|
1288
|
-
"src": "
|
1339
|
+
"src": "2121:5:39",
|
1289
1340
|
"typeDescriptions": {
|
1290
1341
|
"typeIdentifier": "t_bytes_storage_ptr",
|
1291
1342
|
"typeString": "bytes"
|
@@ -1294,9 +1345,9 @@
|
|
1294
1345
|
"visibility": "internal"
|
1295
1346
|
}
|
1296
1347
|
],
|
1297
|
-
"src": "
|
1348
|
+
"src": "2120:14:39"
|
1298
1349
|
},
|
1299
|
-
"scope":
|
1350
|
+
"scope": 23212,
|
1300
1351
|
"stateMutability": "payable",
|
1301
1352
|
"virtual": false,
|
1302
1353
|
"visibility": "external"
|
@@ -1307,44 +1358,56 @@
|
|
1307
1358
|
"canonicalName": "IWorldCall",
|
1308
1359
|
"contractDependencies": [],
|
1309
1360
|
"contractKind": "interface",
|
1361
|
+
"documentation": {
|
1362
|
+
"id": 23187,
|
1363
|
+
"nodeType": "StructuredDocumentation",
|
1364
|
+
"src": "776:126:39",
|
1365
|
+
"text": " @title World Call Interface\n @dev This interface defines the contract for executing calls on the World's systems."
|
1366
|
+
},
|
1310
1367
|
"fullyImplemented": false,
|
1311
1368
|
"linearizedBaseContracts": [
|
1312
|
-
|
1369
|
+
23212
|
1313
1370
|
],
|
1314
1371
|
"name": "IWorldCall",
|
1315
|
-
"nameLocation": "
|
1316
|
-
"scope":
|
1372
|
+
"nameLocation": "913:10:39",
|
1373
|
+
"scope": 23245,
|
1317
1374
|
"usedErrors": [],
|
1318
1375
|
"usedEvents": []
|
1319
1376
|
},
|
1320
1377
|
{
|
1321
|
-
"id":
|
1378
|
+
"id": 23244,
|
1322
1379
|
"nodeType": "ContractDefinition",
|
1323
|
-
"src": "
|
1380
|
+
"src": "2440:849:39",
|
1324
1381
|
"nodes": [
|
1325
1382
|
{
|
1326
|
-
"id":
|
1383
|
+
"id": 23224,
|
1327
1384
|
"nodeType": "EventDefinition",
|
1328
|
-
"src": "
|
1385
|
+
"src": "2658:47:39",
|
1329
1386
|
"nodes": [],
|
1330
1387
|
"anonymous": false,
|
1388
|
+
"documentation": {
|
1389
|
+
"id": 23220,
|
1390
|
+
"nodeType": "StructuredDocumentation",
|
1391
|
+
"src": "2521:134:39",
|
1392
|
+
"text": " @dev Emitted upon successful World initialization.\n @param worldVersion The version of the World being initialized."
|
1393
|
+
},
|
1331
1394
|
"eventSelector": "7f8f36afe3fb61c459c1a54a60b8a477eab02cc58e49f547561a40906239cb82",
|
1332
1395
|
"name": "HelloWorld",
|
1333
|
-
"nameLocation": "
|
1396
|
+
"nameLocation": "2664:10:39",
|
1334
1397
|
"parameters": {
|
1335
|
-
"id":
|
1398
|
+
"id": 23223,
|
1336
1399
|
"nodeType": "ParameterList",
|
1337
1400
|
"parameters": [
|
1338
1401
|
{
|
1339
1402
|
"constant": false,
|
1340
|
-
"id":
|
1403
|
+
"id": 23222,
|
1341
1404
|
"indexed": true,
|
1342
1405
|
"mutability": "mutable",
|
1343
1406
|
"name": "worldVersion",
|
1344
|
-
"nameLocation": "
|
1407
|
+
"nameLocation": "2691:12:39",
|
1345
1408
|
"nodeType": "VariableDeclaration",
|
1346
|
-
"scope":
|
1347
|
-
"src": "
|
1409
|
+
"scope": 23224,
|
1410
|
+
"src": "2675:28:39",
|
1348
1411
|
"stateVariable": false,
|
1349
1412
|
"storageLocation": "default",
|
1350
1413
|
"typeDescriptions": {
|
@@ -1352,10 +1415,10 @@
|
|
1352
1415
|
"typeString": "bytes32"
|
1353
1416
|
},
|
1354
1417
|
"typeName": {
|
1355
|
-
"id":
|
1418
|
+
"id": 23221,
|
1356
1419
|
"name": "bytes32",
|
1357
1420
|
"nodeType": "ElementaryTypeName",
|
1358
|
-
"src": "
|
1421
|
+
"src": "2675:7:39",
|
1359
1422
|
"typeDescriptions": {
|
1360
1423
|
"typeIdentifier": "t_bytes32",
|
1361
1424
|
"typeString": "bytes32"
|
@@ -1364,45 +1427,45 @@
|
|
1364
1427
|
"visibility": "internal"
|
1365
1428
|
}
|
1366
1429
|
],
|
1367
|
-
"src": "
|
1430
|
+
"src": "2674:30:39"
|
1368
1431
|
}
|
1369
1432
|
},
|
1370
1433
|
{
|
1371
|
-
"id":
|
1434
|
+
"id": 23230,
|
1372
1435
|
"nodeType": "FunctionDefinition",
|
1373
|
-
"src": "
|
1436
|
+
"src": "2819:56:39",
|
1374
1437
|
"nodes": [],
|
1375
1438
|
"documentation": {
|
1376
|
-
"id":
|
1439
|
+
"id": 23225,
|
1377
1440
|
"nodeType": "StructuredDocumentation",
|
1378
|
-
"src": "
|
1379
|
-
"text": " The version of the World."
|
1441
|
+
"src": "2709:107:39",
|
1442
|
+
"text": " @notice Retrieve the version of the World.\n @return The version identifier of the World."
|
1380
1443
|
},
|
1381
1444
|
"functionSelector": "6951955d",
|
1382
1445
|
"implemented": false,
|
1383
1446
|
"kind": "function",
|
1384
1447
|
"modifiers": [],
|
1385
1448
|
"name": "worldVersion",
|
1386
|
-
"nameLocation": "
|
1449
|
+
"nameLocation": "2828:12:39",
|
1387
1450
|
"parameters": {
|
1388
|
-
"id":
|
1451
|
+
"id": 23226,
|
1389
1452
|
"nodeType": "ParameterList",
|
1390
1453
|
"parameters": [],
|
1391
|
-
"src": "
|
1454
|
+
"src": "2840:2:39"
|
1392
1455
|
},
|
1393
1456
|
"returnParameters": {
|
1394
|
-
"id":
|
1457
|
+
"id": 23229,
|
1395
1458
|
"nodeType": "ParameterList",
|
1396
1459
|
"parameters": [
|
1397
1460
|
{
|
1398
1461
|
"constant": false,
|
1399
|
-
"id":
|
1462
|
+
"id": 23228,
|
1400
1463
|
"mutability": "mutable",
|
1401
1464
|
"name": "",
|
1402
1465
|
"nameLocation": "-1:-1:-1",
|
1403
1466
|
"nodeType": "VariableDeclaration",
|
1404
|
-
"scope":
|
1405
|
-
"src": "
|
1467
|
+
"scope": 23230,
|
1468
|
+
"src": "2866:7:39",
|
1406
1469
|
"stateVariable": false,
|
1407
1470
|
"storageLocation": "default",
|
1408
1471
|
"typeDescriptions": {
|
@@ -1410,10 +1473,10 @@
|
|
1410
1473
|
"typeString": "bytes32"
|
1411
1474
|
},
|
1412
1475
|
"typeName": {
|
1413
|
-
"id":
|
1476
|
+
"id": 23227,
|
1414
1477
|
"name": "bytes32",
|
1415
1478
|
"nodeType": "ElementaryTypeName",
|
1416
|
-
"src": "
|
1479
|
+
"src": "2866:7:39",
|
1417
1480
|
"typeDescriptions": {
|
1418
1481
|
"typeIdentifier": "t_bytes32",
|
1419
1482
|
"typeString": "bytes32"
|
@@ -1422,49 +1485,49 @@
|
|
1422
1485
|
"visibility": "internal"
|
1423
1486
|
}
|
1424
1487
|
],
|
1425
|
-
"src": "
|
1488
|
+
"src": "2865:9:39"
|
1426
1489
|
},
|
1427
|
-
"scope":
|
1490
|
+
"scope": 23244,
|
1428
1491
|
"stateMutability": "view",
|
1429
1492
|
"virtual": false,
|
1430
1493
|
"visibility": "external"
|
1431
1494
|
},
|
1432
1495
|
{
|
1433
|
-
"id":
|
1496
|
+
"id": 23236,
|
1434
1497
|
"nodeType": "FunctionDefinition",
|
1435
|
-
"src": "
|
1498
|
+
"src": "3008:51:39",
|
1436
1499
|
"nodes": [],
|
1437
1500
|
"documentation": {
|
1438
|
-
"id":
|
1501
|
+
"id": 23231,
|
1439
1502
|
"nodeType": "StructuredDocumentation",
|
1440
|
-
"src": "
|
1441
|
-
"text": "
|
1503
|
+
"src": "2879:126:39",
|
1504
|
+
"text": " @notice Retrieve the immutable original deployer of the World.\n @return The address of the World's creator."
|
1442
1505
|
},
|
1443
1506
|
"functionSelector": "02d05d3f",
|
1444
1507
|
"implemented": false,
|
1445
1508
|
"kind": "function",
|
1446
1509
|
"modifiers": [],
|
1447
1510
|
"name": "creator",
|
1448
|
-
"nameLocation": "
|
1511
|
+
"nameLocation": "3017:7:39",
|
1449
1512
|
"parameters": {
|
1450
|
-
"id":
|
1513
|
+
"id": 23232,
|
1451
1514
|
"nodeType": "ParameterList",
|
1452
1515
|
"parameters": [],
|
1453
|
-
"src": "
|
1516
|
+
"src": "3024:2:39"
|
1454
1517
|
},
|
1455
1518
|
"returnParameters": {
|
1456
|
-
"id":
|
1519
|
+
"id": 23235,
|
1457
1520
|
"nodeType": "ParameterList",
|
1458
1521
|
"parameters": [
|
1459
1522
|
{
|
1460
1523
|
"constant": false,
|
1461
|
-
"id":
|
1524
|
+
"id": 23234,
|
1462
1525
|
"mutability": "mutable",
|
1463
1526
|
"name": "",
|
1464
1527
|
"nameLocation": "-1:-1:-1",
|
1465
1528
|
"nodeType": "VariableDeclaration",
|
1466
|
-
"scope":
|
1467
|
-
"src": "
|
1529
|
+
"scope": 23236,
|
1530
|
+
"src": "3050:7:39",
|
1468
1531
|
"stateVariable": false,
|
1469
1532
|
"storageLocation": "default",
|
1470
1533
|
"typeDescriptions": {
|
@@ -1472,10 +1535,10 @@
|
|
1472
1535
|
"typeString": "address"
|
1473
1536
|
},
|
1474
1537
|
"typeName": {
|
1475
|
-
"id":
|
1538
|
+
"id": 23233,
|
1476
1539
|
"name": "address",
|
1477
1540
|
"nodeType": "ElementaryTypeName",
|
1478
|
-
"src": "
|
1541
|
+
"src": "3050:7:39",
|
1479
1542
|
"stateMutability": "nonpayable",
|
1480
1543
|
"typeDescriptions": {
|
1481
1544
|
"typeIdentifier": "t_address",
|
@@ -1485,43 +1548,43 @@
|
|
1485
1548
|
"visibility": "internal"
|
1486
1549
|
}
|
1487
1550
|
],
|
1488
|
-
"src": "
|
1551
|
+
"src": "3049:9:39"
|
1489
1552
|
},
|
1490
|
-
"scope":
|
1553
|
+
"scope": 23244,
|
1491
1554
|
"stateMutability": "view",
|
1492
1555
|
"virtual": false,
|
1493
1556
|
"visibility": "external"
|
1494
1557
|
},
|
1495
1558
|
{
|
1496
|
-
"id":
|
1559
|
+
"id": 23243,
|
1497
1560
|
"nodeType": "FunctionDefinition",
|
1498
|
-
"src": "
|
1561
|
+
"src": "3238:49:39",
|
1499
1562
|
"nodes": [],
|
1500
1563
|
"documentation": {
|
1501
|
-
"id":
|
1564
|
+
"id": 23237,
|
1502
1565
|
"nodeType": "StructuredDocumentation",
|
1503
|
-
"src": "
|
1504
|
-
"text": "
|
1566
|
+
"src": "3063:172:39",
|
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."
|
1505
1568
|
},
|
1506
1569
|
"functionSelector": "c4d66de8",
|
1507
1570
|
"implemented": false,
|
1508
1571
|
"kind": "function",
|
1509
1572
|
"modifiers": [],
|
1510
1573
|
"name": "initialize",
|
1511
|
-
"nameLocation": "
|
1574
|
+
"nameLocation": "3247:10:39",
|
1512
1575
|
"parameters": {
|
1513
|
-
"id":
|
1576
|
+
"id": 23241,
|
1514
1577
|
"nodeType": "ParameterList",
|
1515
1578
|
"parameters": [
|
1516
1579
|
{
|
1517
1580
|
"constant": false,
|
1518
|
-
"id":
|
1581
|
+
"id": 23240,
|
1519
1582
|
"mutability": "mutable",
|
1520
1583
|
"name": "coreModule",
|
1521
|
-
"nameLocation": "
|
1584
|
+
"nameLocation": "3266:10:39",
|
1522
1585
|
"nodeType": "VariableDeclaration",
|
1523
|
-
"scope":
|
1524
|
-
"src": "
|
1586
|
+
"scope": 23243,
|
1587
|
+
"src": "3258:18:39",
|
1525
1588
|
"stateVariable": false,
|
1526
1589
|
"storageLocation": "default",
|
1527
1590
|
"typeDescriptions": {
|
@@ -1529,20 +1592,20 @@
|
|
1529
1592
|
"typeString": "contract IModule"
|
1530
1593
|
},
|
1531
1594
|
"typeName": {
|
1532
|
-
"id":
|
1595
|
+
"id": 23239,
|
1533
1596
|
"nodeType": "UserDefinedTypeName",
|
1534
1597
|
"pathNode": {
|
1535
|
-
"id":
|
1598
|
+
"id": 23238,
|
1536
1599
|
"name": "IModule",
|
1537
1600
|
"nameLocations": [
|
1538
|
-
"
|
1601
|
+
"3258:7:39"
|
1539
1602
|
],
|
1540
1603
|
"nodeType": "IdentifierPath",
|
1541
1604
|
"referencedDeclaration": 22985,
|
1542
|
-
"src": "
|
1605
|
+
"src": "3258:7:39"
|
1543
1606
|
},
|
1544
1607
|
"referencedDeclaration": 22985,
|
1545
|
-
"src": "
|
1608
|
+
"src": "3258:7:39",
|
1546
1609
|
"typeDescriptions": {
|
1547
1610
|
"typeIdentifier": "t_contract$_IModule_$22985",
|
1548
1611
|
"typeString": "contract IModule"
|
@@ -1551,15 +1614,15 @@
|
|
1551
1614
|
"visibility": "internal"
|
1552
1615
|
}
|
1553
1616
|
],
|
1554
|
-
"src": "
|
1617
|
+
"src": "3257:20:39"
|
1555
1618
|
},
|
1556
1619
|
"returnParameters": {
|
1557
|
-
"id":
|
1620
|
+
"id": 23242,
|
1558
1621
|
"nodeType": "ParameterList",
|
1559
1622
|
"parameters": [],
|
1560
|
-
"src": "
|
1623
|
+
"src": "3286:0:39"
|
1561
1624
|
},
|
1562
|
-
"scope":
|
1625
|
+
"scope": 23244,
|
1563
1626
|
"stateMutability": "nonpayable",
|
1564
1627
|
"virtual": false,
|
1565
1628
|
"visibility": "external"
|
@@ -1569,87 +1632,87 @@
|
|
1569
1632
|
"baseContracts": [
|
1570
1633
|
{
|
1571
1634
|
"baseName": {
|
1572
|
-
"id":
|
1635
|
+
"id": 23214,
|
1573
1636
|
"name": "IWorldModuleInstallation",
|
1574
1637
|
"nameLocations": [
|
1575
|
-
"
|
1638
|
+
"2466:24:39"
|
1576
1639
|
],
|
1577
1640
|
"nodeType": "IdentifierPath",
|
1578
|
-
"referencedDeclaration":
|
1579
|
-
"src": "
|
1641
|
+
"referencedDeclaration": 23186,
|
1642
|
+
"src": "2466:24:39"
|
1580
1643
|
},
|
1581
|
-
"id":
|
1644
|
+
"id": 23215,
|
1582
1645
|
"nodeType": "InheritanceSpecifier",
|
1583
|
-
"src": "
|
1646
|
+
"src": "2466:24:39"
|
1584
1647
|
},
|
1585
1648
|
{
|
1586
1649
|
"baseName": {
|
1587
|
-
"id":
|
1650
|
+
"id": 23216,
|
1588
1651
|
"name": "IWorldCall",
|
1589
1652
|
"nameLocations": [
|
1590
|
-
"
|
1653
|
+
"2492:10:39"
|
1591
1654
|
],
|
1592
1655
|
"nodeType": "IdentifierPath",
|
1593
|
-
"referencedDeclaration":
|
1594
|
-
"src": "
|
1656
|
+
"referencedDeclaration": 23212,
|
1657
|
+
"src": "2492:10:39"
|
1595
1658
|
},
|
1596
|
-
"id":
|
1659
|
+
"id": 23217,
|
1597
1660
|
"nodeType": "InheritanceSpecifier",
|
1598
|
-
"src": "
|
1661
|
+
"src": "2492:10:39"
|
1599
1662
|
},
|
1600
1663
|
{
|
1601
1664
|
"baseName": {
|
1602
|
-
"id":
|
1665
|
+
"id": 23218,
|
1603
1666
|
"name": "IWorldErrors",
|
1604
1667
|
"nameLocations": [
|
1605
|
-
"
|
1668
|
+
"2504:12:39"
|
1606
1669
|
],
|
1607
1670
|
"nodeType": "IdentifierPath",
|
1608
|
-
"referencedDeclaration":
|
1609
|
-
"src": "
|
1671
|
+
"referencedDeclaration": 23167,
|
1672
|
+
"src": "2504:12:39"
|
1610
1673
|
},
|
1611
|
-
"id":
|
1674
|
+
"id": 23219,
|
1612
1675
|
"nodeType": "InheritanceSpecifier",
|
1613
|
-
"src": "
|
1676
|
+
"src": "2504:12:39"
|
1614
1677
|
}
|
1615
1678
|
],
|
1616
1679
|
"canonicalName": "IWorldKernel",
|
1617
1680
|
"contractDependencies": [],
|
1618
1681
|
"contractKind": "interface",
|
1619
1682
|
"documentation": {
|
1620
|
-
"id":
|
1683
|
+
"id": 23213,
|
1621
1684
|
"nodeType": "StructuredDocumentation",
|
1622
|
-
"src": "
|
1623
|
-
"text": " The IWorldKernel interface includes all methods that are part of the World contract's\n internal bytecode
|
1685
|
+
"src": "2139:300:39",
|
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`."
|
1624
1687
|
},
|
1625
1688
|
"fullyImplemented": false,
|
1626
1689
|
"linearizedBaseContracts": [
|
1627
|
-
|
1628
|
-
|
1629
|
-
|
1630
|
-
|
1690
|
+
23244,
|
1691
|
+
23167,
|
1692
|
+
23212,
|
1693
|
+
23186
|
1631
1694
|
],
|
1632
1695
|
"name": "IWorldKernel",
|
1633
|
-
"nameLocation": "
|
1634
|
-
"scope":
|
1696
|
+
"nameLocation": "2450:12:39",
|
1697
|
+
"scope": 23245,
|
1635
1698
|
"usedErrors": [
|
1636
|
-
|
1637
|
-
|
1638
|
-
23084,
|
1639
|
-
23090,
|
1699
|
+
23081,
|
1700
|
+
23089,
|
1640
1701
|
23097,
|
1641
|
-
|
1642
|
-
|
1643
|
-
23109,
|
1644
|
-
23115,
|
1702
|
+
23104,
|
1703
|
+
23112,
|
1645
1704
|
23117,
|
1646
|
-
|
1647
|
-
|
1648
|
-
|
1649
|
-
|
1705
|
+
23122,
|
1706
|
+
23127,
|
1707
|
+
23134,
|
1708
|
+
23137,
|
1709
|
+
23144,
|
1710
|
+
23151,
|
1711
|
+
23161,
|
1712
|
+
23166
|
1650
1713
|
],
|
1651
1714
|
"usedEvents": [
|
1652
|
-
|
1715
|
+
23224
|
1653
1716
|
]
|
1654
1717
|
}
|
1655
1718
|
],
|