@latticexyz/world-modules 2.0.0-main-08d7c471 → 2.0.0-main-430e6b29
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/AccessControl.sol/AccessControl.json +200 -200
- package/out/ArrayLib.sol/ArrayLib.json +255 -255
- package/out/Balances.sol/Balances.json +1713 -1713
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +207 -207
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
- package/out/DelegationControl.sol/DelegationControl.json +89 -89
- package/out/FunctionSelectors.sol/FunctionSelectors.json +2335 -2335
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +18 -18
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
- package/out/IBaseWorld.sol/IBaseWorld.json +68 -68
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +15 -15
- package/out/IDelegationControl.sol/IDelegationControl.json +11 -11
- package/out/ISystemHook.sol/ISystemHook.json +16 -16
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
- package/out/IWorldKernel.sol/IWorldCall.json +14 -14
- package/out/IWorldKernel.sol/IWorldKernel.json +14 -14
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +14 -14
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +43 -43
- package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
- package/out/KeysInTableHook.sol/KeysInTableHook.json +861 -861
- package/out/KeysInTableModule.sol/KeysInTableModule.json +527 -527
- package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +989 -989
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +416 -416
- package/out/Module.sol/Module.json +75 -75
- package/out/NamespaceOwner.sol/NamespaceOwner.json +464 -464
- package/out/ResourceAccess.sol/ResourceAccess.json +471 -471
- 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 +293 -293
- package/out/StoreHook.sol/StoreHook.json +368 -368
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +19 -19
- package/out/SystemHooks.sol/SystemHooks.json +4091 -4091
- package/out/SystemSwitch.sol/SystemSwitch.json +356 -356
- package/out/Systems.sol/Systems.json +2459 -2459
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +111 -111
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
- package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +317 -317
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +85 -85
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2723 -2723
- package/out/WorldContext.sol/WorldContextConsumer.json +14 -14
- package/out/WorldContext.sol/WorldContextConsumerLib.json +14 -14
- package/out/WorldContext.sol/WorldContextProviderLib.json +14 -14
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +101 -101
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +101 -101
- package/out/constants.sol/constants.json +403 -120
- 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 +105 -105
- package/out/hasKey.sol/hasKey.json +130 -130
- package/out/index.sol/index.json +53 -53
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +128 -128
- package/out/query.sol/query.json +1154 -1154
- package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
- package/out/src/Bytes.sol/Bytes.json +1338 -1338
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +698 -698
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +698 -698
- package/out/src/Hook.sol/HookInstance.json +331 -331
- package/out/src/Hook.sol/HookLib.json +331 -331
- package/out/src/IStore.sol/IStore.json +53 -53
- package/out/src/ISystemHook.sol/ISystemHook.json +90 -90
- package/out/src/IWorldErrors.sol/IWorldErrors.json +151 -151
- 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 +91 -91
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +929 -929
- package/out/src/PackedCounter.sol/PackedCounterLib.json +929 -929
- package/out/src/ResourceId.sol/ResourceIdInstance.json +116 -116
- package/out/src/ResourceId.sol/ResourceIdLib.json +116 -116
- package/out/src/Schema.sol/SchemaInstance.json +790 -790
- package/out/src/Schema.sol/SchemaLib.json +790 -790
- package/out/src/Slice.sol/SliceInstance.json +430 -430
- package/out/src/Slice.sol/SliceLib.json +430 -430
- 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 +2483 -2483
- package/out/src/WorldContext.sol/WorldContextConsumer.json +418 -418
- package/out/src/WorldContext.sol/WorldContextConsumerLib.json +418 -418
- package/out/src/WorldContext.sol/WorldContextProviderLib.json +418 -418
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
- package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
- package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
- package/out/systemHookTypes.sol/systemHookTypes.json +25 -25
- package/out/tables/ResourceIds.sol/ResourceIds.json +1747 -1747
- package/out/tables/Tables.sol/Tables.json +7288 -7288
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
- package/out/types.sol/types.json +41 -41
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
@@ -11,7 +11,7 @@
|
|
11
11
|
"linkReferences": {}
|
12
12
|
},
|
13
13
|
"methodIdentifiers": {},
|
14
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Provides access control functions for checking permissions and ownership within a namespace.\",\"kind\":\"dev\",\"methods\":{},\"title\":\"AccessControl\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/world/src/AccessControl.sol\":\"AccessControl\"},\"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/schema-type/src/solidity/SchemaType.sol\":{\"keccak256\":\"0x770eff7a38b9b7b1613dc11ca09db4f28b42a117c9b39b2a06a650a58a250bdb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://39f544110658a53def52c2a4e33b8b158b95a4f14fccea58d5268b6e728d86d4\",\"dweb:/ipfs/QmTesj6tjSFbfAiKUitXapdNYWPStS8bLkB3r22qfyHwUC\"]},\"node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0xab31edce915377852bb5f29f7f2ccfc50cac087d64d2a8aae669715ad862d558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3187e86e43be1fbdd59df45c695294f1114aa1ac48e6445c0cb26089434be5c4\",\"dweb:/ipfs/Qmck7shMVrcKMVkgN2pC1byPY7hb3V9fTxnUcGgxAUeXYk\"]},\"node_modules/@latticexyz/store/src/FieldLayout.sol\":{\"keccak256\":\"0x2a0536cd6cecc479d0b81d5aad6380231f4d6873beadc54814d801c2036b02c0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e07c041e19146a9ec258cc700a450b4d49440202895eb12f3bb17508427c23ba\",\"dweb:/ipfs/QmXoqrCGDSkuFgNSMURRFdjokjREL78nLDzNaUi6rjefy9\"]},\"node_modules/@latticexyz/store/src/Hook.sol\":{\"keccak256\":\"0x045024523eb55d08ad8d13eca6185bff2988865f4aa12e3f9372029c2ecb8ddd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6621c53b49f8fe0557d1a1db47bfe1561801c09256948dd0652fb41541891a18\",\"dweb:/ipfs/QmZgFVCUH1pKcc9MeFyzMe1VW87SLz6c9szGwrDRUp6BZe\"]},\"node_modules/@latticexyz/store/src/IERC165.sol\":{\"keccak256\":\"0x2bbc3c43400c15a91a5cb35430a91309cb64a4d13a0a170eacec71dcf334feaf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f44dfc9605067de539de07a76a34bf469faa9e6dad8c192abafc2e05860c7dd2\",\"dweb:/ipfs/QmX8xgG6XWokM7YFwFZvmMhuh1uhkSjxCMD2oTHjUVdapb\"]},\"node_modules/@latticexyz/store/src/IStore.sol\":{\"keccak256\":\"0x9092b65551d0f910e5645cebb5acadb387cdd192d75fa89cd6b293bd65b28827\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://478825a6f7eff9ddab968e71e1d55ebee279d3b318f10976d9334384000059c0\",\"dweb:/ipfs/Qme7NY976woRy3RQjE4tkkiwoXnoVtTmER3PbWCSbjZ2kb\"]},\"node_modules/@latticexyz/store/src/IStoreData.sol\":{\"keccak256\":\"0xa8eade05c551aeef35c84727d7a44af239516deb2d8a0cfb7ebeb5d88c6995e5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5335910bd8a204abb5f4396fb911a5ee5c221bd7fa63b1cc8ae5e737c6458c6a\",\"dweb:/ipfs/QmckkCAfrNcWo3yDxoD1jCe1k4iDA2GzVDpFjJZs7W79vx\"]},\"node_modules/@latticexyz/store/src/IStoreErrors.sol\":{\"keccak256\":\"0xb9070663ded3cad82285bb7610949e422f88abb48c2ddbd792af83d127d64212\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://830490f1c888bec86df1e7ef43773d60ebdbdfdb2b91ab7fe074e2f38d7439dc\",\"dweb:/ipfs/QmS26fpXdZuGgMmjcdQDf9k1Bedn2dhjk9byFZJoNkctPZ\"]},\"node_modules/@latticexyz/store/src/IStoreEvents.sol\":{\"keccak256\":\"0xdd3104680808f975462a85cbd4fa87783ba5395797419caeeca37e8f8627a16f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://943864b7eb16ad2047ade5a8598e85c8a4b46d1aed6aef02bfb7cee8de732b4d\",\"dweb:/ipfs/QmTEij4caToSNk15PFpubXYDy9QhwmPyP9tMXjUse2cTdv\"]},\"node_modules/@latticexyz/store/src/IStoreHook.sol\":{\"keccak256\":\"0xa6777c7868333996ad9c61a94457dcac702d8d7445a104dfdc86543d25e7470e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6268a16449d7529a94746d0103670dd0e38faf5117bf914fb01da9947ab44c2e\",\"dweb:/ipfs/QmaSfbx1QRA3jw2K8bGkQTw4CTGPUzNqnCJW7LwaFUJCXy\"]},\"node_modules/@latticexyz/store/src/IStoreRead.sol\":{\"keccak256\":\"0xd2180d53ecd31069b1166f170ecdcd85917ac50f45fc26fb39b49cee7ba00e37\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1494bb0a3228e2d194bddaed4761fd3ca865979f0e3f3a53acd271143a4aa0ac\",\"dweb:/ipfs/Qmaddnzzmu99iP9dTWK9ZeByh5dZyjY9SpVnRdvyr2fBAo\"]},\"node_modules/@latticexyz/store/src/IStoreRegistration.sol\":{\"keccak256\":\"0xf448fbb2bc9c982721a43234463656da5a49cea08543e62148d54f11e1ac3e2f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://64b3579d9b9dcd73dca2beab3d4fcf60237420945ebbb2e9f4ffcc88f4110115\",\"dweb:/ipfs/QmaW5nN3zGEriSYHncye6Nz2TkAw1oo1CyG2JuJTJrJoXg\"]},\"node_modules/@latticexyz/store/src/IStoreWrite.sol\":{\"keccak256\":\"0x8b6c7af5ee330928aebb58c8872d3944304ee10ed11f8a325b6accc4ec5df81b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b866d158701c7a40834bed735194b804ef219f2bbe574e2307785fff7bcf9da1\",\"dweb:/ipfs/QmXzJfZkXVfyr2RFGwDuazeVnV3UWYmQxjKZ3KzFbbe75U\"]},\"node_modules/@latticexyz/store/src/Memory.sol\":{\"keccak256\":\"0x69295976e61a1a108d1b4d6eb497b238730309f3047c4320d48e01a0ce8d4ec7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://559c451b21fb9dd4fec27b41bef42f4362f1e7ebb7992106d548b9d4f733b3e5\",\"dweb:/ipfs/QmeSE7YTW5zUrfZYFVb2pFnDe3XxiT8XNecfwC3wfpxCRv\"]},\"node_modules/@latticexyz/store/src/PackedCounter.sol\":{\"keccak256\":\"0x44ddfa9eb8a861462c550f0a9d66c40c68acdb347a61fa765949608407a2c7fb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://47ee957f4b19cab9e20bf5fc569c015eca13852fb3351f2a105a8be9c48204c0\",\"dweb:/ipfs/QmNkyzDobVQLoq9BtQ8HtgsPLiqnmi97EZx1wsu6wp8nKH\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x40983c580b8958e55db4520095934a535e98544ffe8228327e598973eb6647ed\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://839d658fa2bb2b1f09a08149d2bf0c26a26c301ad2dda8154fc99458085a695d\",\"dweb:/ipfs/Qmd5jHHYrgqraPqF8bjzT4xyjsoPk8K7pkxXLLfz6MRT6d\"]},\"node_modules/@latticexyz/store/src/Schema.sol\":{\"keccak256\":\"0x58aef318ba03f8ff8866ef70f8a30f549b150657ea699734aefe16c298956401\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7dc104690a7e2bcf5ce1afadcd58f8ef4d639b4b92b9ad9293656235d54395f3\",\"dweb:/ipfs/QmYJJvEv5KBJ3kzf9AkgRn7Uu5dp4exGTRddf4cae1btgE\"]},\"node_modules/@latticexyz/store/src/Slice.sol\":{\"keccak256\":\"0xfaf54b1f5acccd4c6ce3f8377050ee84efbb423cb604b4651e8b9ea3b467bf32\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acf2ce7ffec21f28ad1dc6da06c342f1212a03a3d16a0be7ee85715a5940718c\",\"dweb:/ipfs/QmTCN3NSdFg87hi7KS2Xtq7PsmRUMG64SxC8PtP3p2GzuT\"]},\"node_modules/@latticexyz/store/src/Storage.sol\":{\"keccak256\":\"0x0893905ebe431a414226b479a84a54804091001a406222c748adbd4b651853a5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bcfcd3848127884041f0bcd727a0e7acbddec283aa6c16ba47abc6a3be720648\",\"dweb:/ipfs/QmY5fBd53e4Ro6vzTZYsteSibSTXVA3GHTeCAiUZTa5DPZ\"]},\"node_modules/@latticexyz/store/src/StoreCore.sol\":{\"keccak256\":\"0x95b7d62d84b43777c54dd1c7d941dbb5ba0afc02c444c30cfdb1de671bbbf180\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fe62a2fdb2a73610c3072f31b7f88ed3f9d03c1009fe0f0ef37a7eb814b23534\",\"dweb:/ipfs/QmV85zaV5HAD6eGc5N4RmdtmpR6EwkswVLQTaR2aJqsXrj\"]},\"node_modules/@latticexyz/store/src/StoreSwitch.sol\":{\"keccak256\":\"0xf132af10f960a498f49c0534027056e715f4bdcb8fbdb53ac6879c92309ab416\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e85a09aeb7543bcd9d74b7ad319ae61e1f7f15a6a0ad9e79aff750fbd18111c7\",\"dweb:/ipfs/QmY6xgqeeaR1FsCPLmFbVgjm1D2UyrXNABKXWLfFaSmBhR\"]},\"node_modules/@latticexyz/store/src/codegen/index.sol\":{\"keccak256\":\"0xf337a5abb2d43ef00c1c200e7fbec30fc89c7c701e457ab4277194b700d2aea3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://eccdf6158076b4e8f1b587a0310228f53323705e054a44eaa7733f38805c3ee6\",\"dweb:/ipfs/QmbXEVNTctg54dK9awdCVyAjeuUjR6ckfmmXBP8DrFmjyq\"]},\"node_modules/@latticexyz/store/src/codegen/tables/Hooks.sol\":{\"keccak256\":\"0xacf4aee01f167b98b2869bdf4407682fd9f18b85507048bc274bcb98d094948c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://86b114326973cef4f59c17e947945d09b90a0c48ede1da80f4f8aed0b6de179c\",\"dweb:/ipfs/QmZ6K6gZnV2ZdgbT8yG7Jz4HgoPymgdX3jTy6oUnG9xdgD\"]},\"node_modules/@latticexyz/store/src/codegen/tables/ResourceIds.sol\":{\"keccak256\":\"0xc2dc1bd6335fb0cc27cb7a80298d954d9ce0a0e9864d1dd8531aadb66c0ce21d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a7e34a386bd44933010c4f5a4dbfe8b0b8e5e9e39eaead46a2ebef0018db9b72\",\"dweb:/ipfs/QmQPyAdLUmE2Y6Ai7t2n56USg25PGHYxxXWRi1zEkdyT6a\"]},\"node_modules/@latticexyz/store/src/codegen/tables/StoreHooks.sol\":{\"keccak256\":\"0xfecdfde3b41c04dcf43e9c19f84f6a7f77df0fd844928692742b47662a0b814c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://968e83ac99e8d1799730aa6f1f23962c3fe3566cd7ec8bcf97d297823c364764\",\"dweb:/ipfs/QmVnhbeg89ajfLP1U1HDLiWi8T7HuFtsXUydjKXyyPa7MP\"]},\"node_modules/@latticexyz/store/src/codegen/tables/Tables.sol\":{\"keccak256\":\"0x42b9fd484a055e8e312a2396059fb76a962608fa3a875ea3da6e5aab79084d04\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://866fd30788245eb54ac09d70768c0b34846d361b4219781c814fb06e38fb546c\",\"dweb:/ipfs/QmRbLCYjZ9qefcC8q7gnsAUsqCTEjdRtRnXdSNB1x7saPz\"]},\"node_modules/@latticexyz/store/src/constants.sol\":{\"keccak256\":\"0x9e37c64c119ef07ad914bc589ee3f6d67946ab95877978c1ee3e2c1ffae07076\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3fad47e542025382aa28e8171253e34f93b2f149434b67a26989542d70218793\",\"dweb:/ipfs/QmW6JsKNwPc6oAMrgcikgR2EPwMUtQANiuZSQSGCd29HHC\"]},\"node_modules/@latticexyz/store/src/leftMask.sol\":{\"keccak256\":\"0xd0360567e4d77c6a8e3d8a5f4bf3653ccde4d268674c50988d55695dc6193f6f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://53e6bcb53fcb08ee9426225fdab7c41df91e12cb4f80d92895a6117338627401\",\"dweb:/ipfs/QmeLcaPGeMBpNSTSsPYK3PHpzKuGMjuitCweAWcoXK2mXr\"]},\"node_modules/@latticexyz/store/src/storeHookTypes.sol\":{\"keccak256\":\"0x60880298016fa117ed9a43ddfd020f11d98a2d345bdcb08e5884e40df98eddd5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3619dfda1fd514c0fc5fb34c14d5b5aa41dd6ba6045d37d5f4c8199f3a826f81\",\"dweb:/ipfs/QmbzRBYfVa423gNzCitpGN3i2N9oeGYfinVE1jgtqxnNZX\"]},\"node_modules/@latticexyz/store/src/storeResourceTypes.sol\":{\"keccak256\":\"0xada1867ba72930fc5cf5562dd4e36de849dbac9c833b7969cb1b046a808fabf2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e4b5fdcaa54f567a3f8561c2c3fbc0d68c8dad892a4a8e5418bbce8efc53d84\",\"dweb:/ipfs/QmTWbYJX1yrCqrEwUKB9rGpHdRvLNU8GCkBbxnLjGD4d2t\"]},\"node_modules/@latticexyz/store/src/tightcoder/DecodeSlice.sol\":{\"keccak256\":\"0x1af0fd984640123391ec2df855d00298504b7ce186a56c2caca769cfd9e08e04\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7305a62318890d2cc6420ba7dec13d9f2c1cb67ac689015fc83b9cbccd0696f1\",\"dweb:/ipfs/QmR8jGNLbt64Tv1YZKRVBCVsd71oeUQFzGHHtpsrs4PuRq\"]},\"node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol\":{\"keccak256\":\"0x1c280d24360282e196d9c4833c58c2437108cea2af0ac7596f95be81389e306d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6b4556b6eeae9328fbd9adcce346547e823c397503276a4d63effb67e00b5b49\",\"dweb:/ipfs/QmUsynVsMYzjh8oJR8YB7SRrwFMdXcsQsHBrXxLEEFxsiB\"]},\"node_modules/@latticexyz/store/src/tightcoder/TightCoder.sol\":{\"keccak256\":\"0x5cacd4cb371e0a79bc8d64f62349d568fd8b08093c11ae0c3db4f16480d8808b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12b64ddf2b5c19cf68ba93a8153ed79cbafe7a91e015d4b2f25eb1d42ab06256\",\"dweb:/ipfs/QmQz5WwztcuTbSGFv2pkhU3w5scUj1gmavoyUpduxk2v3A\"]},\"node_modules/@latticexyz/store/src/version.sol\":{\"keccak256\":\"0x01029999a48b7c1d85de84cae465dd24ec126c95b8a865cd20c7ed5dfcc0f02c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9750164ce996badb0fd7df2f526780b9cb9558912405fe46f31064bd7c522491\",\"dweb:/ipfs/QmYf8m2ZXFANRc9ysHgNkNtSF327ccxKYjCUJ49UXBKADk\"]},\"node_modules/@latticexyz/world/src/AccessControl.sol\":{\"keccak256\":\"0x10ca29a5d7075edb2fe5cd559077fc34857129182f9d6ea074a234dfbcdb313e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fe2783b7d0592d14a20b8be192dd3fa4216f8e541adea579859ea2bf1224da3\",\"dweb:/ipfs/QmTi9XDP5jsQpbqvJxPvkqyDByv7i88wKidrYnTtLdPhka\"]},\"node_modules/@latticexyz/world/src/IWorldErrors.sol\":{\"keccak256\":\"0xc3e7975e5785574543229eac51e3441f4185863d7f5346c0ae08a27b4541f8a7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://62cc0dc109e6e5475bb07fb95643a31c74337c23521db0557a36dad6117a1e83\",\"dweb:/ipfs/Qmb8jbE1XQTUdreKFr4Jw3xmjctaLuReRZjPxZKQ2uW9p4\"]},\"node_modules/@latticexyz/world/src/WorldResourceId.sol\":{\"keccak256\":\"0xb7bfae2890004001221b3902d185c14cfea0e606d16914f6b7f81cf112aa9417\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acfd0d09166fc1bf16a8a5c80fbae1bd42426b2fcbab3c492bc836ea5c0375fb\",\"dweb:/ipfs/QmTzZWHVBkx8hipFVpgEwAbZpr4c6hfr7yf7R71JojT3NK\"]},\"node_modules/@latticexyz/world/src/codegen/tables/NamespaceOwner.sol\":{\"keccak256\":\"0x9e5fc362b440b455bbe891dd8359ad806d68ef94bd830a88c194427f3c2594f3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9c15bafbbd0b7a5bb86688ee0167dd38a67fd057d42b2dd039dca68c72332b0f\",\"dweb:/ipfs/QmVxr2tS62NdguHhWJi6ZHLkp8HJmWrvDF9GR7AQuGbYgs\"]},\"node_modules/@latticexyz/world/src/codegen/tables/ResourceAccess.sol\":{\"keccak256\":\"0x82ef3a86d211f4dfe2c190325ca5457867d2ca02fadb21c403d02ecaff5889db\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://59bb5cfb25ee1756a2f695941f5bc71f6be243a61bc3259b85e9a240e5cab0fa\",\"dweb:/ipfs/Qma6yZjHm282Zw19Ei3myVqkQ5fqqXarsNjEVEhbrKA532\"]},\"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}",
|
14
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Provides access control functions for checking permissions and ownership within a namespace.\",\"kind\":\"dev\",\"methods\":{},\"title\":\"AccessControl\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/world/src/AccessControl.sol\":\"AccessControl\"},\"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/schema-type/src/solidity/SchemaType.sol\":{\"keccak256\":\"0x770eff7a38b9b7b1613dc11ca09db4f28b42a117c9b39b2a06a650a58a250bdb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://39f544110658a53def52c2a4e33b8b158b95a4f14fccea58d5268b6e728d86d4\",\"dweb:/ipfs/QmTesj6tjSFbfAiKUitXapdNYWPStS8bLkB3r22qfyHwUC\"]},\"node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0xab31edce915377852bb5f29f7f2ccfc50cac087d64d2a8aae669715ad862d558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3187e86e43be1fbdd59df45c695294f1114aa1ac48e6445c0cb26089434be5c4\",\"dweb:/ipfs/Qmck7shMVrcKMVkgN2pC1byPY7hb3V9fTxnUcGgxAUeXYk\"]},\"node_modules/@latticexyz/store/src/FieldLayout.sol\":{\"keccak256\":\"0x2a0536cd6cecc479d0b81d5aad6380231f4d6873beadc54814d801c2036b02c0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e07c041e19146a9ec258cc700a450b4d49440202895eb12f3bb17508427c23ba\",\"dweb:/ipfs/QmXoqrCGDSkuFgNSMURRFdjokjREL78nLDzNaUi6rjefy9\"]},\"node_modules/@latticexyz/store/src/Hook.sol\":{\"keccak256\":\"0x045024523eb55d08ad8d13eca6185bff2988865f4aa12e3f9372029c2ecb8ddd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6621c53b49f8fe0557d1a1db47bfe1561801c09256948dd0652fb41541891a18\",\"dweb:/ipfs/QmZgFVCUH1pKcc9MeFyzMe1VW87SLz6c9szGwrDRUp6BZe\"]},\"node_modules/@latticexyz/store/src/IERC165.sol\":{\"keccak256\":\"0x2bbc3c43400c15a91a5cb35430a91309cb64a4d13a0a170eacec71dcf334feaf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f44dfc9605067de539de07a76a34bf469faa9e6dad8c192abafc2e05860c7dd2\",\"dweb:/ipfs/QmX8xgG6XWokM7YFwFZvmMhuh1uhkSjxCMD2oTHjUVdapb\"]},\"node_modules/@latticexyz/store/src/IStore.sol\":{\"keccak256\":\"0x9092b65551d0f910e5645cebb5acadb387cdd192d75fa89cd6b293bd65b28827\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://478825a6f7eff9ddab968e71e1d55ebee279d3b318f10976d9334384000059c0\",\"dweb:/ipfs/Qme7NY976woRy3RQjE4tkkiwoXnoVtTmER3PbWCSbjZ2kb\"]},\"node_modules/@latticexyz/store/src/IStoreData.sol\":{\"keccak256\":\"0xa8eade05c551aeef35c84727d7a44af239516deb2d8a0cfb7ebeb5d88c6995e5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5335910bd8a204abb5f4396fb911a5ee5c221bd7fa63b1cc8ae5e737c6458c6a\",\"dweb:/ipfs/QmckkCAfrNcWo3yDxoD1jCe1k4iDA2GzVDpFjJZs7W79vx\"]},\"node_modules/@latticexyz/store/src/IStoreErrors.sol\":{\"keccak256\":\"0xb9070663ded3cad82285bb7610949e422f88abb48c2ddbd792af83d127d64212\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://830490f1c888bec86df1e7ef43773d60ebdbdfdb2b91ab7fe074e2f38d7439dc\",\"dweb:/ipfs/QmS26fpXdZuGgMmjcdQDf9k1Bedn2dhjk9byFZJoNkctPZ\"]},\"node_modules/@latticexyz/store/src/IStoreEvents.sol\":{\"keccak256\":\"0xdd3104680808f975462a85cbd4fa87783ba5395797419caeeca37e8f8627a16f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://943864b7eb16ad2047ade5a8598e85c8a4b46d1aed6aef02bfb7cee8de732b4d\",\"dweb:/ipfs/QmTEij4caToSNk15PFpubXYDy9QhwmPyP9tMXjUse2cTdv\"]},\"node_modules/@latticexyz/store/src/IStoreHook.sol\":{\"keccak256\":\"0xa6777c7868333996ad9c61a94457dcac702d8d7445a104dfdc86543d25e7470e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6268a16449d7529a94746d0103670dd0e38faf5117bf914fb01da9947ab44c2e\",\"dweb:/ipfs/QmaSfbx1QRA3jw2K8bGkQTw4CTGPUzNqnCJW7LwaFUJCXy\"]},\"node_modules/@latticexyz/store/src/IStoreRead.sol\":{\"keccak256\":\"0xd2180d53ecd31069b1166f170ecdcd85917ac50f45fc26fb39b49cee7ba00e37\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1494bb0a3228e2d194bddaed4761fd3ca865979f0e3f3a53acd271143a4aa0ac\",\"dweb:/ipfs/Qmaddnzzmu99iP9dTWK9ZeByh5dZyjY9SpVnRdvyr2fBAo\"]},\"node_modules/@latticexyz/store/src/IStoreRegistration.sol\":{\"keccak256\":\"0xf448fbb2bc9c982721a43234463656da5a49cea08543e62148d54f11e1ac3e2f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://64b3579d9b9dcd73dca2beab3d4fcf60237420945ebbb2e9f4ffcc88f4110115\",\"dweb:/ipfs/QmaW5nN3zGEriSYHncye6Nz2TkAw1oo1CyG2JuJTJrJoXg\"]},\"node_modules/@latticexyz/store/src/IStoreWrite.sol\":{\"keccak256\":\"0x8b6c7af5ee330928aebb58c8872d3944304ee10ed11f8a325b6accc4ec5df81b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b866d158701c7a40834bed735194b804ef219f2bbe574e2307785fff7bcf9da1\",\"dweb:/ipfs/QmXzJfZkXVfyr2RFGwDuazeVnV3UWYmQxjKZ3KzFbbe75U\"]},\"node_modules/@latticexyz/store/src/Memory.sol\":{\"keccak256\":\"0x69295976e61a1a108d1b4d6eb497b238730309f3047c4320d48e01a0ce8d4ec7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://559c451b21fb9dd4fec27b41bef42f4362f1e7ebb7992106d548b9d4f733b3e5\",\"dweb:/ipfs/QmeSE7YTW5zUrfZYFVb2pFnDe3XxiT8XNecfwC3wfpxCRv\"]},\"node_modules/@latticexyz/store/src/PackedCounter.sol\":{\"keccak256\":\"0x44ddfa9eb8a861462c550f0a9d66c40c68acdb347a61fa765949608407a2c7fb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://47ee957f4b19cab9e20bf5fc569c015eca13852fb3351f2a105a8be9c48204c0\",\"dweb:/ipfs/QmNkyzDobVQLoq9BtQ8HtgsPLiqnmi97EZx1wsu6wp8nKH\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x40983c580b8958e55db4520095934a535e98544ffe8228327e598973eb6647ed\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://839d658fa2bb2b1f09a08149d2bf0c26a26c301ad2dda8154fc99458085a695d\",\"dweb:/ipfs/Qmd5jHHYrgqraPqF8bjzT4xyjsoPk8K7pkxXLLfz6MRT6d\"]},\"node_modules/@latticexyz/store/src/Schema.sol\":{\"keccak256\":\"0x58aef318ba03f8ff8866ef70f8a30f549b150657ea699734aefe16c298956401\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7dc104690a7e2bcf5ce1afadcd58f8ef4d639b4b92b9ad9293656235d54395f3\",\"dweb:/ipfs/QmYJJvEv5KBJ3kzf9AkgRn7Uu5dp4exGTRddf4cae1btgE\"]},\"node_modules/@latticexyz/store/src/Slice.sol\":{\"keccak256\":\"0xfaf54b1f5acccd4c6ce3f8377050ee84efbb423cb604b4651e8b9ea3b467bf32\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acf2ce7ffec21f28ad1dc6da06c342f1212a03a3d16a0be7ee85715a5940718c\",\"dweb:/ipfs/QmTCN3NSdFg87hi7KS2Xtq7PsmRUMG64SxC8PtP3p2GzuT\"]},\"node_modules/@latticexyz/store/src/Storage.sol\":{\"keccak256\":\"0x0893905ebe431a414226b479a84a54804091001a406222c748adbd4b651853a5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bcfcd3848127884041f0bcd727a0e7acbddec283aa6c16ba47abc6a3be720648\",\"dweb:/ipfs/QmY5fBd53e4Ro6vzTZYsteSibSTXVA3GHTeCAiUZTa5DPZ\"]},\"node_modules/@latticexyz/store/src/StoreCore.sol\":{\"keccak256\":\"0x95b7d62d84b43777c54dd1c7d941dbb5ba0afc02c444c30cfdb1de671bbbf180\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fe62a2fdb2a73610c3072f31b7f88ed3f9d03c1009fe0f0ef37a7eb814b23534\",\"dweb:/ipfs/QmV85zaV5HAD6eGc5N4RmdtmpR6EwkswVLQTaR2aJqsXrj\"]},\"node_modules/@latticexyz/store/src/StoreSwitch.sol\":{\"keccak256\":\"0xf132af10f960a498f49c0534027056e715f4bdcb8fbdb53ac6879c92309ab416\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e85a09aeb7543bcd9d74b7ad319ae61e1f7f15a6a0ad9e79aff750fbd18111c7\",\"dweb:/ipfs/QmY6xgqeeaR1FsCPLmFbVgjm1D2UyrXNABKXWLfFaSmBhR\"]},\"node_modules/@latticexyz/store/src/codegen/index.sol\":{\"keccak256\":\"0xf337a5abb2d43ef00c1c200e7fbec30fc89c7c701e457ab4277194b700d2aea3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://eccdf6158076b4e8f1b587a0310228f53323705e054a44eaa7733f38805c3ee6\",\"dweb:/ipfs/QmbXEVNTctg54dK9awdCVyAjeuUjR6ckfmmXBP8DrFmjyq\"]},\"node_modules/@latticexyz/store/src/codegen/tables/Hooks.sol\":{\"keccak256\":\"0xacf4aee01f167b98b2869bdf4407682fd9f18b85507048bc274bcb98d094948c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://86b114326973cef4f59c17e947945d09b90a0c48ede1da80f4f8aed0b6de179c\",\"dweb:/ipfs/QmZ6K6gZnV2ZdgbT8yG7Jz4HgoPymgdX3jTy6oUnG9xdgD\"]},\"node_modules/@latticexyz/store/src/codegen/tables/ResourceIds.sol\":{\"keccak256\":\"0xc2dc1bd6335fb0cc27cb7a80298d954d9ce0a0e9864d1dd8531aadb66c0ce21d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a7e34a386bd44933010c4f5a4dbfe8b0b8e5e9e39eaead46a2ebef0018db9b72\",\"dweb:/ipfs/QmQPyAdLUmE2Y6Ai7t2n56USg25PGHYxxXWRi1zEkdyT6a\"]},\"node_modules/@latticexyz/store/src/codegen/tables/StoreHooks.sol\":{\"keccak256\":\"0xfecdfde3b41c04dcf43e9c19f84f6a7f77df0fd844928692742b47662a0b814c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://968e83ac99e8d1799730aa6f1f23962c3fe3566cd7ec8bcf97d297823c364764\",\"dweb:/ipfs/QmVnhbeg89ajfLP1U1HDLiWi8T7HuFtsXUydjKXyyPa7MP\"]},\"node_modules/@latticexyz/store/src/codegen/tables/Tables.sol\":{\"keccak256\":\"0x42b9fd484a055e8e312a2396059fb76a962608fa3a875ea3da6e5aab79084d04\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://866fd30788245eb54ac09d70768c0b34846d361b4219781c814fb06e38fb546c\",\"dweb:/ipfs/QmRbLCYjZ9qefcC8q7gnsAUsqCTEjdRtRnXdSNB1x7saPz\"]},\"node_modules/@latticexyz/store/src/constants.sol\":{\"keccak256\":\"0x9e37c64c119ef07ad914bc589ee3f6d67946ab95877978c1ee3e2c1ffae07076\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3fad47e542025382aa28e8171253e34f93b2f149434b67a26989542d70218793\",\"dweb:/ipfs/QmW6JsKNwPc6oAMrgcikgR2EPwMUtQANiuZSQSGCd29HHC\"]},\"node_modules/@latticexyz/store/src/leftMask.sol\":{\"keccak256\":\"0xd0360567e4d77c6a8e3d8a5f4bf3653ccde4d268674c50988d55695dc6193f6f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://53e6bcb53fcb08ee9426225fdab7c41df91e12cb4f80d92895a6117338627401\",\"dweb:/ipfs/QmeLcaPGeMBpNSTSsPYK3PHpzKuGMjuitCweAWcoXK2mXr\"]},\"node_modules/@latticexyz/store/src/storeHookTypes.sol\":{\"keccak256\":\"0x60880298016fa117ed9a43ddfd020f11d98a2d345bdcb08e5884e40df98eddd5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3619dfda1fd514c0fc5fb34c14d5b5aa41dd6ba6045d37d5f4c8199f3a826f81\",\"dweb:/ipfs/QmbzRBYfVa423gNzCitpGN3i2N9oeGYfinVE1jgtqxnNZX\"]},\"node_modules/@latticexyz/store/src/storeResourceTypes.sol\":{\"keccak256\":\"0xada1867ba72930fc5cf5562dd4e36de849dbac9c833b7969cb1b046a808fabf2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e4b5fdcaa54f567a3f8561c2c3fbc0d68c8dad892a4a8e5418bbce8efc53d84\",\"dweb:/ipfs/QmTWbYJX1yrCqrEwUKB9rGpHdRvLNU8GCkBbxnLjGD4d2t\"]},\"node_modules/@latticexyz/store/src/tightcoder/DecodeSlice.sol\":{\"keccak256\":\"0x1af0fd984640123391ec2df855d00298504b7ce186a56c2caca769cfd9e08e04\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7305a62318890d2cc6420ba7dec13d9f2c1cb67ac689015fc83b9cbccd0696f1\",\"dweb:/ipfs/QmR8jGNLbt64Tv1YZKRVBCVsd71oeUQFzGHHtpsrs4PuRq\"]},\"node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol\":{\"keccak256\":\"0x1c280d24360282e196d9c4833c58c2437108cea2af0ac7596f95be81389e306d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6b4556b6eeae9328fbd9adcce346547e823c397503276a4d63effb67e00b5b49\",\"dweb:/ipfs/QmUsynVsMYzjh8oJR8YB7SRrwFMdXcsQsHBrXxLEEFxsiB\"]},\"node_modules/@latticexyz/store/src/tightcoder/TightCoder.sol\":{\"keccak256\":\"0x5cacd4cb371e0a79bc8d64f62349d568fd8b08093c11ae0c3db4f16480d8808b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12b64ddf2b5c19cf68ba93a8153ed79cbafe7a91e015d4b2f25eb1d42ab06256\",\"dweb:/ipfs/QmQz5WwztcuTbSGFv2pkhU3w5scUj1gmavoyUpduxk2v3A\"]},\"node_modules/@latticexyz/store/src/version.sol\":{\"keccak256\":\"0x01029999a48b7c1d85de84cae465dd24ec126c95b8a865cd20c7ed5dfcc0f02c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9750164ce996badb0fd7df2f526780b9cb9558912405fe46f31064bd7c522491\",\"dweb:/ipfs/QmYf8m2ZXFANRc9ysHgNkNtSF327ccxKYjCUJ49UXBKADk\"]},\"node_modules/@latticexyz/world/src/AccessControl.sol\":{\"keccak256\":\"0x10ca29a5d7075edb2fe5cd559077fc34857129182f9d6ea074a234dfbcdb313e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fe2783b7d0592d14a20b8be192dd3fa4216f8e541adea579859ea2bf1224da3\",\"dweb:/ipfs/QmTi9XDP5jsQpbqvJxPvkqyDByv7i88wKidrYnTtLdPhka\"]},\"node_modules/@latticexyz/world/src/IWorldErrors.sol\":{\"keccak256\":\"0xc3e7975e5785574543229eac51e3441f4185863d7f5346c0ae08a27b4541f8a7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://62cc0dc109e6e5475bb07fb95643a31c74337c23521db0557a36dad6117a1e83\",\"dweb:/ipfs/Qmb8jbE1XQTUdreKFr4Jw3xmjctaLuReRZjPxZKQ2uW9p4\"]},\"node_modules/@latticexyz/world/src/WorldResourceId.sol\":{\"keccak256\":\"0xb7bfae2890004001221b3902d185c14cfea0e606d16914f6b7f81cf112aa9417\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acfd0d09166fc1bf16a8a5c80fbae1bd42426b2fcbab3c492bc836ea5c0375fb\",\"dweb:/ipfs/QmTzZWHVBkx8hipFVpgEwAbZpr4c6hfr7yf7R71JojT3NK\"]},\"node_modules/@latticexyz/world/src/codegen/tables/NamespaceOwner.sol\":{\"keccak256\":\"0x9e5fc362b440b455bbe891dd8359ad806d68ef94bd830a88c194427f3c2594f3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9c15bafbbd0b7a5bb86688ee0167dd38a67fd057d42b2dd039dca68c72332b0f\",\"dweb:/ipfs/QmVxr2tS62NdguHhWJi6ZHLkp8HJmWrvDF9GR7AQuGbYgs\"]},\"node_modules/@latticexyz/world/src/codegen/tables/ResourceAccess.sol\":{\"keccak256\":\"0x82ef3a86d211f4dfe2c190325ca5457867d2ca02fadb21c403d02ecaff5889db\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://59bb5cfb25ee1756a2f695941f5bc71f6be243a61bc3259b85e9a240e5cab0fa\",\"dweb:/ipfs/Qma6yZjHm282Zw19Ei3myVqkQ5fqqXarsNjEVEhbrKA532\"]},\"node_modules/@latticexyz/world/src/constants.sol\":{\"keccak256\":\"0x07faffa7dc4a2adc4f9bfe93d5a59a7dd89241d360996537608e38f61c2d0588\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b96d4ce331b257a24de2f18503a11b986ed32d218810db9d5e3e7eddc17c2218\",\"dweb:/ipfs/Qme7Cw4RN1eaFWt2j3hk6ZMB7GWUfMY5oyZKYfMvAVxdBc\"]},\"node_modules/@latticexyz/world/src/worldResourceTypes.sol\":{\"keccak256\":\"0xe31ee781596541f60ed71ef327c9d26ffc899e7fb3f4991c67406518bfc00746\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7b864fea8c77833a322b16c4673f110d5065d0cafcedecd07895699cf4258c2\",\"dweb:/ipfs/QmRkzXVjMLwQFWxjEjgfdXVPAp6SU4zfxPo4NJcmz8HwH9\"]}},\"version\":1}",
|
15
15
|
"metadata": {
|
16
16
|
"compiler": {
|
17
17
|
"version": "0.8.21+commit.d9974bed"
|
@@ -362,10 +362,10 @@
|
|
362
362
|
"license": "MIT"
|
363
363
|
},
|
364
364
|
"node_modules/@latticexyz/world/src/constants.sol": {
|
365
|
-
"keccak256": "
|
365
|
+
"keccak256": "0x07faffa7dc4a2adc4f9bfe93d5a59a7dd89241d360996537608e38f61c2d0588",
|
366
366
|
"urls": [
|
367
|
-
"bzz-raw://
|
368
|
-
"dweb:/ipfs/
|
367
|
+
"bzz-raw://b96d4ce331b257a24de2f18503a11b986ed32d218810db9d5e3e7eddc17c2218",
|
368
|
+
"dweb:/ipfs/Qme7Cw4RN1eaFWt2j3hk6ZMB7GWUfMY5oyZKYfMvAVxdBc"
|
369
369
|
],
|
370
370
|
"license": "MIT"
|
371
371
|
},
|
@@ -382,32 +382,32 @@
|
|
382
382
|
},
|
383
383
|
"ast": {
|
384
384
|
"absolutePath": "node_modules/@latticexyz/world/src/AccessControl.sol",
|
385
|
-
"id":
|
385
|
+
"id": 41661,
|
386
386
|
"exportedSymbols": {
|
387
387
|
"AccessControl": [
|
388
|
-
|
388
|
+
41660
|
389
389
|
],
|
390
390
|
"IWorldErrors": [
|
391
|
-
|
391
|
+
41841
|
392
392
|
],
|
393
393
|
"NamespaceOwner": [
|
394
|
-
|
394
|
+
74271
|
395
395
|
],
|
396
396
|
"ResourceAccess": [
|
397
|
-
|
397
|
+
75574
|
398
398
|
],
|
399
399
|
"ResourceId": [
|
400
|
-
|
400
|
+
29139
|
401
401
|
],
|
402
402
|
"WorldResourceIdInstance": [
|
403
|
-
|
403
|
+
42510
|
404
404
|
]
|
405
405
|
},
|
406
406
|
"nodeType": "SourceUnit",
|
407
407
|
"src": "32:2193:89",
|
408
408
|
"nodes": [
|
409
409
|
{
|
410
|
-
"id":
|
410
|
+
"id": 41564,
|
411
411
|
"nodeType": "PragmaDirective",
|
412
412
|
"src": "32:25:89",
|
413
413
|
"nodes": [],
|
@@ -419,23 +419,23 @@
|
|
419
419
|
]
|
420
420
|
},
|
421
421
|
{
|
422
|
-
"id":
|
422
|
+
"id": 41567,
|
423
423
|
"nodeType": "ImportDirective",
|
424
424
|
"src": "59:76:89",
|
425
425
|
"nodes": [],
|
426
426
|
"absolutePath": "node_modules/@latticexyz/world/src/WorldResourceId.sol",
|
427
427
|
"file": "./WorldResourceId.sol",
|
428
428
|
"nameLocation": "-1:-1:-1",
|
429
|
-
"scope":
|
430
|
-
"sourceUnit":
|
429
|
+
"scope": 41661,
|
430
|
+
"sourceUnit": 42511,
|
431
431
|
"symbolAliases": [
|
432
432
|
{
|
433
433
|
"foreign": {
|
434
|
-
"id":
|
434
|
+
"id": 41565,
|
435
435
|
"name": "ResourceId",
|
436
436
|
"nodeType": "Identifier",
|
437
437
|
"overloadedDeclarations": [],
|
438
|
-
"referencedDeclaration":
|
438
|
+
"referencedDeclaration": 29139,
|
439
439
|
"src": "68:10:89",
|
440
440
|
"typeDescriptions": {}
|
441
441
|
},
|
@@ -443,11 +443,11 @@
|
|
443
443
|
},
|
444
444
|
{
|
445
445
|
"foreign": {
|
446
|
-
"id":
|
446
|
+
"id": 41566,
|
447
447
|
"name": "WorldResourceIdInstance",
|
448
448
|
"nodeType": "Identifier",
|
449
449
|
"overloadedDeclarations": [],
|
450
|
-
"referencedDeclaration":
|
450
|
+
"referencedDeclaration": 42510,
|
451
451
|
"src": "80:23:89",
|
452
452
|
"typeDescriptions": {}
|
453
453
|
},
|
@@ -457,23 +457,23 @@
|
|
457
457
|
"unitAlias": ""
|
458
458
|
},
|
459
459
|
{
|
460
|
-
"id":
|
460
|
+
"id": 41569,
|
461
461
|
"nodeType": "ImportDirective",
|
462
462
|
"src": "136:50:89",
|
463
463
|
"nodes": [],
|
464
464
|
"absolutePath": "node_modules/@latticexyz/world/src/IWorldErrors.sol",
|
465
465
|
"file": "./IWorldErrors.sol",
|
466
466
|
"nameLocation": "-1:-1:-1",
|
467
|
-
"scope":
|
468
|
-
"sourceUnit":
|
467
|
+
"scope": 41661,
|
468
|
+
"sourceUnit": 41842,
|
469
469
|
"symbolAliases": [
|
470
470
|
{
|
471
471
|
"foreign": {
|
472
|
-
"id":
|
472
|
+
"id": 41568,
|
473
473
|
"name": "IWorldErrors",
|
474
474
|
"nodeType": "Identifier",
|
475
475
|
"overloadedDeclarations": [],
|
476
|
-
"referencedDeclaration":
|
476
|
+
"referencedDeclaration": 41841,
|
477
477
|
"src": "145:12:89",
|
478
478
|
"typeDescriptions": {}
|
479
479
|
},
|
@@ -483,23 +483,23 @@
|
|
483
483
|
"unitAlias": ""
|
484
484
|
},
|
485
485
|
{
|
486
|
-
"id":
|
486
|
+
"id": 41571,
|
487
487
|
"nodeType": "ImportDirective",
|
488
488
|
"src": "188:69:89",
|
489
489
|
"nodes": [],
|
490
490
|
"absolutePath": "node_modules/@latticexyz/world/src/codegen/tables/ResourceAccess.sol",
|
491
491
|
"file": "./codegen/tables/ResourceAccess.sol",
|
492
492
|
"nameLocation": "-1:-1:-1",
|
493
|
-
"scope":
|
494
|
-
"sourceUnit":
|
493
|
+
"scope": 41661,
|
494
|
+
"sourceUnit": 75585,
|
495
495
|
"symbolAliases": [
|
496
496
|
{
|
497
497
|
"foreign": {
|
498
|
-
"id":
|
498
|
+
"id": 41570,
|
499
499
|
"name": "ResourceAccess",
|
500
500
|
"nodeType": "Identifier",
|
501
501
|
"overloadedDeclarations": [],
|
502
|
-
"referencedDeclaration":
|
502
|
+
"referencedDeclaration": 75574,
|
503
503
|
"src": "197:14:89",
|
504
504
|
"typeDescriptions": {}
|
505
505
|
},
|
@@ -509,23 +509,23 @@
|
|
509
509
|
"unitAlias": ""
|
510
510
|
},
|
511
511
|
{
|
512
|
-
"id":
|
512
|
+
"id": 41573,
|
513
513
|
"nodeType": "ImportDirective",
|
514
514
|
"src": "258:69:89",
|
515
515
|
"nodes": [],
|
516
516
|
"absolutePath": "node_modules/@latticexyz/world/src/codegen/tables/NamespaceOwner.sol",
|
517
517
|
"file": "./codegen/tables/NamespaceOwner.sol",
|
518
518
|
"nameLocation": "-1:-1:-1",
|
519
|
-
"scope":
|
520
|
-
"sourceUnit":
|
519
|
+
"scope": 41661,
|
520
|
+
"sourceUnit": 74272,
|
521
521
|
"symbolAliases": [
|
522
522
|
{
|
523
523
|
"foreign": {
|
524
|
-
"id":
|
524
|
+
"id": 41572,
|
525
525
|
"name": "NamespaceOwner",
|
526
526
|
"nodeType": "Identifier",
|
527
527
|
"overloadedDeclarations": [],
|
528
|
-
"referencedDeclaration":
|
528
|
+
"referencedDeclaration": 74271,
|
529
529
|
"src": "267:14:89",
|
530
530
|
"typeDescriptions": {}
|
531
531
|
},
|
@@ -535,54 +535,54 @@
|
|
535
535
|
"unitAlias": ""
|
536
536
|
},
|
537
537
|
{
|
538
|
-
"id":
|
538
|
+
"id": 41660,
|
539
539
|
"nodeType": "ContractDefinition",
|
540
540
|
"src": "462:1762:89",
|
541
541
|
"nodes": [
|
542
542
|
{
|
543
|
-
"id":
|
543
|
+
"id": 41578,
|
544
544
|
"nodeType": "UsingForDirective",
|
545
545
|
"src": "488:45:89",
|
546
546
|
"nodes": [],
|
547
547
|
"global": false,
|
548
548
|
"libraryName": {
|
549
|
-
"id":
|
549
|
+
"id": 41575,
|
550
550
|
"name": "WorldResourceIdInstance",
|
551
551
|
"nameLocations": [
|
552
552
|
"494:23:89"
|
553
553
|
],
|
554
554
|
"nodeType": "IdentifierPath",
|
555
|
-
"referencedDeclaration":
|
555
|
+
"referencedDeclaration": 42510,
|
556
556
|
"src": "494:23:89"
|
557
557
|
},
|
558
558
|
"typeName": {
|
559
|
-
"id":
|
559
|
+
"id": 41577,
|
560
560
|
"nodeType": "UserDefinedTypeName",
|
561
561
|
"pathNode": {
|
562
|
-
"id":
|
562
|
+
"id": 41576,
|
563
563
|
"name": "ResourceId",
|
564
564
|
"nameLocations": [
|
565
565
|
"522:10:89"
|
566
566
|
],
|
567
567
|
"nodeType": "IdentifierPath",
|
568
|
-
"referencedDeclaration":
|
568
|
+
"referencedDeclaration": 29139,
|
569
569
|
"src": "522:10:89"
|
570
570
|
},
|
571
|
-
"referencedDeclaration":
|
571
|
+
"referencedDeclaration": 29139,
|
572
572
|
"src": "522:10:89",
|
573
573
|
"typeDescriptions": {
|
574
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
574
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
575
575
|
"typeString": "ResourceId"
|
576
576
|
}
|
577
577
|
}
|
578
578
|
},
|
579
579
|
{
|
580
|
-
"id":
|
580
|
+
"id": 41604,
|
581
581
|
"nodeType": "FunctionDefinition",
|
582
582
|
"src": "804:327:89",
|
583
583
|
"nodes": [],
|
584
584
|
"body": {
|
585
|
-
"id":
|
585
|
+
"id": 41603,
|
586
586
|
"nodeType": "Block",
|
587
587
|
"src": "891:240:89",
|
588
588
|
"nodes": [],
|
@@ -593,7 +593,7 @@
|
|
593
593
|
"typeIdentifier": "t_bool",
|
594
594
|
"typeString": "bool"
|
595
595
|
},
|
596
|
-
"id":
|
596
|
+
"id": 41601,
|
597
597
|
"isConstant": false,
|
598
598
|
"isLValue": false,
|
599
599
|
"isPure": false,
|
@@ -605,18 +605,18 @@
|
|
605
605
|
"expression": {
|
606
606
|
"argumentTypes": [],
|
607
607
|
"expression": {
|
608
|
-
"id":
|
608
|
+
"id": 41591,
|
609
609
|
"name": "resourceId",
|
610
610
|
"nodeType": "Identifier",
|
611
611
|
"overloadedDeclarations": [],
|
612
|
-
"referencedDeclaration":
|
612
|
+
"referencedDeclaration": 41582,
|
613
613
|
"src": "1047:10:89",
|
614
614
|
"typeDescriptions": {
|
615
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
615
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
616
616
|
"typeString": "ResourceId"
|
617
617
|
}
|
618
618
|
},
|
619
|
-
"id":
|
619
|
+
"id": 41592,
|
620
620
|
"isConstant": false,
|
621
621
|
"isLValue": false,
|
622
622
|
"isPure": false,
|
@@ -624,14 +624,14 @@
|
|
624
624
|
"memberLocation": "1058:14:89",
|
625
625
|
"memberName": "getNamespaceId",
|
626
626
|
"nodeType": "MemberAccess",
|
627
|
-
"referencedDeclaration":
|
627
|
+
"referencedDeclaration": 42435,
|
628
628
|
"src": "1047:25:89",
|
629
629
|
"typeDescriptions": {
|
630
|
-
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$
|
630
|
+
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$29139_$returns$_t_userDefinedValueType$_ResourceId_$29139_$attached_to$_t_userDefinedValueType$_ResourceId_$29139_$",
|
631
631
|
"typeString": "function (ResourceId) pure returns (ResourceId)"
|
632
632
|
}
|
633
633
|
},
|
634
|
-
"id":
|
634
|
+
"id": 41593,
|
635
635
|
"isConstant": false,
|
636
636
|
"isLValue": false,
|
637
637
|
"isPure": false,
|
@@ -643,16 +643,16 @@
|
|
643
643
|
"src": "1047:27:89",
|
644
644
|
"tryCall": false,
|
645
645
|
"typeDescriptions": {
|
646
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
646
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
647
647
|
"typeString": "ResourceId"
|
648
648
|
}
|
649
649
|
},
|
650
650
|
{
|
651
|
-
"id":
|
651
|
+
"id": 41594,
|
652
652
|
"name": "caller",
|
653
653
|
"nodeType": "Identifier",
|
654
654
|
"overloadedDeclarations": [],
|
655
|
-
"referencedDeclaration":
|
655
|
+
"referencedDeclaration": 41584,
|
656
656
|
"src": "1076:6:89",
|
657
657
|
"typeDescriptions": {
|
658
658
|
"typeIdentifier": "t_address",
|
@@ -663,7 +663,7 @@
|
|
663
663
|
"expression": {
|
664
664
|
"argumentTypes": [
|
665
665
|
{
|
666
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
666
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
667
667
|
"typeString": "ResourceId"
|
668
668
|
},
|
669
669
|
{
|
@@ -672,18 +672,18 @@
|
|
672
672
|
}
|
673
673
|
],
|
674
674
|
"expression": {
|
675
|
-
"id":
|
675
|
+
"id": 41589,
|
676
676
|
"name": "ResourceAccess",
|
677
677
|
"nodeType": "Identifier",
|
678
678
|
"overloadedDeclarations": [],
|
679
|
-
"referencedDeclaration":
|
679
|
+
"referencedDeclaration": 75574,
|
680
680
|
"src": "1027:14:89",
|
681
681
|
"typeDescriptions": {
|
682
|
-
"typeIdentifier": "t_type$_t_contract$_ResourceAccess_$
|
682
|
+
"typeIdentifier": "t_type$_t_contract$_ResourceAccess_$75574_$",
|
683
683
|
"typeString": "type(library ResourceAccess)"
|
684
684
|
}
|
685
685
|
},
|
686
|
-
"id":
|
686
|
+
"id": 41590,
|
687
687
|
"isConstant": false,
|
688
688
|
"isLValue": false,
|
689
689
|
"isPure": false,
|
@@ -691,14 +691,14 @@
|
|
691
691
|
"memberLocation": "1042:4:89",
|
692
692
|
"memberName": "_get",
|
693
693
|
"nodeType": "MemberAccess",
|
694
|
-
"referencedDeclaration":
|
694
|
+
"referencedDeclaration": 74874,
|
695
695
|
"src": "1027:19:89",
|
696
696
|
"typeDescriptions": {
|
697
|
-
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$
|
697
|
+
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$29139_$_t_address_$returns$_t_bool_$",
|
698
698
|
"typeString": "function (ResourceId,address) view returns (bool)"
|
699
699
|
}
|
700
700
|
},
|
701
|
-
"id":
|
701
|
+
"id": 41595,
|
702
702
|
"isConstant": false,
|
703
703
|
"isLValue": false,
|
704
704
|
"isPure": false,
|
@@ -719,23 +719,23 @@
|
|
719
719
|
"rightExpression": {
|
720
720
|
"arguments": [
|
721
721
|
{
|
722
|
-
"id":
|
722
|
+
"id": 41598,
|
723
723
|
"name": "resourceId",
|
724
724
|
"nodeType": "Identifier",
|
725
725
|
"overloadedDeclarations": [],
|
726
|
-
"referencedDeclaration":
|
726
|
+
"referencedDeclaration": 41582,
|
727
727
|
"src": "1107:10:89",
|
728
728
|
"typeDescriptions": {
|
729
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
729
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
730
730
|
"typeString": "ResourceId"
|
731
731
|
}
|
732
732
|
},
|
733
733
|
{
|
734
|
-
"id":
|
734
|
+
"id": 41599,
|
735
735
|
"name": "caller",
|
736
736
|
"nodeType": "Identifier",
|
737
737
|
"overloadedDeclarations": [],
|
738
|
-
"referencedDeclaration":
|
738
|
+
"referencedDeclaration": 41584,
|
739
739
|
"src": "1119:6:89",
|
740
740
|
"typeDescriptions": {
|
741
741
|
"typeIdentifier": "t_address",
|
@@ -746,7 +746,7 @@
|
|
746
746
|
"expression": {
|
747
747
|
"argumentTypes": [
|
748
748
|
{
|
749
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
749
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
750
750
|
"typeString": "ResourceId"
|
751
751
|
},
|
752
752
|
{
|
@@ -755,18 +755,18 @@
|
|
755
755
|
}
|
756
756
|
],
|
757
757
|
"expression": {
|
758
|
-
"id":
|
758
|
+
"id": 41596,
|
759
759
|
"name": "ResourceAccess",
|
760
760
|
"nodeType": "Identifier",
|
761
761
|
"overloadedDeclarations": [],
|
762
|
-
"referencedDeclaration":
|
762
|
+
"referencedDeclaration": 75574,
|
763
763
|
"src": "1087:14:89",
|
764
764
|
"typeDescriptions": {
|
765
|
-
"typeIdentifier": "t_type$_t_contract$_ResourceAccess_$
|
765
|
+
"typeIdentifier": "t_type$_t_contract$_ResourceAccess_$75574_$",
|
766
766
|
"typeString": "type(library ResourceAccess)"
|
767
767
|
}
|
768
768
|
},
|
769
|
-
"id":
|
769
|
+
"id": 41597,
|
770
770
|
"isConstant": false,
|
771
771
|
"isLValue": false,
|
772
772
|
"isPure": false,
|
@@ -774,14 +774,14 @@
|
|
774
774
|
"memberLocation": "1102:4:89",
|
775
775
|
"memberName": "_get",
|
776
776
|
"nodeType": "MemberAccess",
|
777
|
-
"referencedDeclaration":
|
777
|
+
"referencedDeclaration": 74874,
|
778
778
|
"src": "1087:19:89",
|
779
779
|
"typeDescriptions": {
|
780
|
-
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$
|
780
|
+
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$29139_$_t_address_$returns$_t_bool_$",
|
781
781
|
"typeString": "function (ResourceId,address) view returns (bool)"
|
782
782
|
}
|
783
783
|
},
|
784
|
-
"id":
|
784
|
+
"id": 41600,
|
785
785
|
"isConstant": false,
|
786
786
|
"isLValue": false,
|
787
787
|
"isPure": false,
|
@@ -803,15 +803,15 @@
|
|
803
803
|
"typeString": "bool"
|
804
804
|
}
|
805
805
|
},
|
806
|
-
"functionReturnParameters":
|
807
|
-
"id":
|
806
|
+
"functionReturnParameters": 41588,
|
807
|
+
"id": 41602,
|
808
808
|
"nodeType": "Return",
|
809
809
|
"src": "897:229:89"
|
810
810
|
}
|
811
811
|
]
|
812
812
|
},
|
813
813
|
"documentation": {
|
814
|
-
"id":
|
814
|
+
"id": 41579,
|
815
815
|
"nodeType": "StructuredDocumentation",
|
816
816
|
"src": "537:264:89",
|
817
817
|
"text": " @notice Checks if the caller has access to the given resource ID or its namespace.\n @param resourceId The resource ID to check access for.\n @param caller The address of the caller.\n @return true if the caller has access, false otherwise."
|
@@ -822,41 +822,41 @@
|
|
822
822
|
"name": "hasAccess",
|
823
823
|
"nameLocation": "813:9:89",
|
824
824
|
"parameters": {
|
825
|
-
"id":
|
825
|
+
"id": 41585,
|
826
826
|
"nodeType": "ParameterList",
|
827
827
|
"parameters": [
|
828
828
|
{
|
829
829
|
"constant": false,
|
830
|
-
"id":
|
830
|
+
"id": 41582,
|
831
831
|
"mutability": "mutable",
|
832
832
|
"name": "resourceId",
|
833
833
|
"nameLocation": "834:10:89",
|
834
834
|
"nodeType": "VariableDeclaration",
|
835
|
-
"scope":
|
835
|
+
"scope": 41604,
|
836
836
|
"src": "823:21:89",
|
837
837
|
"stateVariable": false,
|
838
838
|
"storageLocation": "default",
|
839
839
|
"typeDescriptions": {
|
840
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
840
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
841
841
|
"typeString": "ResourceId"
|
842
842
|
},
|
843
843
|
"typeName": {
|
844
|
-
"id":
|
844
|
+
"id": 41581,
|
845
845
|
"nodeType": "UserDefinedTypeName",
|
846
846
|
"pathNode": {
|
847
|
-
"id":
|
847
|
+
"id": 41580,
|
848
848
|
"name": "ResourceId",
|
849
849
|
"nameLocations": [
|
850
850
|
"823:10:89"
|
851
851
|
],
|
852
852
|
"nodeType": "IdentifierPath",
|
853
|
-
"referencedDeclaration":
|
853
|
+
"referencedDeclaration": 29139,
|
854
854
|
"src": "823:10:89"
|
855
855
|
},
|
856
|
-
"referencedDeclaration":
|
856
|
+
"referencedDeclaration": 29139,
|
857
857
|
"src": "823:10:89",
|
858
858
|
"typeDescriptions": {
|
859
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
859
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
860
860
|
"typeString": "ResourceId"
|
861
861
|
}
|
862
862
|
},
|
@@ -864,12 +864,12 @@
|
|
864
864
|
},
|
865
865
|
{
|
866
866
|
"constant": false,
|
867
|
-
"id":
|
867
|
+
"id": 41584,
|
868
868
|
"mutability": "mutable",
|
869
869
|
"name": "caller",
|
870
870
|
"nameLocation": "854:6:89",
|
871
871
|
"nodeType": "VariableDeclaration",
|
872
|
-
"scope":
|
872
|
+
"scope": 41604,
|
873
873
|
"src": "846:14:89",
|
874
874
|
"stateVariable": false,
|
875
875
|
"storageLocation": "default",
|
@@ -878,7 +878,7 @@
|
|
878
878
|
"typeString": "address"
|
879
879
|
},
|
880
880
|
"typeName": {
|
881
|
-
"id":
|
881
|
+
"id": 41583,
|
882
882
|
"name": "address",
|
883
883
|
"nodeType": "ElementaryTypeName",
|
884
884
|
"src": "846:7:89",
|
@@ -894,17 +894,17 @@
|
|
894
894
|
"src": "822:39:89"
|
895
895
|
},
|
896
896
|
"returnParameters": {
|
897
|
-
"id":
|
897
|
+
"id": 41588,
|
898
898
|
"nodeType": "ParameterList",
|
899
899
|
"parameters": [
|
900
900
|
{
|
901
901
|
"constant": false,
|
902
|
-
"id":
|
902
|
+
"id": 41587,
|
903
903
|
"mutability": "mutable",
|
904
904
|
"name": "",
|
905
905
|
"nameLocation": "-1:-1:-1",
|
906
906
|
"nodeType": "VariableDeclaration",
|
907
|
-
"scope":
|
907
|
+
"scope": 41604,
|
908
908
|
"src": "885:4:89",
|
909
909
|
"stateVariable": false,
|
910
910
|
"storageLocation": "default",
|
@@ -913,7 +913,7 @@
|
|
913
913
|
"typeString": "bool"
|
914
914
|
},
|
915
915
|
"typeName": {
|
916
|
-
"id":
|
916
|
+
"id": 41586,
|
917
917
|
"name": "bool",
|
918
918
|
"nodeType": "ElementaryTypeName",
|
919
919
|
"src": "885:4:89",
|
@@ -927,25 +927,25 @@
|
|
927
927
|
],
|
928
928
|
"src": "884:6:89"
|
929
929
|
},
|
930
|
-
"scope":
|
930
|
+
"scope": 41660,
|
931
931
|
"stateMutability": "view",
|
932
932
|
"virtual": false,
|
933
933
|
"visibility": "internal"
|
934
934
|
},
|
935
935
|
{
|
936
|
-
"id":
|
936
|
+
"id": 41630,
|
937
937
|
"nodeType": "FunctionDefinition",
|
938
938
|
"src": "1395:281:89",
|
939
939
|
"nodes": [],
|
940
940
|
"body": {
|
941
|
-
"id":
|
941
|
+
"id": 41629,
|
942
942
|
"nodeType": "Block",
|
943
943
|
"src": "1471:205:89",
|
944
944
|
"nodes": [],
|
945
945
|
"statements": [
|
946
946
|
{
|
947
947
|
"condition": {
|
948
|
-
"id":
|
948
|
+
"id": 41617,
|
949
949
|
"isConstant": false,
|
950
950
|
"isLValue": false,
|
951
951
|
"isPure": false,
|
@@ -957,23 +957,23 @@
|
|
957
957
|
"subExpression": {
|
958
958
|
"arguments": [
|
959
959
|
{
|
960
|
-
"id":
|
960
|
+
"id": 41614,
|
961
961
|
"name": "resourceId",
|
962
962
|
"nodeType": "Identifier",
|
963
963
|
"overloadedDeclarations": [],
|
964
|
-
"referencedDeclaration":
|
964
|
+
"referencedDeclaration": 41608,
|
965
965
|
"src": "1567:10:89",
|
966
966
|
"typeDescriptions": {
|
967
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
967
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
968
968
|
"typeString": "ResourceId"
|
969
969
|
}
|
970
970
|
},
|
971
971
|
{
|
972
|
-
"id":
|
972
|
+
"id": 41615,
|
973
973
|
"name": "caller",
|
974
974
|
"nodeType": "Identifier",
|
975
975
|
"overloadedDeclarations": [],
|
976
|
-
"referencedDeclaration":
|
976
|
+
"referencedDeclaration": 41610,
|
977
977
|
"src": "1579:6:89",
|
978
978
|
"typeDescriptions": {
|
979
979
|
"typeIdentifier": "t_address",
|
@@ -984,7 +984,7 @@
|
|
984
984
|
"expression": {
|
985
985
|
"argumentTypes": [
|
986
986
|
{
|
987
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
987
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
988
988
|
"typeString": "ResourceId"
|
989
989
|
},
|
990
990
|
{
|
@@ -992,18 +992,18 @@
|
|
992
992
|
"typeString": "address"
|
993
993
|
}
|
994
994
|
],
|
995
|
-
"id":
|
995
|
+
"id": 41613,
|
996
996
|
"name": "hasAccess",
|
997
997
|
"nodeType": "Identifier",
|
998
998
|
"overloadedDeclarations": [],
|
999
|
-
"referencedDeclaration":
|
999
|
+
"referencedDeclaration": 41604,
|
1000
1000
|
"src": "1557:9:89",
|
1001
1001
|
"typeDescriptions": {
|
1002
|
-
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$
|
1002
|
+
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$29139_$_t_address_$returns$_t_bool_$",
|
1003
1003
|
"typeString": "function (ResourceId,address) view returns (bool)"
|
1004
1004
|
}
|
1005
1005
|
},
|
1006
|
-
"id":
|
1006
|
+
"id": 41616,
|
1007
1007
|
"isConstant": false,
|
1008
1008
|
"isLValue": false,
|
1009
1009
|
"isPure": false,
|
@@ -1024,11 +1024,11 @@
|
|
1024
1024
|
"typeString": "bool"
|
1025
1025
|
}
|
1026
1026
|
},
|
1027
|
-
"id":
|
1027
|
+
"id": 41628,
|
1028
1028
|
"nodeType": "IfStatement",
|
1029
1029
|
"src": "1552:120:89",
|
1030
1030
|
"trueBody": {
|
1031
|
-
"id":
|
1031
|
+
"id": 41627,
|
1032
1032
|
"nodeType": "Block",
|
1033
1033
|
"src": "1588:84:89",
|
1034
1034
|
"statements": [
|
@@ -1040,18 +1040,18 @@
|
|
1040
1040
|
"expression": {
|
1041
1041
|
"argumentTypes": [],
|
1042
1042
|
"expression": {
|
1043
|
-
"id":
|
1043
|
+
"id": 41621,
|
1044
1044
|
"name": "resourceId",
|
1045
1045
|
"nodeType": "Identifier",
|
1046
1046
|
"overloadedDeclarations": [],
|
1047
|
-
"referencedDeclaration":
|
1047
|
+
"referencedDeclaration": 41608,
|
1048
1048
|
"src": "1635:10:89",
|
1049
1049
|
"typeDescriptions": {
|
1050
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1050
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
1051
1051
|
"typeString": "ResourceId"
|
1052
1052
|
}
|
1053
1053
|
},
|
1054
|
-
"id":
|
1054
|
+
"id": 41622,
|
1055
1055
|
"isConstant": false,
|
1056
1056
|
"isLValue": false,
|
1057
1057
|
"isPure": false,
|
@@ -1059,14 +1059,14 @@
|
|
1059
1059
|
"memberLocation": "1646:8:89",
|
1060
1060
|
"memberName": "toString",
|
1061
1061
|
"nodeType": "MemberAccess",
|
1062
|
-
"referencedDeclaration":
|
1062
|
+
"referencedDeclaration": 42509,
|
1063
1063
|
"src": "1635:19:89",
|
1064
1064
|
"typeDescriptions": {
|
1065
|
-
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$
|
1065
|
+
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$29139_$returns$_t_string_memory_ptr_$attached_to$_t_userDefinedValueType$_ResourceId_$29139_$",
|
1066
1066
|
"typeString": "function (ResourceId) pure returns (string memory)"
|
1067
1067
|
}
|
1068
1068
|
},
|
1069
|
-
"id":
|
1069
|
+
"id": 41623,
|
1070
1070
|
"isConstant": false,
|
1071
1071
|
"isLValue": false,
|
1072
1072
|
"isPure": false,
|
@@ -1083,11 +1083,11 @@
|
|
1083
1083
|
}
|
1084
1084
|
},
|
1085
1085
|
{
|
1086
|
-
"id":
|
1086
|
+
"id": 41624,
|
1087
1087
|
"name": "caller",
|
1088
1088
|
"nodeType": "Identifier",
|
1089
1089
|
"overloadedDeclarations": [],
|
1090
|
-
"referencedDeclaration":
|
1090
|
+
"referencedDeclaration": 41610,
|
1091
1091
|
"src": "1658:6:89",
|
1092
1092
|
"typeDescriptions": {
|
1093
1093
|
"typeIdentifier": "t_address",
|
@@ -1107,18 +1107,18 @@
|
|
1107
1107
|
}
|
1108
1108
|
],
|
1109
1109
|
"expression": {
|
1110
|
-
"id":
|
1110
|
+
"id": 41618,
|
1111
1111
|
"name": "IWorldErrors",
|
1112
1112
|
"nodeType": "Identifier",
|
1113
1113
|
"overloadedDeclarations": [],
|
1114
|
-
"referencedDeclaration":
|
1114
|
+
"referencedDeclaration": 41841,
|
1115
1115
|
"src": "1603:12:89",
|
1116
1116
|
"typeDescriptions": {
|
1117
|
-
"typeIdentifier": "t_type$_t_contract$_IWorldErrors_$
|
1117
|
+
"typeIdentifier": "t_type$_t_contract$_IWorldErrors_$41841_$",
|
1118
1118
|
"typeString": "type(contract IWorldErrors)"
|
1119
1119
|
}
|
1120
1120
|
},
|
1121
|
-
"id":
|
1121
|
+
"id": 41620,
|
1122
1122
|
"isConstant": false,
|
1123
1123
|
"isLValue": false,
|
1124
1124
|
"isPure": false,
|
@@ -1126,14 +1126,14 @@
|
|
1126
1126
|
"memberLocation": "1616:18:89",
|
1127
1127
|
"memberName": "World_AccessDenied",
|
1128
1128
|
"nodeType": "MemberAccess",
|
1129
|
-
"referencedDeclaration":
|
1129
|
+
"referencedDeclaration": 41778,
|
1130
1130
|
"src": "1603:31:89",
|
1131
1131
|
"typeDescriptions": {
|
1132
1132
|
"typeIdentifier": "t_function_error_pure$_t_string_memory_ptr_$_t_address_$returns$__$",
|
1133
1133
|
"typeString": "function (string memory,address) pure"
|
1134
1134
|
}
|
1135
1135
|
},
|
1136
|
-
"id":
|
1136
|
+
"id": 41625,
|
1137
1137
|
"isConstant": false,
|
1138
1138
|
"isLValue": false,
|
1139
1139
|
"isPure": false,
|
@@ -1149,7 +1149,7 @@
|
|
1149
1149
|
"typeString": "tuple()"
|
1150
1150
|
}
|
1151
1151
|
},
|
1152
|
-
"id":
|
1152
|
+
"id": 41626,
|
1153
1153
|
"nodeType": "RevertStatement",
|
1154
1154
|
"src": "1596:69:89"
|
1155
1155
|
}
|
@@ -1159,7 +1159,7 @@
|
|
1159
1159
|
]
|
1160
1160
|
},
|
1161
1161
|
"documentation": {
|
1162
|
-
"id":
|
1162
|
+
"id": 41605,
|
1163
1163
|
"nodeType": "StructuredDocumentation",
|
1164
1164
|
"src": "1135:257:89",
|
1165
1165
|
"text": " @notice Check for access at the given namespace or resource.\n @param resourceId The resource ID to check access for.\n @param caller The address of the caller.\n @dev Reverts with IWorldErrors.World_AccessDenied if access is denied."
|
@@ -1170,41 +1170,41 @@
|
|
1170
1170
|
"name": "requireAccess",
|
1171
1171
|
"nameLocation": "1404:13:89",
|
1172
1172
|
"parameters": {
|
1173
|
-
"id":
|
1173
|
+
"id": 41611,
|
1174
1174
|
"nodeType": "ParameterList",
|
1175
1175
|
"parameters": [
|
1176
1176
|
{
|
1177
1177
|
"constant": false,
|
1178
|
-
"id":
|
1178
|
+
"id": 41608,
|
1179
1179
|
"mutability": "mutable",
|
1180
1180
|
"name": "resourceId",
|
1181
1181
|
"nameLocation": "1429:10:89",
|
1182
1182
|
"nodeType": "VariableDeclaration",
|
1183
|
-
"scope":
|
1183
|
+
"scope": 41630,
|
1184
1184
|
"src": "1418:21:89",
|
1185
1185
|
"stateVariable": false,
|
1186
1186
|
"storageLocation": "default",
|
1187
1187
|
"typeDescriptions": {
|
1188
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1188
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
1189
1189
|
"typeString": "ResourceId"
|
1190
1190
|
},
|
1191
1191
|
"typeName": {
|
1192
|
-
"id":
|
1192
|
+
"id": 41607,
|
1193
1193
|
"nodeType": "UserDefinedTypeName",
|
1194
1194
|
"pathNode": {
|
1195
|
-
"id":
|
1195
|
+
"id": 41606,
|
1196
1196
|
"name": "ResourceId",
|
1197
1197
|
"nameLocations": [
|
1198
1198
|
"1418:10:89"
|
1199
1199
|
],
|
1200
1200
|
"nodeType": "IdentifierPath",
|
1201
|
-
"referencedDeclaration":
|
1201
|
+
"referencedDeclaration": 29139,
|
1202
1202
|
"src": "1418:10:89"
|
1203
1203
|
},
|
1204
|
-
"referencedDeclaration":
|
1204
|
+
"referencedDeclaration": 29139,
|
1205
1205
|
"src": "1418:10:89",
|
1206
1206
|
"typeDescriptions": {
|
1207
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1207
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
1208
1208
|
"typeString": "ResourceId"
|
1209
1209
|
}
|
1210
1210
|
},
|
@@ -1212,12 +1212,12 @@
|
|
1212
1212
|
},
|
1213
1213
|
{
|
1214
1214
|
"constant": false,
|
1215
|
-
"id":
|
1215
|
+
"id": 41610,
|
1216
1216
|
"mutability": "mutable",
|
1217
1217
|
"name": "caller",
|
1218
1218
|
"nameLocation": "1449:6:89",
|
1219
1219
|
"nodeType": "VariableDeclaration",
|
1220
|
-
"scope":
|
1220
|
+
"scope": 41630,
|
1221
1221
|
"src": "1441:14:89",
|
1222
1222
|
"stateVariable": false,
|
1223
1223
|
"storageLocation": "default",
|
@@ -1226,7 +1226,7 @@
|
|
1226
1226
|
"typeString": "address"
|
1227
1227
|
},
|
1228
1228
|
"typeName": {
|
1229
|
-
"id":
|
1229
|
+
"id": 41609,
|
1230
1230
|
"name": "address",
|
1231
1231
|
"nodeType": "ElementaryTypeName",
|
1232
1232
|
"src": "1441:7:89",
|
@@ -1242,23 +1242,23 @@
|
|
1242
1242
|
"src": "1417:39:89"
|
1243
1243
|
},
|
1244
1244
|
"returnParameters": {
|
1245
|
-
"id":
|
1245
|
+
"id": 41612,
|
1246
1246
|
"nodeType": "ParameterList",
|
1247
1247
|
"parameters": [],
|
1248
1248
|
"src": "1471:0:89"
|
1249
1249
|
},
|
1250
|
-
"scope":
|
1250
|
+
"scope": 41660,
|
1251
1251
|
"stateMutability": "view",
|
1252
1252
|
"virtual": false,
|
1253
1253
|
"visibility": "internal"
|
1254
1254
|
},
|
1255
1255
|
{
|
1256
|
-
"id":
|
1256
|
+
"id": 41659,
|
1257
1257
|
"nodeType": "FunctionDefinition",
|
1258
1258
|
"src": "1989:233:89",
|
1259
1259
|
"nodes": [],
|
1260
1260
|
"body": {
|
1261
|
-
"id":
|
1261
|
+
"id": 41658,
|
1262
1262
|
"nodeType": "Block",
|
1263
1263
|
"src": "2064:158:89",
|
1264
1264
|
"nodes": [],
|
@@ -1269,7 +1269,7 @@
|
|
1269
1269
|
"typeIdentifier": "t_address",
|
1270
1270
|
"typeString": "address"
|
1271
1271
|
},
|
1272
|
-
"id":
|
1272
|
+
"id": 41646,
|
1273
1273
|
"isConstant": false,
|
1274
1274
|
"isLValue": false,
|
1275
1275
|
"isPure": false,
|
@@ -1281,18 +1281,18 @@
|
|
1281
1281
|
"expression": {
|
1282
1282
|
"argumentTypes": [],
|
1283
1283
|
"expression": {
|
1284
|
-
"id":
|
1284
|
+
"id": 41641,
|
1285
1285
|
"name": "resourceId",
|
1286
1286
|
"nodeType": "Identifier",
|
1287
1287
|
"overloadedDeclarations": [],
|
1288
|
-
"referencedDeclaration":
|
1288
|
+
"referencedDeclaration": 41634,
|
1289
1289
|
"src": "2094:10:89",
|
1290
1290
|
"typeDescriptions": {
|
1291
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1291
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
1292
1292
|
"typeString": "ResourceId"
|
1293
1293
|
}
|
1294
1294
|
},
|
1295
|
-
"id":
|
1295
|
+
"id": 41642,
|
1296
1296
|
"isConstant": false,
|
1297
1297
|
"isLValue": false,
|
1298
1298
|
"isPure": false,
|
@@ -1300,14 +1300,14 @@
|
|
1300
1300
|
"memberLocation": "2105:14:89",
|
1301
1301
|
"memberName": "getNamespaceId",
|
1302
1302
|
"nodeType": "MemberAccess",
|
1303
|
-
"referencedDeclaration":
|
1303
|
+
"referencedDeclaration": 42435,
|
1304
1304
|
"src": "2094:25:89",
|
1305
1305
|
"typeDescriptions": {
|
1306
|
-
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$
|
1306
|
+
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$29139_$returns$_t_userDefinedValueType$_ResourceId_$29139_$attached_to$_t_userDefinedValueType$_ResourceId_$29139_$",
|
1307
1307
|
"typeString": "function (ResourceId) pure returns (ResourceId)"
|
1308
1308
|
}
|
1309
1309
|
},
|
1310
|
-
"id":
|
1310
|
+
"id": 41643,
|
1311
1311
|
"isConstant": false,
|
1312
1312
|
"isLValue": false,
|
1313
1313
|
"isPure": false,
|
@@ -1319,7 +1319,7 @@
|
|
1319
1319
|
"src": "2094:27:89",
|
1320
1320
|
"tryCall": false,
|
1321
1321
|
"typeDescriptions": {
|
1322
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1322
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
1323
1323
|
"typeString": "ResourceId"
|
1324
1324
|
}
|
1325
1325
|
}
|
@@ -1327,23 +1327,23 @@
|
|
1327
1327
|
"expression": {
|
1328
1328
|
"argumentTypes": [
|
1329
1329
|
{
|
1330
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1330
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
1331
1331
|
"typeString": "ResourceId"
|
1332
1332
|
}
|
1333
1333
|
],
|
1334
1334
|
"expression": {
|
1335
|
-
"id":
|
1335
|
+
"id": 41639,
|
1336
1336
|
"name": "NamespaceOwner",
|
1337
1337
|
"nodeType": "Identifier",
|
1338
1338
|
"overloadedDeclarations": [],
|
1339
|
-
"referencedDeclaration":
|
1339
|
+
"referencedDeclaration": 74271,
|
1340
1340
|
"src": "2074:14:89",
|
1341
1341
|
"typeDescriptions": {
|
1342
|
-
"typeIdentifier": "t_type$_t_contract$_NamespaceOwner_$
|
1342
|
+
"typeIdentifier": "t_type$_t_contract$_NamespaceOwner_$74271_$",
|
1343
1343
|
"typeString": "type(library NamespaceOwner)"
|
1344
1344
|
}
|
1345
1345
|
},
|
1346
|
-
"id":
|
1346
|
+
"id": 41640,
|
1347
1347
|
"isConstant": false,
|
1348
1348
|
"isLValue": false,
|
1349
1349
|
"isPure": false,
|
@@ -1351,14 +1351,14 @@
|
|
1351
1351
|
"memberLocation": "2089:4:89",
|
1352
1352
|
"memberName": "_get",
|
1353
1353
|
"nodeType": "MemberAccess",
|
1354
|
-
"referencedDeclaration":
|
1354
|
+
"referencedDeclaration": 73760,
|
1355
1355
|
"src": "2074:19:89",
|
1356
1356
|
"typeDescriptions": {
|
1357
|
-
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$
|
1357
|
+
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$29139_$returns$_t_address_$",
|
1358
1358
|
"typeString": "function (ResourceId) view returns (address)"
|
1359
1359
|
}
|
1360
1360
|
},
|
1361
|
-
"id":
|
1361
|
+
"id": 41644,
|
1362
1362
|
"isConstant": false,
|
1363
1363
|
"isLValue": false,
|
1364
1364
|
"isPure": false,
|
@@ -1377,11 +1377,11 @@
|
|
1377
1377
|
"nodeType": "BinaryOperation",
|
1378
1378
|
"operator": "!=",
|
1379
1379
|
"rightExpression": {
|
1380
|
-
"id":
|
1380
|
+
"id": 41645,
|
1381
1381
|
"name": "caller",
|
1382
1382
|
"nodeType": "Identifier",
|
1383
1383
|
"overloadedDeclarations": [],
|
1384
|
-
"referencedDeclaration":
|
1384
|
+
"referencedDeclaration": 41636,
|
1385
1385
|
"src": "2126:6:89",
|
1386
1386
|
"typeDescriptions": {
|
1387
1387
|
"typeIdentifier": "t_address",
|
@@ -1394,11 +1394,11 @@
|
|
1394
1394
|
"typeString": "bool"
|
1395
1395
|
}
|
1396
1396
|
},
|
1397
|
-
"id":
|
1397
|
+
"id": 41657,
|
1398
1398
|
"nodeType": "IfStatement",
|
1399
1399
|
"src": "2070:148:89",
|
1400
1400
|
"trueBody": {
|
1401
|
-
"id":
|
1401
|
+
"id": 41656,
|
1402
1402
|
"nodeType": "Block",
|
1403
1403
|
"src": "2134:84:89",
|
1404
1404
|
"statements": [
|
@@ -1410,18 +1410,18 @@
|
|
1410
1410
|
"expression": {
|
1411
1411
|
"argumentTypes": [],
|
1412
1412
|
"expression": {
|
1413
|
-
"id":
|
1413
|
+
"id": 41650,
|
1414
1414
|
"name": "resourceId",
|
1415
1415
|
"nodeType": "Identifier",
|
1416
1416
|
"overloadedDeclarations": [],
|
1417
|
-
"referencedDeclaration":
|
1417
|
+
"referencedDeclaration": 41634,
|
1418
1418
|
"src": "2181:10:89",
|
1419
1419
|
"typeDescriptions": {
|
1420
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1420
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
1421
1421
|
"typeString": "ResourceId"
|
1422
1422
|
}
|
1423
1423
|
},
|
1424
|
-
"id":
|
1424
|
+
"id": 41651,
|
1425
1425
|
"isConstant": false,
|
1426
1426
|
"isLValue": false,
|
1427
1427
|
"isPure": false,
|
@@ -1429,14 +1429,14 @@
|
|
1429
1429
|
"memberLocation": "2192:8:89",
|
1430
1430
|
"memberName": "toString",
|
1431
1431
|
"nodeType": "MemberAccess",
|
1432
|
-
"referencedDeclaration":
|
1432
|
+
"referencedDeclaration": 42509,
|
1433
1433
|
"src": "2181:19:89",
|
1434
1434
|
"typeDescriptions": {
|
1435
|
-
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$
|
1435
|
+
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$29139_$returns$_t_string_memory_ptr_$attached_to$_t_userDefinedValueType$_ResourceId_$29139_$",
|
1436
1436
|
"typeString": "function (ResourceId) pure returns (string memory)"
|
1437
1437
|
}
|
1438
1438
|
},
|
1439
|
-
"id":
|
1439
|
+
"id": 41652,
|
1440
1440
|
"isConstant": false,
|
1441
1441
|
"isLValue": false,
|
1442
1442
|
"isPure": false,
|
@@ -1453,11 +1453,11 @@
|
|
1453
1453
|
}
|
1454
1454
|
},
|
1455
1455
|
{
|
1456
|
-
"id":
|
1456
|
+
"id": 41653,
|
1457
1457
|
"name": "caller",
|
1458
1458
|
"nodeType": "Identifier",
|
1459
1459
|
"overloadedDeclarations": [],
|
1460
|
-
"referencedDeclaration":
|
1460
|
+
"referencedDeclaration": 41636,
|
1461
1461
|
"src": "2204:6:89",
|
1462
1462
|
"typeDescriptions": {
|
1463
1463
|
"typeIdentifier": "t_address",
|
@@ -1477,18 +1477,18 @@
|
|
1477
1477
|
}
|
1478
1478
|
],
|
1479
1479
|
"expression": {
|
1480
|
-
"id":
|
1480
|
+
"id": 41647,
|
1481
1481
|
"name": "IWorldErrors",
|
1482
1482
|
"nodeType": "Identifier",
|
1483
1483
|
"overloadedDeclarations": [],
|
1484
|
-
"referencedDeclaration":
|
1484
|
+
"referencedDeclaration": 41841,
|
1485
1485
|
"src": "2149:12:89",
|
1486
1486
|
"typeDescriptions": {
|
1487
|
-
"typeIdentifier": "t_type$_t_contract$_IWorldErrors_$
|
1487
|
+
"typeIdentifier": "t_type$_t_contract$_IWorldErrors_$41841_$",
|
1488
1488
|
"typeString": "type(contract IWorldErrors)"
|
1489
1489
|
}
|
1490
1490
|
},
|
1491
|
-
"id":
|
1491
|
+
"id": 41649,
|
1492
1492
|
"isConstant": false,
|
1493
1493
|
"isLValue": false,
|
1494
1494
|
"isPure": false,
|
@@ -1496,14 +1496,14 @@
|
|
1496
1496
|
"memberLocation": "2162:18:89",
|
1497
1497
|
"memberName": "World_AccessDenied",
|
1498
1498
|
"nodeType": "MemberAccess",
|
1499
|
-
"referencedDeclaration":
|
1499
|
+
"referencedDeclaration": 41778,
|
1500
1500
|
"src": "2149:31:89",
|
1501
1501
|
"typeDescriptions": {
|
1502
1502
|
"typeIdentifier": "t_function_error_pure$_t_string_memory_ptr_$_t_address_$returns$__$",
|
1503
1503
|
"typeString": "function (string memory,address) pure"
|
1504
1504
|
}
|
1505
1505
|
},
|
1506
|
-
"id":
|
1506
|
+
"id": 41654,
|
1507
1507
|
"isConstant": false,
|
1508
1508
|
"isLValue": false,
|
1509
1509
|
"isPure": false,
|
@@ -1519,7 +1519,7 @@
|
|
1519
1519
|
"typeString": "tuple()"
|
1520
1520
|
}
|
1521
1521
|
},
|
1522
|
-
"id":
|
1522
|
+
"id": 41655,
|
1523
1523
|
"nodeType": "RevertStatement",
|
1524
1524
|
"src": "2142:69:89"
|
1525
1525
|
}
|
@@ -1529,7 +1529,7 @@
|
|
1529
1529
|
]
|
1530
1530
|
},
|
1531
1531
|
"documentation": {
|
1532
|
-
"id":
|
1532
|
+
"id": 41631,
|
1533
1533
|
"nodeType": "StructuredDocumentation",
|
1534
1534
|
"src": "1680:306:89",
|
1535
1535
|
"text": " @notice Check for ownership of the namespace of the given resource ID.\n @dev Reverts with IWorldErrors.World_AccessDenied if caller is not owner of the namespace of the resource.\n @param resourceId The resource ID to check ownership for.\n @param caller The address of the caller."
|
@@ -1540,41 +1540,41 @@
|
|
1540
1540
|
"name": "requireOwner",
|
1541
1541
|
"nameLocation": "1998:12:89",
|
1542
1542
|
"parameters": {
|
1543
|
-
"id":
|
1543
|
+
"id": 41637,
|
1544
1544
|
"nodeType": "ParameterList",
|
1545
1545
|
"parameters": [
|
1546
1546
|
{
|
1547
1547
|
"constant": false,
|
1548
|
-
"id":
|
1548
|
+
"id": 41634,
|
1549
1549
|
"mutability": "mutable",
|
1550
1550
|
"name": "resourceId",
|
1551
1551
|
"nameLocation": "2022:10:89",
|
1552
1552
|
"nodeType": "VariableDeclaration",
|
1553
|
-
"scope":
|
1553
|
+
"scope": 41659,
|
1554
1554
|
"src": "2011:21:89",
|
1555
1555
|
"stateVariable": false,
|
1556
1556
|
"storageLocation": "default",
|
1557
1557
|
"typeDescriptions": {
|
1558
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1558
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
1559
1559
|
"typeString": "ResourceId"
|
1560
1560
|
},
|
1561
1561
|
"typeName": {
|
1562
|
-
"id":
|
1562
|
+
"id": 41633,
|
1563
1563
|
"nodeType": "UserDefinedTypeName",
|
1564
1564
|
"pathNode": {
|
1565
|
-
"id":
|
1565
|
+
"id": 41632,
|
1566
1566
|
"name": "ResourceId",
|
1567
1567
|
"nameLocations": [
|
1568
1568
|
"2011:10:89"
|
1569
1569
|
],
|
1570
1570
|
"nodeType": "IdentifierPath",
|
1571
|
-
"referencedDeclaration":
|
1571
|
+
"referencedDeclaration": 29139,
|
1572
1572
|
"src": "2011:10:89"
|
1573
1573
|
},
|
1574
|
-
"referencedDeclaration":
|
1574
|
+
"referencedDeclaration": 29139,
|
1575
1575
|
"src": "2011:10:89",
|
1576
1576
|
"typeDescriptions": {
|
1577
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1577
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
1578
1578
|
"typeString": "ResourceId"
|
1579
1579
|
}
|
1580
1580
|
},
|
@@ -1582,12 +1582,12 @@
|
|
1582
1582
|
},
|
1583
1583
|
{
|
1584
1584
|
"constant": false,
|
1585
|
-
"id":
|
1585
|
+
"id": 41636,
|
1586
1586
|
"mutability": "mutable",
|
1587
1587
|
"name": "caller",
|
1588
1588
|
"nameLocation": "2042:6:89",
|
1589
1589
|
"nodeType": "VariableDeclaration",
|
1590
|
-
"scope":
|
1590
|
+
"scope": 41659,
|
1591
1591
|
"src": "2034:14:89",
|
1592
1592
|
"stateVariable": false,
|
1593
1593
|
"storageLocation": "default",
|
@@ -1596,7 +1596,7 @@
|
|
1596
1596
|
"typeString": "address"
|
1597
1597
|
},
|
1598
1598
|
"typeName": {
|
1599
|
-
"id":
|
1599
|
+
"id": 41635,
|
1600
1600
|
"name": "address",
|
1601
1601
|
"nodeType": "ElementaryTypeName",
|
1602
1602
|
"src": "2034:7:89",
|
@@ -1612,12 +1612,12 @@
|
|
1612
1612
|
"src": "2010:39:89"
|
1613
1613
|
},
|
1614
1614
|
"returnParameters": {
|
1615
|
-
"id":
|
1615
|
+
"id": 41638,
|
1616
1616
|
"nodeType": "ParameterList",
|
1617
1617
|
"parameters": [],
|
1618
1618
|
"src": "2064:0:89"
|
1619
1619
|
},
|
1620
|
-
"scope":
|
1620
|
+
"scope": 41660,
|
1621
1621
|
"stateMutability": "view",
|
1622
1622
|
"virtual": false,
|
1623
1623
|
"visibility": "internal"
|
@@ -1629,18 +1629,18 @@
|
|
1629
1629
|
"contractDependencies": [],
|
1630
1630
|
"contractKind": "library",
|
1631
1631
|
"documentation": {
|
1632
|
-
"id":
|
1632
|
+
"id": 41574,
|
1633
1633
|
"nodeType": "StructuredDocumentation",
|
1634
1634
|
"src": "329:132:89",
|
1635
1635
|
"text": " @title AccessControl\n @dev Provides access control functions for checking permissions and ownership within a namespace."
|
1636
1636
|
},
|
1637
1637
|
"fullyImplemented": true,
|
1638
1638
|
"linearizedBaseContracts": [
|
1639
|
-
|
1639
|
+
41660
|
1640
1640
|
],
|
1641
1641
|
"name": "AccessControl",
|
1642
1642
|
"nameLocation": "470:13:89",
|
1643
|
-
"scope":
|
1643
|
+
"scope": 41661,
|
1644
1644
|
"usedErrors": [],
|
1645
1645
|
"usedEvents": []
|
1646
1646
|
}
|